Projects

PeerNest

The all-in-one workspace for online tutors — booking pages, live classes, a shared whiteboard, and AI study tools in one platform.

Next.js · TypeScript · Tailwind CSS · Cloudflare · PostgreSQL · LiveKit · OpenAI · ElevenLabs

Problem

Online tutors run their entire business by stitching together Calendly, Zoom, Google Classroom, a whiteboard, and scattered notes — then lose hours every week to scheduling, recapping lessons, and chasing what each student actually needs to work on.

Solution

PeerNest collapses that stack into one education-first workspace: availability rules and booking pages synced to Google Calendar, LiveKit video classrooms with a live-synced Excalidraw whiteboard, and a recording → transcription → AI pipeline that turns every lesson into summaries, quizzes, and study notes on its own.

Results

Live at peernest.ai — one workspace replacing roughly 8 tools, with 98% of sessions auto-recapped and time tracked automatically for invoicing.

Key Features

  • Scheduling: availability rules, event types, student booking pages, and bidirectional Google Calendar sync
  • LiveKit video classrooms — scheduled sessions plus instant "knock to join" meetings with an approval flow
  • Live-synced Excalidraw whiteboard: the teacher draws, students follow in real time
  • Lesson pipeline: recording → speaker-diarized transcription → AI summary, concepts, and chapters
  • AI quiz generation and rubric-based auto-grading, with Mermaid diagrams and KaTeX math
  • Classroom feed, assignments and submissions, attendance timelines, and a time-tracking earnings dashboard
  • Multi-tutor organizations with stackable roles and seat-based Stripe billing

Architecture Notes

  • Hono API on Cloudflare Workers, pinned to the database region — deterministic cold-start latency instead of 18–31s cross-region DB chains
  • Cloudflare Workflows orchestrate the lesson, quiz, and grading pipelines with per-step retries
  • Durable Objects (SQLite + Hibernation) fan out SSE updates and relay the whiteboard socket
  • Recordings bypass the Worker entirely — LiveKit egress writes straight to R2, playback via presigned URLs
  • All LLM traffic routed through Cloudflare AI Gateway; every boundary — env, requests, responses, SSE events — is Zod-parsed

Tech Stack