Welcome to deep-chat, a modern and responsive AI chatbot interface built using HTML, CSS, and JavaScript, powered by the DeepSeek API via OpenRouter. This lightweight and clean interface replicates a ChatGPT-style experience with full support for markdown, code rendering, session history, dark/light theme, and more.
- π Dark / Light Theme Toggle
- π Persistent Chat History (Stored in Local Storage)
- β¨οΈ Markdown & Code Block Support
- π New Chat Session with Reset
- π Searchable Sidebar for Previous Chats
- ποΈ Delete Old Chat Sessions
- π± Fully Responsive for Mobile and Desktop
- π Environment-safe API Key Handling
- Frontend: HTML, CSS (custom + responsive), Vanilla JavaScript
- API Integration: DeepSeek via OpenRouter
- Markdown Parser: Custom JavaScript renderer with support for:
- Code Blocks
- Bold/Italic/Strikethrough
- Lists & Headings
- Blockquotes & Hyperlinks
-
Clone this repository
git clone https://github.com/CodeWithVedang/deep-chat.git cd deep-chat -
Set up your OpenRouter API key
Create a
.envfile (if using a backend or Vercel) and add:CHAT_API_KEY=your_openrouter_api_key_here
-
Run with Live Server or deploy to Vercel
For development:
npm install -g live-server live-server
deep-chat/
βββ index.html # Main HTML structure
βββ style.css # All custom and responsive styles
βββ script.js # Client-side logic, chat rendering, and theme
βββ api/chat.js # Backend API call to DeepSeek via OpenRouter
βββ assets/ # (Add your screenshots here)
The chat interface uses the DeepSeek model from OpenRouter:
- Model:
deepseek/deepseek-r1-0528:free - All responses are structured in Markdown and English.
Ensure your API key is kept private and secure (not exposed in the frontend).
Vedang Shelatkar π GitHub Profile π§ Passionate about building intelligent UIs & automation.
This project is open-source and available under the MIT License.
β¨ Feel free to fork, contribute, or drop a β if you like this project!


