> ## Documentation Index
> Fetch the complete documentation index at: https://trigger-docs-improvements.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Frameworks, guides and examples

> A growing list of guides and examples to get the most out of Trigger.dev.

## Frameworks

<CardGroup cols={3}>
  <Card title="Bun" img="https://mintcdn.com/trigger-docs-improvements/1Ao8bFkLBggDwrTr/images/logo-bun.png?fit=max&auto=format&n=1Ao8bFkLBggDwrTr&q=85&s=08a473489a4cfaf07f1849da77dce32b" href="/guides/frameworks/bun" width="483" height="282" data-path="images/logo-bun.png" />

  <Card title="Next.js" img="https://mintcdn.com/trigger-docs-improvements/1Ao8bFkLBggDwrTr/images/logo-nextjs.png?fit=max&auto=format&n=1Ao8bFkLBggDwrTr&q=85&s=5e24ec5f8d4688984b4a0b88335d3396" href="/guides/frameworks/nextjs" width="483" height="282" data-path="images/logo-nextjs.png" />

  <Card title="Node.js" img="https://mintcdn.com/trigger-docs-improvements/1Ao8bFkLBggDwrTr/images/logo-nodejs.png?fit=max&auto=format&n=1Ao8bFkLBggDwrTr&q=85&s=0602b9e9c2ef2356435c5110c03694b1" href="/guides/frameworks/nodejs" width="483" height="282" data-path="images/logo-nodejs.png" />

  <Card title="Remix" img="https://mintcdn.com/trigger-docs-improvements/1Ao8bFkLBggDwrTr/images/logo-remix.png?fit=max&auto=format&n=1Ao8bFkLBggDwrTr&q=85&s=651db06d6fbedbb480728380f845e057" href="/guides/frameworks/remix" width="483" height="282" data-path="images/logo-remix.png" />

  <Card title="SvelteKit" img="https://mintcdn.com/trigger-docs-improvements/NtO6rQQpJ6I3XDfi/images/logo-svelte.png?fit=max&auto=format&n=NtO6rQQpJ6I3XDfi&q=85&s=0602193c4415b41fe557c62d0c3b763b" href="/guides/community/sveltekit" width="480" height="282" data-path="images/logo-svelte.png" />
</CardGroup>

## Guides

Get set up fast using our detailed walk-through guides.

| Guide                                                                                      | Description                                             |
| :----------------------------------------------------------------------------------------- | :------------------------------------------------------ |
| [AI Agent: Generate and translate copy](/guides/ai-agents/generate-translate-copy)         | Chain prompts to generate and translate content         |
| [AI Agent: Route questions](/guides/ai-agents/route-question)                              | Route questions to different models based on complexity |
| [AI Agent: Content moderation](/guides/ai-agents/respond-and-check-content)                | Parallel check content while responding to customers    |
| [AI Agent: News verification](/guides/ai-agents/verify-news-article)                       | Orchestrate fact checking of news articles              |
| [AI Agent: Translation refinement](/guides/ai-agents/translate-and-refine)                 | Evaluate and refine translations with feedback          |
| [Prisma](/guides/frameworks/prisma)                                                        | How to setup Prisma with Trigger.dev                    |
| [Sequin database triggers](/guides/frameworks/sequin)                                      | Trigger tasks from database changes using Sequin        |
| [Supabase edge function hello world](/guides/frameworks/supabase-edge-functions-basic)     | Trigger tasks from Supabase edge function               |
| [Supabase database webhooks](/guides/frameworks/supabase-edge-functions-database-webhooks) | Trigger tasks using Supabase database webhooks          |
| [Using webhooks in Next.js](/guides/frameworks/nextjs-webhooks)                            | Trigger tasks from a webhook in Next.js                 |
| [Using webhooks in Remix](/guides/frameworks/remix-webhooks)                               | Trigger tasks from a webhook in Remix                   |
| [Stripe webhooks](/guides/examples/stripe-webhook)                                         | Trigger tasks from incoming Stripe webhook events       |

## Example projects

Example projects are full projects with example repos you can fork and use. These are a great way of learning how to encorporate Trigger.dev into your project.

| Example project                                                                         | Description                                                                                                    | Framework | GitHub                                                                                                |
| :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------- | :-------- | :---------------------------------------------------------------------------------------------------- |
| [Batch LLM Evaluator](/guides/example-projects/batch-llm-evaluator)                     | Evaluate multiple LLM models and stream the results to the frontend.                                           | Next.js   | [View the repo](https://github.com/triggerdotdev/examples/tree/main/batch-llm-evaluator)              |
| [Claude thinking chatbot](/guides/example-projects/claude-thinking-chatbot)             | Use Vercel's AI SDK and Anthropic's Claude 3.7 model to create a thinking chatbot.                             | Next.js   | [View the repo](https://github.com/triggerdotdev/examples/tree/main/claude-thinking-chatbot)          |
| [Realtime Fal.ai image generation](/guides/example-projects/realtime-fal-ai)            | Generate an image from a prompt using Fal.ai and show the progress of the task on the frontend using Realtime. | Next.js   | [View the repo](https://github.com/triggerdotdev/examples/tree/main/realtime-fal-ai-image-generation) |
| [Realtime CSV Importer](/guides/example-projects/realtime-csv-importer)                 | Upload a CSV file and see the progress of the task streamed to the frontend.                                   | Next.js   | [View the repo](https://github.com/triggerdotdev/examples/tree/main/realtime-csv-importer)            |
| [Vercel AI SDK image generator](/guides/example-projects/vercel-ai-sdk-image-generator) | Use the Vercel AI SDK to generate images from a prompt.                                                        | Next.js   | [View the repo](https://github.com/triggerdotdev/examples/tree/main/vercel-ai-sdk-image-generator)    |

## Example tasks

Task code you can copy and paste to use in your project. They can all be extended and customized to fit your needs.

| Example task                                                                  | Description                                                                                                                                          |
| :---------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DALL·E 3 image generation](/guides/examples/dall-e3-generate-image)          | Use OpenAI's GPT-4o and DALL·E 3 to generate an image and text.                                                                                      |
| [Deepgram audio transcription](/guides/examples/deepgram-transcribe-audio)    | Transcribe audio using Deepgram's speech recognition API.                                                                                            |
| [Fal.ai image to cartoon](/guides/examples/fal-ai-image-to-cartoon)           | Convert an image to a cartoon using Fal.ai, and upload the result to Cloudflare R2.                                                                  |
| [Fal.ai with Realtime](/guides/examples/fal-ai-realtime)                      | Generate an image from a prompt using Fal.ai and show the progress of the task on the frontend using Realtime.                                       |
| [FFmpeg video processing](/guides/examples/ffmpeg-video-processing)           | Use FFmpeg to process a video in various ways and save it to Cloudflare R2.                                                                          |
| [Firecrawl URL crawl](/guides/examples/firecrawl-url-crawl)                   | Learn how to use Firecrawl to crawl a URL and return LLM-ready markdown.                                                                             |
| [LibreOffice PDF conversion](/guides/examples/libreoffice-pdf-conversion)     | Convert a document to PDF using LibreOffice.                                                                                                         |
| [OpenAI with retrying](/guides/examples/open-ai-with-retrying)                | Create a reusable OpenAI task with custom retry options.                                                                                             |
| [PDF to image](/guides/examples/pdf-to-image)                                 | Use `MuPDF` to turn a PDF into images and save them to Cloudflare R2.                                                                                |
| [React to PDF](/guides/examples/react-pdf)                                    | Use `react-pdf` to generate a PDF and save it to Cloudflare R2.                                                                                      |
| [Puppeteer](/guides/examples/puppeteer)                                       | Use Puppeteer to generate a PDF or scrape a webpage.                                                                                                 |
| [Resend email sequence](/guides/examples/resend-email-sequence)               | Send a sequence of emails over several days using Resend with Trigger.dev.                                                                           |
| [Scrape Hacker News](/guides/examples/scrape-hacker-news)                     | Scrape Hacker News using BrowserBase and Puppeteer, summarize the articles with ChatGPT and send an email of the summary every weekday using Resend. |
| [Sentry error tracking](/guides/examples/sentry-error-tracking)               | Automatically send errors to Sentry from your tasks.                                                                                                 |
| [Sharp image processing](/guides/examples/sharp-image-processing)             | Use Sharp to process an image and save it to Cloudflare R2.                                                                                          |
| [Supabase database operations](/guides/examples/supabase-database-operations) | Run basic CRUD operations on a table in a Supabase database using Trigger.dev.                                                                       |
| [Supabase Storage upload](/guides/examples/supabase-storage-upload)           | Download a video from a URL and upload it to Supabase Storage using S3.                                                                              |
| [Vercel AI SDK](/guides/examples/vercel-ai-sdk)                               | Use Vercel AI SDK to generate text using OpenAI.                                                                                                     |
| [Vercel sync environment variables](/guides/examples/vercel-sync-env-vars)    | Automatically sync environment variables from your Vercel projects to Trigger.dev.                                                                   |

<Note>
  If you would like to see a guide for your framework, or an example task for your use case, please
  request it in our [Discord server](https://trigger.dev/discord) and we'll add it to the list.
</Note>
