Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 1.17 KB

README.md

File metadata and controls

21 lines (11 loc) · 1.17 KB

Voice To X - Telegram bot + GPT

Voice To X Telegram bot + GPT

Telegram bot that can transcribe voice messages into text and generate tweets or threads from the provided text. Bot link, but you need to request access using the bot's commands or host it yourself.

How to set up

Bot uses grammY Telegram bot framework.

For environment configuration, see .env.example file. You also need Deno installed.

To run bot with deno task dev.

The bot is currently hosted on the Fly and uses Supabase as a database for storing the ids of approved users. But this check and database can be easily removed. Just delete accessMiddleware and all its usage.

The database connection is done using Prisma. On Deno connection should be done through the Prisma Data Platform. Better check official Deno example on how to use Prisma

To deploy use deno task deploy.