g4f telegram bot
1.0.0
This Telegram bot provides free access to ChatGPT-4 and ChatGPT-3. Users can select their preferred language, clear chat history, and all user data is stored in dialogues.db.
dialogues.dbClone the repository:
git clone https://github.com/zachey01/g4f-telegram-bot.git
cd g4f-telegram-botInstall dependencies:
npm installConfigure environment variables:
Create a .env file in the root directory and add your Telegram bot token:
TELEGRAM_TOKEN=your-telegram-bot-tokenRun the bot:
node src/bot.jsClone the repository:
git clone https://github.com/zachey01/g4f-telegram-bot.git
cd g4f-telegram-botInstall dependencies:
bun installConfigure environment variables:
Create a .env file in the root directory and add your Telegram bot token:
TELEGRAM_TOKEN=your-telegram-bot-tokenRun the bot:
bun run src/bot.jsAll user data, including chat history, is stored in dialogues.db.
Feel free to open issues or submit pull requests if you have any improvements or bug fixes.
This project is licensed under the MIT License.