Darwin is an AI-powered Discord bot for self-improvement accountability. It is used in my friend group's Discord server in a channel dedicated towards encouraging each other to be 1% better everyday. Darwin sends weekly reminders for us to send progress updates to each other, helps us set goals and celebrate small wins, and replies to people with helpful advice in a warm, friendly tone!
- Replies
- Thread management
- Reply indicators
- Safety measures to prevent parasocial behavior
- Create shared packages
Why Next.js route handlers?
its easy
Why @discordjs/rest over the normal discord.js package?
it kept throwing an error related to one of its dependencies called zlib-sync. apparently webpack (and i guess turbopack) tries to load discord.js as client-side code but i dunno
as long as i have a type-safe way to interact with the discord api, then idc lol
Why use Upstash instead of Vercel's cron jobs?
during testing, i learned that vercel only allows 1 cron invocation a day in the free plan. that's totally fine, but during dev i wanted to test if my code was actually reliable, so i switched to upstash and their very, very generous free tier
i am now too lazy to change it back
Why use a Llama model?
free