About Luna Chatbot Backend
Luna Chatbot Backend is an MCP server in the RAG category: aI-powered research tool leveraging Gemini’s latest features, including Google Search, URL context, image and YouTube search engines, code execution, and chart generation.
Install
git clone https://github.com/Satharva2004/luna-chatbot-backendThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Luna Chatbot Backend
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
LunaAI Backend
Express backend powering chat, auth, conversation history, uploads, and AI integrations.
Stack
- Node.js
- Express
- Supabase
- Gemini / OpenAI style integrations
- Multer for uploads
Features
- Streaming chat responses
- Conversation storage and history
- Auth and JWT handling
- File upload processing
- Chart and media response support
- AI-generated conversation titles
Run Locally
npm install
npm run dev
Server runs on http://localhost:5000
Environment
Create a .env file in assignment-backend/ with values for:
PORT=5000
NODE_ENV=development
GEMINI_API_KEY=your_key
OPENAI_API_KEY=your_key
SUPABASE_URL=your_supabase_url
SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_KEY=your_supabase_service_key
JWT_SECRET=your_jwt_secret
JWT_EXPIRES_IN=10d
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
GOOGLE_API_KEY=your_google_api_key
GOOGLE_CSE_ID=your_google_cse_id
YOUTUBE_API_KEY=your_youtube_api_key
SERPAPI_KEY=your_serpapi_key
FEATHERLESS_API_KEY=your_featherless_key
FEATHERLESS_BASE_URL=https://api.featherless.ai/v1
FEATHERLESS_MODEL_NAME=Qwen/Qwen2.5-7B-Instruct
Scripts
npm run dev
npm start
Structure
src/controllers request handlers
src/routes API routes
src/services AI and business logic
src/config env and config
src/server.js app entry
Notes
This backend is designed to work with the LunaAI frontend in the sibling frontend/ folder.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.