Skip to content

blaxkmiradev/worm-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐛 WormBot v2.0

A sharp, direct AI chatbot powered by Google Gemini Models
Built with Node.js · Express · Vanilla JS

Node.js Gemini License Made by


📸 Screenshots

📱 Mobile UI


Chat View

Sidebar Drawer

Code Block

🖥️ Desktop UI


✨ Features

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

🚀 Quick Start

1. Clone the repo

git clone https://github.com/blaxkmiradev/worm-bot.git
cd worm-bot

2. Install dependencies

npm install

3. Set up environment

cp .env.example .env

Edit .env and add your Gemini API key:

GEMINI_API_KEY=your_gemini_api_key_here
PORT=3000

Get a free API key at aistudio.google.com

4. Run the bot

node server.js

Open http://localhost:3000 in your browser.


📁 Project Structure

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

🛠️ API Endpoints

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

🧠 Customizing the Persona

Edit src/config/prompt.js to change how WormBot talks:

module.exports = {
  role: "user",
  content: `You are WormBot — ...your custom personality here...`
};

👨‍💻 Developer

RIkixz
17 y/o self-taught developer
Passionate about coding, software cracking & web security testing

GitHub


Made with ❤️ by RIkixz

About

A sharp, direct AI chatbot powered by Google Gemini

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors