How rafaelsisoares/o_assist works
O-Assist is a Portuguese personal-assistant web app: users register or log in, then send chat messages and receive time, weather, or AI-generated replies. The Django front end stores chat messages and retrieves them through an authenticated REST API; the API also exposes people and tasks. Internal layers include forms, API serializers, and persistent models. The README is empty, so capabilities are based on the sampled source and indexed modules; task-helper behavior is not fully shown.
Main entry points: front/views.py Web views · api/views.py API viewsets · models.py People and messages · serializers.py API serializers
Components 20
Web experience
- Web views
front/views.py - Web routes
front/urls.py - Chat and account pages
front/templates - User and message forms
front/forms.py - JWT token endpoints
o_assist/urls.py - Django configuration
o_assist/settings.py
Assistant responses
- Reply selection
front/views.py - Current time
front/utils/current_time.py - Weather lookup
front/utils/weather.py - AI text generation
AI/views.py - Markdown formatting
front/utils/messages.py
REST API
- API routes
api/urls.py - API viewsets
api/views.py - API serializers
api/serializers.py
Domain data
- People and messages
api/models.py - Task records
api/models.py - Task helper
front/utils/tasks.py
Other components
- User
- OpenWeatherMap
- Google Gemini
Connections 22
- User → Web views: uses
front/views.py - Web routes → Web views: routes to
front/urls.py - Web views → Chat and account pages: renders
front/views.py - Web views → User and message forms: validates with
front/views.py - Web views → JWT token endpoints: requests tokens
front/views.py - Web views → API routes: requests messages
front/views.py - API routes → API viewsets: routes to
api/urls.py - API viewsets → API serializers: serializes with
api/views.py - API viewsets → People and messages: queries
api/views.py - API viewsets → Task records: queries
api/views.py - API serializers → People and messages: serializes
api/serializers.py - API serializers → Task records: serializes
api/serializers.py - Web views → People and messages: creates records
front/views.py - Web views → Reply selection: selects reply
front/views.py - Reply selection → Current time: calls
front/views.py - Reply selection → Weather lookup: calls
front/views.py - Reply selection → AI text generation: calls
front/views.py - Web views → Markdown formatting: formats reply
front/views.py - Weather lookup → OpenWeatherMap: queries forecast
front/utils/weather.py - AI text generation → Google Gemini: generates text
AI/views.py - Task helper → Task records: imports model
front/utils/tasks.py - Django configuration → People and messages: configures database
o_assist/settings.py