TLDRBot is a Discord bot that generates a summary of any conversation. Use the /tldr command to generate a summary of the conversation.
The discord bot is self hostable. You can use it by following the steps below:
- Fork the repo
- Create a new application on the Discord Developer Portal
- Create a bot user and copy the token
- Create a
.env
file and add the token asBOT_TOKEN
- Copy the client ID and add it in
.env
asBOT_ID
- Create a new database on CockroachDB
- Paste in the connection string as
DATABASE_URL
- Run
npx prisma db push && npx prisma generate
- Create a new API key on OpenAI
- Paste the key as
OPENAI_API_KEY
You are now ready to run the bot. You can use pnpm run dev
to run the bot in development mode or host it!
pnpm install
pnpm run start
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2023 Avneesh Agarwal.
This project is GPL--3.0 licensed.