Social Media Post Generator Bot 🤖(Link)
This project is a Telegram bot that generates engaging social media posts based on the events you feed it throughout the day. It uses OpenAI's model to generate the posts.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- npm
- A Telegram account
- An OpenAI account
- Clone the repository:
git clone https://github.com/amitamrutiya2210/sociobot.git
- Install the dependencies:
npm install
- Create a
.env
file in the root directory of the project and add the following environment variables:
BOT_TOKEN=your_telegram_bot_token
MONGO_CONNECT_STRING=your_mongodb_connection_string
OPENAI_KEY=your_openai_api_key
OPENAI_MODEL=your_openai_model_id
- Start the bot:
npm start
Start the bot by sending the /start command. Then, send your events to the bot as text messages. When you're ready to generate the posts, send the /generate command.