How kshitijchauhann/plipe works
Plipe is a transcript-ingestion application: signed-in users submit supported files, which become jobs, are processed by a worker, and reach a review-ready state. The sampled source establishes upload validation, file storage, job persistence, worker dispatch, and extraction invocation. The README is only the generic Next.js starter; feature-specific docs are listed in the tree but their contents and several UI/extraction implementations were not sampled, so those relationships are omitted.
Main entry points: route.ts Jobs endpoint · worker.ts Job worker · queries.ts Job queries · auth.ts Auth service
Components 17
User interface
- Upload form
src/components/ingest/upload-form.tsx - Job list
src/components/ingest/job-list.tsx
Authentication
- Auth endpoint
src/app/api/auth/[...all]/route.ts - Auth service
src/lib/auth.ts - Session lookup
src/lib/session.ts
Ingestion pipeline
- Jobs endpoint
src/app/api/jobs/route.ts - Job detail endpoint
src/app/api/jobs/[id]/route.ts - Process endpoint
src/app/api/jobs/process/route.ts - Upload storage
src/lib/ingest/storage.ts - Job worker
src/lib/ingest/worker.ts - Transcript extraction
src/lib/ingest/extract.ts
Persistence
- Job queries
src/lib/ingest/queries.ts - Job records
src/db/schema/jobs.ts - Auth records
src/db/schema/auth.ts
Other components
- Signed-in user
- Local file storage
- PostgreSQL
Connections 21
- Signed-in user → Upload form: submits file
- Signed-in user → Job list: views jobs
- Auth endpoint → Auth service: delegates
- Auth service → Auth records: reads/writes
- Auth service → PostgreSQL: persists via
- Jobs endpoint → Session lookup: checks session
- Jobs endpoint → Upload storage: stores upload
- Upload storage → Local file storage: writes file
- Jobs endpoint → Job records: inserts job
- Jobs endpoint → PostgreSQL: persists via
- Jobs endpoint → Job worker: dispatches
- Jobs endpoint → Job queries: lists jobs
- Job detail endpoint → Session lookup: checks session
- Job detail endpoint → Job queries: fetches job
- Process endpoint → Session lookup: checks session
- Process endpoint → Job worker: dispatches
- Job worker → Job records: claims/updates
- Job worker → PostgreSQL: transacts via
- Job worker → Transcript extraction: runs extraction
- Job queries → Job records: reads jobs
- Job queries → PostgreSQL: queries via