https://github.com/winstxnhdw/telegroq
A serverless invite-only AI-powered chat bot on Telegram.
https://github.com/winstxnhdw/telegroq
cloudflare-workers grammy groq hono
Last synced: about 2 months ago
JSON representation
A serverless invite-only AI-powered chat bot on Telegram.
- Host: GitHub
- URL: https://github.com/winstxnhdw/telegroq
- Owner: winstxnhdw
- Created: 2024-04-24T10:49:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-30T00:05:55.000Z (6 months ago)
- Last Synced: 2024-10-30T01:52:04.406Z (6 months ago)
- Topics: cloudflare-workers, grammy, groq, hono
- Language: TypeScript
- Homepage:
- Size: 498 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# telegroq
[](https://github.com/winstxnhdw/telegroq/actions/workflows/main.yml)
[](https://github.com/winstxnhdw/telegroq/actions/workflows/deploy.yml)
[](https://github.com/winstxnhdw/telegroq/actions/workflows/formatter.yml)`telegroq` is a serverless invite-only AI-powered chat bot on Telegram, made purely for fun.
## Features
- Question answering with `llama-3.3-70b-versatile`
- Random and anonymous question answering with fellow invitees
- Anonymous question answering with [LTYGUY](https://github.com/LTYGUY/)
- Secured endpoints for adding and removing members/admins## Technologies
- [Hono](https://hono.dev/)
- [Cloudflare Workers](https://workers.cloudflare.com/)
- [Cloudflare Workers KV](https://developers.cloudflare.com/kv/)
- [Cloudflare Workers AI](https://developers.cloudflare.com/workers-ai/)
- [OpenAPI Swagger](https://swagger.io/specification/)
- [grammY](https://grammy.dev/)
- [Groq](https://groq.com/)## Development
Setup environment variables.
```bash
{
echo "BOT_TOKEN=$BOT_TOKEN"
echo "GROQ_API_KEY=$GROQ_TOKEN"
echo "AUTH_TOKEN=$AUTH_TOKEN"
} >> .dev.vars
```Install all dependencies.
```bash
bun install
```Run the development server.
```bash
bun dev
```