← all projects

LeptonRead

@SodiqAdewole125·added 2026-07-19
0
stars
6.8k
lines
78
files
0
forks
0
followers
languages
Python 74%TypeScript 25%JavaScript 0%

LeptonRead is a marketplace for paywalled reading. A FastAPI backend serves free previews and gates full text behind HTTP 402 challenges in backend/routers/content.py, with parallel backend/services/mock_payment_service.py and real_payment_service.py implementations so the unlock flow behaves identically in both modes. Creators self-publish articles and chapters through backend/services/content_service.py, which assigns each piece a price and an x402 endpoint. A Next.js frontend in frontend/ covers browsing, purchase, and the reader library, and a Node sidecar in sidecar/pay-server.mts drives payments. The backend also includes an agent layer with research, budget, and report agents orchestrated through backend/agents/graph.py.

events
tags
team · solo

1 (Solo) — Adewole Sodiq Abiola

on xx/0xkarayel
last pushed 2026-07-02