English courses with per-level subscriptions and PDF material. I built everything but payments. a Python service compresses the PDFs on upload.
EasyPeasy is the platform behind ECPC English For You: English courses with per-level subscriptions and downloadable PDF material. It covers the whole cycle (accounts, recurring billing, course catalog and material delivery) in one product.
I built essentially all of it except the payments layer, which was handled by someone else on the team. The backend is Hono over Supabase and is the only piece that touches the database: the frontend never queries Supabase directly.
The frontend's one deliberate exception
There is exactly one thing the frontend does talk to Supabase about: authentication, because that is how Supabase Auth works. Everything else goes through the backend. Writing it down as a rule keeps the exception from becoming a habit and loose queries from leaking into the browser.
Compressing PDFs without making anyone wait
The material is heavy PDFs. When one is uploaded it is flagged as pending and the backend only DISPATCHES the job to a Python service: it does not wait for it. That function runs in its own invocation, compresses, and updates the database on its own. Waiting would leave the user's request hanging on every large upload.
The compressor looks at how the page renders, not just the file
The script uses pikepdf and Pillow to walk each page's content stream and work out the size every image is actually drawn at. It rescales to what the screen needs instead of recompressing blindly, which is what ruins a scanned handout.
Share links for a single lesson
A lesson can be shared through a token that grants access to its material with no account and no session, and the PDF is served with caching disabled so the link does not linger in the browser of whoever opened it.
course material, as PDFthe platform landingthe teachers page