A lightweight AI chatbot that runs completely offline on your laptop.
No internet. No API key. Powered by Ollama + Mistral model.
kishore/
├── server.js # Express backend — talks to Ollama
├── public/
│ ├── index.html # Chat UI
│ ├── script.js # Frontend logic + typewriter effect
│ └── style.css # Dark theme styling
└── package.json # Node.js dependencies
You type a question in the browser
↓
Express server receives it via POST /ask
↓
Server sends it to Ollama on localhost:11434
↓
Mistral model processes it locally
↓
Answer appears in browser with typewriter effect ✨
| Layer | Technology |
|---|---|
| Frontend | HTML, CSS, JavaScript |
| Backend | Node.js, Express.js |
| AI Engine | Ollama (local LLM runtime) |
| AI Model | Mistral (runs 100% offline) |
Download from https://ollama.com and install it.
ollama pull mistralollama servenpm installnode server.jshttp://localhost:3000
- 🔒 Fully offline — no data sent anywhere
- ⌨️ Typewriter animation on responses
- 🌑 Clean dark theme UI
- ⚡ No React or heavy frameworks — pure HTML/CSS/JS
- 🔄 Clear button to reset the chat
Kishore Kumar
Final Year B.E. CSE — PSNA College of Engineering & Technology, Dindigul