How bibi0019/quenti works
Quenti is an open-source Quizlet alternative: users create and organize study sets, then study them through flashcards and other practice modes. The product also supports collaborative editing, classes and assignments, organizations, profiles, image search, and subscriptions. The graph combines that documented product scope with relationships visible in the sampled files and source index. Many feature implementations were not sampled, so their internal connections are omitted rather than inferred.
Main entry points: flashcard-preview.tsx Flashcard preview · index.ts Typed API client · _app.tsx Next.js app · organizations Organization management
Components 20
Web application
- Next.js app
apps/next/src/pages/_app.tsx - Authentication
packages/auth/next-auth-options.ts - Typed API client
packages/trpc/index.ts - tRPC endpoint
apps/next/src/pages/api/trpc/[trpc].ts - Profiles and folders
apps/next/src/modules/profile
Study experience
- Set hydration
apps/next/src/modules/hydrate-set-data.tsx - Folder hydration
apps/next/src/modules/hydrate-folder-data.tsx - Flashcard preview
apps/next/src/modules/main/flashcard-preview.tsx - Flashcard study
apps/next/src/components/root-flashcard-wrapper.tsx - Learn practice
apps/next/src/modules/learn - Match practice
apps/next/src/modules/match - Set editor
apps/next/src/modules/editor
Classes and organizations
- Classes and assignments
apps/next/src/modules/classes - Organization management
apps/next/src/modules/organizations
Platform services
- Image search
packages/trpc/server/routers/images/search.handler.ts - Background jobs
packages/inngest/index.ts - Subscription webhook
apps/next/src/pages/api/stripe/webhook.ts
Persistence and analytics
- PostgreSQL data
packages/drizzle/schema.ts - Enterprise analytics
packages/enterprise/analytics/index.ts
Other components
- Learner or teacher
Connections 19
- Learner or teacher → Next.js app: uses
- Next.js app → Authentication: authenticates with
- Next.js app → Typed API client: uses API
- Typed API client → tRPC endpoint: requests
packages/trpc/index.ts - Flashcard preview → Set hydration: reads set
apps/next/src/modules/main/flashcard-preview.tsx - Flashcard preview → Flashcard study: renders
apps/next/src/modules/main/flashcard-preview.tsx - Flashcard preview → Typed API client: updates shuffle
apps/next/src/modules/main/flashcard-preview.tsx - Flashcard preview → Folder hydration: links to
- Learner or teacher → Set editor: creates sets
- Learner or teacher → Learn practice: practices
- Learner or teacher → Match practice: plays
- Learner or teacher → Classes and assignments: joins or teaches
- Learner or teacher → Organization management: manages
- Learner or teacher → Profiles and folders: organizes sets
- Typed API client → Image search: searches images
- Subscription webhook → Organization management: updates subscription
apps/next/src/pages/api/stripe/webhook.ts - Subscription webhook → PostgreSQL data: updates organization
- Background jobs → Organization management: handles org events
- Background jobs → Learner or teacher: sends invitations