How renothingg/remind works
ReMind is a React/TypeScript chat workspace backed by a Flask API. The main workflow is user chat input → frontend chat state and API transport → streaming chat endpoint → AI provider/tools → streamed response and session history. Other documented branches cover sign-in and settings, files/media, sharing, Minds/Canvas, GitHub, privacy, and Telegram. Source excerpts are selective; README-documented links are cited, and uncertain subsystem wiring is omitted rather than inferred.
Main entry points: features Feature routes · app_factory.py App assembly · api.ts API client · tool_execution.py Tool execution
Components 25
Web workspace
- React app
src/App.tsx - Chat state
src/hooks/useChat.ts - API client
src/services/api.ts - Auth context
src/context/AuthContext.tsx - Settings context
src/context/SettingsContext.tsx
Flask API
- Feature routes
routes/features - App assembly
app_factory.py - Chat history
services/chat_history.py - Secure uploads
services/files.py - Voice and translation
services/voice.py - Minds
routes/features/minds.py - GitHub integration
services/github_app.py
AI and tools
- AI adapters
ai_engine - Tool execution
services/tool_execution.py - Tool validation
services/tool_validation.py - Web research
services/research_tools.py
Identity and privacy
- Auth service
utils/auth.py - Privacy flows
utils/privacy.py
State and integrations
- Application database
- Redis
- Celery worker
celery_worker.py - Telegram bot
telegram_bot.py
Other components
- User
- AI provider
- Google Translate TTS
Connections 25
- User → React app: uses
- React app → Chat state: manages chat
src/App.tsx - Chat state → API client: sends requests
src/hooks/useChat.ts - API client → Feature routes: HTTP / SSE
- Feature routes → App assembly: registered by
app_factory.py - Feature routes → Chat history: uses services
routes/features/sessions.py - Feature routes → AI adapters: invokes AI
- AI adapters → AI provider: queries
- Tool execution → Tool validation: validates calls
- Tool execution → Web research: runs research
- Auth context → API client: uses API
src/context/AuthContext.tsx - Feature routes → Auth service: authenticates
routes/features/sessions.py - App assembly → Auth service: sets up auth
app_factory.py - Settings context → Auth context: reads auth state
src/context/SettingsContext.tsx - Feature routes → Secure uploads: handles uploads
- Feature routes → Voice and translation: serves media
- Feature routes → Minds: routes Minds
routes/features/sessions.py - Feature routes → GitHub integration: serves GitHub
- Feature routes → Privacy flows: serves privacy
- Chat history → Application database: persists history
- App assembly → Application database: configures storage
- App assembly → Redis: uses Redis
- Redis → Celery worker: queues tasks
- Telegram bot → Feature routes: synchronized channel
- Voice and translation → Google Translate TTS: synthesizes speech