Trash my website by Trigger.dev
Welcome to Trash my website! Try it for free here.
First, install dependencies and run the development server:
npm i
For this step, you'll need to create an account on Trigger.dev. You can log in with your GitHub account.
To link the jobs/ directory to Trigger.dev, clone and populate the .env file with your Trigger.dev keys, then run the Trigger.dev CLI:
cp .env.example .env.local
npm run dev
In a separate terminal run:
npx @trigger.dev/cli@latest dev
This may require installing or updating the CLI. When linked, you should see a message like this:
✅ Detected TriggerClient id: jobs-abcd
✅ Found API Key in .env.local file
✅ Created tunnel: abc123.ngrok.app
Open localhost:3000 in your browser to see the result.
cd ./puppeteer
Populate the env vars:
cp .dev.vars.example .dev.vars
npm i
npm run dev
To learn more about Trigger.dev, see our Getting Started guide!
- Trigger.dev Documentation - learn about the Trigger.dev platform and SDK.
- Trigger.dev Next.js quickstart - the fastest way to learn.
You can check out the Trigger.dev GitHub repository - your feedback and contributions are welcome!