How muskansyd/jemrox_ai_project works
Jemrox is a browser-based AI assistant with tech chat and AI website-building modes, backed by a FastAPI service. Users authenticate, then submit prompts; the chat endpoint retrieves recent conversation history, invokes the AI service, and stores the exchange. The frontend also manages chat and project views, uploads, and browser-local preferences. The excerpts do not show the frontend’s backend URL or the full project-persistence implementation, so those links are left unverified; no README was provided.
Main entry points: script.js App interface · auth.py FastAPI endpoints · ai_service.py Prompt and response generation · database.py Database access
Components 14
Browser app
- App interface
frontend/script.js - Auth forms
frontend/script.js - Chat management
frontend/script.js - Website builder
frontend/script.js - File uploads
frontend/script.js - Browser storage
API and auth
- FastAPI endpoints
backend/auth.py - Credential and token handling
backend/auth.py - Chat orchestration
backend/auth.py
AI generation
- Prompt and response generation
backend/ai_service.py
Persistence
- Database access
backend/database.py
Other components
- User
- Groq API
- PostgreSQL
Connections 15
- User → App interface: uses
frontend/script.js - App interface → Auth forms: opens
frontend/script.js - Auth forms → FastAPI endpoints: submits auth
- App interface → Chat management: selects mode
frontend/script.js - Chat management → FastAPI endpoints: sends prompt
- App interface → Website builder: shows builder
frontend/script.js - Website builder → Chat management: renders reply
frontend/script.js - App interface → File uploads: accepts files
frontend/script.js - App interface → Browser storage: stores settings
frontend/script.js - FastAPI endpoints → Credential and token handling: handles credentials
backend/auth.py - FastAPI endpoints → Chat orchestration: routes chat
backend/auth.py - Chat orchestration → Database access: reads and writes
backend/auth.py - Chat orchestration → Prompt and response generation: requests response
backend/auth.py - Prompt and response generation → Groq API: requests completion
backend/ai_service.py - Database access → PostgreSQL: connects
backend/database.py