Skip to content

Classnotes Buddy.

A site for uploading and sharing class notes.

Status
Live
Platform
Web

Classnotes Buddy is a site for uploading class notes and sharing them with a link, so if you miss a class you can just grab the notes from a classmate. I've built it twice, once in 2022 and again in 2024 as Notes Buddy, and both versions are still up.

The 2022 version

This one started as Web Dev Simplified's Google Drive clone tutorial. Following along got me a working file manager on Firebase, and then I kept going, rewriting chunks of it and bolting on everything a notes site for a class seemed to need.

The 2022 Classnotes Buddy landing page with the heading Simplify the way you share notes, a Get started button and a How to video button

Search ran on Algolia, so you could actually find a note once there were a lot of them. Sign-up had hCaptcha to keep bots out. Since anyone could upload, new uploads went into an approval queue, and an admin had to approve them before they showed up for everyone.

My favorite bit was the PWA. Install it on your phone and Classnotes Buddy shows up in the share sheet for images, audio and video, so you could snap a photo of your notes and share it straight into the app. I also started a Docusaurus docs site for it on Replit in August 2022, which, to be honest, never got much past the starter template.

It's still running at notes-buddy.vercel.app.

The 2024 rebuild

In 2024 I rebuilt it from scratch as Notes Buddy on the create-t3-turbo-supabase template, a Turborepo with a Next.js web app and an Expo mobile app in one workspace.

The Notes Buddy sign-in form in dark mode with Continue with Email and Continue with Google buttons

You sign in with email or Google through Supabase, upload files and sort them into folders, and folders can live inside other folders. Anyone signed in can browse, but only the person who uploaded something can rename or delete it. The Expo app never got finished, so it's web only.

How it works

The rebuild keeps profiles, folders and files in Postgres tables defined with Drizzle, and the app reads and writes them through tRPC. The upload part is the one I'm proudest of. Files go from the browser straight to Supabase Storage in 6MB chunks over its resumable upload endpoint, so if your Wi-Fi drops halfway through a big PDF, it picks up where it stopped instead of starting over.

The landing page at notes.techwithanirudh.com also promises offline access and tags. Those never made it into the code, so consider them aspirational.