A ChatGPT bot for Line, because not everyone lives on Discord
It bridges OpenAI’s chat, image, and voice APIs into Line Messaging for users who’d rather not open another app.

What it does
This is glue code between the Line Messaging API and OpenAI. Drop it into a Line channel and it becomes a ChatGPT terminal: text hits gpt-3.5-turbo, voice notes are transcribed by Whisper and answered in text, and a slash command triggers DALL·E 2 image generation. It can also summarize YouTube videos and a specific list of Taiwanese news articles. Users supply their own OpenAI token and can set custom system prompts per chat.
The interesting bit The bot ignores the usual Discord-or-Slack crowd and targets Taiwan’s dominant messenger. It even scrapes and summarizes local outlets like 聯合報 and ETtoday, which makes it feel less like a generic Western wrapper and more like a regional utility.
Key highlights
- Chat, voice-to-text, and image generation inside a single Line thread
- Per-user OpenAI API key registration and custom system prompts
- On-demand conversation wipe via
/清除 - Summarizes YouTube videos and a named roster of Taiwanese news sources
- Tuned for Replit’s free tier, which means it expects an external cron job to stay awake
Caveats
- Requires an external cron job to survive Replit’s free-tier sleep
- Documentation is entirely in Traditional Chinese, so English readers will need translation help
Verdict Grab this if you need a quick, Mandarin-friendly ChatGPT presence inside Line. Skip it if you are looking for deep framework abstractions or self-hosted infrastructure.
Frequently asked
- What is TheExplainthis/ChatGPT-Line-Bot?
- It bridges OpenAI’s chat, image, and voice APIs into Line Messaging for users who’d rather not open another app.
- Is ChatGPT-Line-Bot open source?
- Yes — TheExplainthis/ChatGPT-Line-Bot is open source, released under the MIT license.
- What language is ChatGPT-Line-Bot written in?
- TheExplainthis/ChatGPT-Line-Bot is primarily written in Python.
- How popular is ChatGPT-Line-Bot?
- TheExplainthis/ChatGPT-Line-Bot has 1.7k stars on GitHub.
- Where can I find ChatGPT-Line-Bot?
- TheExplainthis/ChatGPT-Line-Bot is on GitHub at https://github.com/TheExplainthis/ChatGPT-Line-Bot.