How behnamazimi/lobyas works
Lobyas is an invite-only learning app for field terminology and language vocabulary. The main learner flow imports or captures terms into collections, then uses ranked Read, Review, and Quiz practice; TRACE supplies the shared ranking and retention model. The product also offers optional AI stories, quizzes, and narration, plus Telegram and macOS widget study surfaces and a broad admin console. Relationships are based on README statements and the supplied source index; several route and subsystem implementations were not sampled, so uncertain links are omitted.
Main entry points: index.ts TRACE engine · repository.ts Study queue · import/page.tsx Import terms · capture/page.tsx Capture terms
Components 19
Learning workflow
- Import terms
app/(private)/app/import/page.tsx - Capture terms
app/(private)/app/capture/page.tsx - Collections
app/(private)/app/library/page.tsx - Read practice
components/read/read-page.tsx - Review practice
components/review/review-page.tsx - Quiz practice
components/quiz/quiz-page.tsx
TRACE and data
- TRACE engine
lib/trace/index.ts - Study queue
lib/trace-queue/repository.ts - Supabase data
lib/supabase/database.types.ts
AI and narration
- AI features
app/(private)/app/actions.ts - Narration API
app/api/narration/[termId]/route.ts - Speech generation
lib/ai/speech/audio.ts
Other surfaces
- Telegram study
lib/telegram/review-session-flow.ts - Desktop widget
widget/lobyas.widget/index.jsx
Administration
- Admin console
app/(private)/admin/page.tsx - AI administration
app/(private)/admin/ai/narration/actions.ts
Other components
- Learner
- Supabase Auth
- Telegram
Connections 20
- Learner → Import terms: imports terms
README.md - Learner → Capture terms: captures terms
README.md - Import terms → Collections: adds to
README.md - Capture terms → Collections: adds to
- Learner → Read practice: practices with
README.md - Learner → Review practice: practices with
README.md - Learner → Quiz practice: checks learning
README.md - Read practice → Study queue: requests ranked terms
README.md - Review practice → Study queue: requests ranked terms
README.md - Quiz practice → Study queue: requests ranked terms
README.md - Study queue → TRACE engine: ranks candidates
lib/trace-queue/repository.ts - TRACE engine → Supabase data: uses study state
- Learner → AI features: requests optional AI
README.md - Learner → Narration API: requests audio
app/api/narration/[termId]/route.ts - Narration API → Speech generation: loads or generates
app/api/narration/[termId]/route.ts - Telegram → Telegram study: delivers study flow
- Telegram study → TRACE engine: shares ranking
README.md - Desktop widget → TRACE engine: shares ranking
README.md - Admin console → AI administration: manages AI access
- Supabase Auth → Learner: authenticates