workshop/packages/spike
Corey Johnson fd939af0b7
Some checks are pending
CI / test (push) Waiting to run
This is much better
2025-11-12 11:49:10 -08:00
..
src This is much better 2025-11-12 11:49:10 -08:00
.gitignore spike, you are alive 2025-11-07 14:58:20 -08:00
package.json This is much better 2025-11-12 11:49:10 -08:00
README.md This is much better 2025-11-12 11:49:10 -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 bun run grok to start an ngrok tunnel to your local server for webhooks.
  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!