A sharp, direct AI chatbot powered by Google Gemini Models
Built with Node.js · Express · Vanilla JS
| Feature | Description |
|---|---|
| 🤖 Gemini 2.0 Flash | Powered by Google's latest fast AI model |
| 💬 Multi-turn Chat | Full conversation history with context memory |
| 📂 File Generation | Save AI-generated code directly to your device |
| ⎘ Code Copy | One-click copy for any code block |
| 🌐 60+ Languages | Syntax-aware blocks: Python, JS, Rust, Go, SQL, and more |
| 🗂️ Session History | Recent chats saved in sidebar — click to restore |
| 📱 Fully Responsive | Slide-in drawer on mobile, full sidebar on desktop |
| 🎨 Custom Theme | Red & black dark UI with JetBrains Mono font |
| 👤 About Page | Developer profile modal with GitHub link |
git clone https://github.com/blaxkmiradev/worm-bot.git
cd worm-botnpm installcp .env.example .envEdit .env and add your Gemini API key:
GEMINI_API_KEY=your_gemini_api_key_here
PORT=3000Get a free API key at aistudio.google.com
node server.jsOpen http://localhost:3000 in your browser.
worm-bot/
├── server.js # Entry point
├── .env # Your API key (never commit!)
├── .env.example # Template
├── package.json
├── src/
│ ├── app.js # Express app setup
│ ├── config/
│ │ └── prompt.js # WormBot custom persona
│ ├── routes/
│ │ ├── chat.js # POST /api/chat
│ │ └── files.js # File generation routes
│ └── services/
│ └── gemini.js # Gemini API wrapper
├── public/
│ ├── index.html # Chat UI
│ ├── style.css # Red/black theme
│ └── app.js # Frontend logic
└── screenshot/
├── ss1.png – ss3.png # Mobile screenshots
└── ss4.png # Desktop screenshot
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/chat |
Send a message, get a reply |
POST |
/api/generate-file |
Save generated file to disk |
GET |
/files/:filename |
Download a generated file |
Edit src/config/prompt.js to change how WormBot talks:
module.exports = {
role: "user",
content: `You are WormBot — ...your custom personality here...`
};RIkixz
17 y/o self-taught developer
Passionate about coding, software cracking & web security testing
Made with ❤️ by RIkixz



