workshop/packages/spike
2025-11-12 16:38:33 -08:00
..
src Much better 2025-11-12 16:38:33 -08:00
.gitignore spike, you are alive 2025-11-07 14:58:20 -08:00
package.json Much better 2025-11-12 16:38:33 -08:00
README.md Much better 2025-11-12 16:38:33 -08:00
tsconfig.json I went a little crazy 2025-07-11 13:05:50 -07:00

Spike

Installation

  1. Clone this repository, d'uh.
  2. You need to have bun installed.
  3. Install deps with bun install.
  4. Setup a dummy Discord bot and get your DISCORD*TOKEN and CLIENT_ID at https://discord.com/developers/applications *(Corey doesn't remember how to do this all this, so if pair with him if you run into problems. Then document it in here).
  5. cp .env.example .env and fill in the values for everything.
  6. Find a Discord channel id to use for testing and set it in .env as DISCORD_CLIENT_ID.
  7. Run bun run subdomain:dev to start the server.
  8. Visit localhost:3000/discord/auth to authorize the bot.
  9. Use ngrok or tailscale to create a tunnel to your local server.
  10. Setup a Gitea webhook to point to your ngrok url at https://git.nose.space/user/settings/hooks. remember the url ends with /gitea/webhook!