WormGPT CLI is a sleek command-line interface (CLI) for interacting with LLMs via OpenRouter API. It supports multiple models, automatic language detection, and customizable settings β all in a terminal-friendly format.
β‘ Lightweight. Powerful. Fully terminal-based. Made with β€οΈ by @hexsecteam
- π OpenRouter API integration
- π Auto language detection (via
langdetect) - π£οΈ Multi-language support: English, Indonesian, Spanish, Arabic, Thai, Portuguese
- π¬ Interactive chat session with typing effect
- π¨ Stylish CLI UI with colors and banners
- π§ Easy configuration of API key and model
- πΎ Config auto-saved in
wormgpt_config.json
- Python 3.6+
pipinstalled- OpenRouter API key (get one here)
Clone the repo:
git clone https://github.com/hexsecteam/worm-gpt
cd worm-gpt
python3 wormgpt.pyYou can set your OpenRouter API key via the main menu:
[3] Set API Key
Or manually edit the config file:
{
"api_key": "YOUR_API_KEY_HERE",
"base_url": "https://openrouter.ai/api/v1",
"model": "deepseek/deepseek-chat-v3-0324:free",
"language": "English"
}
python3 wormgpt.py
[ Main Menu ]
1. Language: English
2. Model: deepseek/deepseek-chat-v3-0324:free
3. Set API Key
4. Start Chat
5. Exit
From the menu, you can enter your own model ID (from OpenRouter).
Example:
01-ai/Yi-34B-Chat
meta-llama/llama-3-8b-instruct:nitro
GitHub: @hexsecteam
Telegram: t.me/hexsec_tools
Project URL: https://github.com/hexsecteam/worm-gpt