How karlo-i/notes_taking_app works
This is a personal note-taking and reflection app whose main workflow classifies a submitted note, sends it through an optional critic review, then embeds and integrates approved notes into a topic-linked memory bank. Users can also retrieve that knowledge to generate Q&A documents, narration scripts, and summaries; task management, search, analytics, and account access are additional product areas. The sampled code confirms key route and data-access relationships, while several capabilities are represented from the README or module index; those unsampled links are not inferred beyond documented flows.
Main entry points: schema.sql PostgreSQL · app_factory.py Flask App · review.py Critic Review · notes.py Notes
Components 20
Note Capture
- Notes
notes.py - Note Classification
classify.py - Critic Review
review.py - AI Critic
critic.py
Memory and Retrieval
- Note Integration
integration.py - Topic Extraction
topics.py - Embeddings
embeddings.py - Knowledge Retrieval
retrieval.py - Output Generation
generate.py
User Features
- Saved Outputs
outputs.py - To-Do Management
todos.py - Global Search
search.py - Analytics
analytics_bp.py - Dashboard UI
dashboard/src/App.tsx - Administration
admin.py
Access and Data
- OAuth Access
oauth.py - Email Access
email_auth.py - Flask App
app_factory.py - PostgreSQL
schema.sql
Other components
- User
Connections 36
- User → Notes: submits notes
README.md - Notes → Note Classification: classifies
notes.py - Notes → Critic Review: starts review
notes.py - Critic Review → AI Critic: requests critique
README.md - Critic Review → Note Integration: integrates approval
review.py - Critic Review → Embeddings: embeds approved notes
review.py - Critic Review → Topic Extraction: extracts topics
review.py - Notes → PostgreSQL: reads and writes
notes.py - Critic Review → PostgreSQL: reads and writes
review.py - Topic Extraction → PostgreSQL: reads and writes
topics.py - User → Saved Outputs: requests output
README.md - Saved Outputs → Output Generation: generates output
outputs.py - Output Generation → Knowledge Retrieval: retrieves context
generate.py - Knowledge Retrieval → Embeddings: embeds query
retrieval.py - Knowledge Retrieval → PostgreSQL: searches notes
retrieval.py - Saved Outputs → PostgreSQL: stores outputs
outputs.py - User → To-Do Management: manages tasks
README.md - To-Do Management → PostgreSQL: reads and writes
todos.py - User → Global Search: searches content
search.py - Global Search → PostgreSQL: searches records
search.py - Dashboard UI → Analytics: displays metrics
- Analytics → PostgreSQL: reads metrics
analytics_bp.py - User → OAuth Access: signs in
README.md - User → Email Access: registers or signs in
email_auth.py - OAuth Access → PostgreSQL: upserts identity
oauth.py - Email Access → PostgreSQL: reads and writes
email_auth.py - Flask App → OAuth Access: registers routes
app_factory.py - Flask App → Email Access: registers routes
app_factory.py - Flask App → Notes: registers routes
app_factory.py - Flask App → Critic Review: registers routes
app_factory.py - Flask App → Saved Outputs: registers routes
app_factory.py - Flask App → To-Do Management: registers routes
app_factory.py - Flask App → Global Search: registers routes
app_factory.py - Flask App → Analytics: registers routes
app_factory.py - Flask App → Administration: registers routes
app_factory.py - Administration → PostgreSQL: reads and writes
admin.py