ChatGPT-Line-Bot
Free1.4k
FreeFree tier
Inputs: textOutputs: text, image
About ChatGPT-Line-Bot
ChatGPT-Line-Bot is an open-source project that integrates ChatGPT into the Line messaging platform. It allows users to interact with ChatGPT directly in Line by sending text or voice messages. The bot also supports DALL·E 2 image generation via the /imagine command, voice input transcribed by OpenAI Whisper, and customizable system messages. It uses the gpt-3.5-turbo model and can be deployed on Replit with a cron-job to keep it active. The repository includes setup instructions for obtaining OpenAI and Line tokens, and supports commands to register custom API tokens, clear history, and set the assistant's role.
Key Features
Integrate ChatGPT into Line messaging
DALL·E 2 image generation via /imagine command
Voice input transcribed by OpenAI Whisper
Custom system message to set assistant role
Ability to register own OpenAI API token
Commands: /register, /system_message, /clear, /imagine
Deployable on Replit with cron-job for uptime
MIT licensed open-source project
Pros & Cons
Pros
- Open source and free to use (MIT license)
- Supports multiple commands for advanced interactions
- Voice input provides convenient hands-free experience
- Easy deployment using Replit and cron-job.org
- DALL·E 2 integration enables image generation
- Active community with 1.7k stars on GitHub
Cons
- Requires own OpenAI API key (may incur costs)
- Technical setup needed for deployment
- Bot may go offline after inactivity without cron-job
- Limited to Line platform only
Best For
Chat with ChatGPT directly in LineGenerate AI images on demand within LineEnable voice-to-text conversations with ChatGPTCreate a custom Line chatbot for personal or team use
FAQ
How do I deploy ChatGPT-Line-Bot?
Deployment involves forking the GitHub repo, setting up a Replit account, importing the project, configuring environment variables (OpenAI API token, Line Channel Secret and Access Token, model engine, system message), then running the project. After getting the Replit URL, set it as the webhook URL in Line Developer console and use cron-job.org to keep the bot alive.
What commands are available?
Commands include: /register + token to set your own OpenAI API key, /system_message + message to set the assistant's role, /clear to clear history, /imagine + text to generate an image via DALL·E 2. Plain text triggers conversation with ChatGPT.
Does it support voice input?
Yes, voice input is supported. The system automatically transcribes voice to text using OpenAI Whisper, and ChatGPT responds with text.