Hey everyone!
I'm Max, a high school student from Poland. Iโve been coding for a while now, but this is the first time Iโm diving deep into a full-stack project that mixes frontend, backend, and AI magic โ and I'm hyped to share my journey with yโall. This post is the first in a series documenting how Iโm building DocuScopeAI from scratch.
๐ What is DocuScopeAI?
DocuScopeAI is a web app that helps users (especially SMBs and freelancers) understand complex documents like NDAs, contracts, invoices, and terms & conditions โ without needing a lawyer.
The app can:
- ๐ง Extract raw text from PDFs and images (using OCR)
- โ๏ธ Summarize documents with Hugging Face models
- โ Answer questions about the content
- ๐ All through a simple, modern web interface
๐ฏ Why I'm Building This
My main goals:
- Learn how to build modern full-stack apps
- Get good at FastAPI & Hugging Face pipelines
- Dive into frontend dev (React, Tailwind, Next.js)
- Play with open-source LLMs
- Create something Iโd actually use IRL
โ๏ธ What Iโve Done So Far
โ
OCR-powered document ingestion (images + PDFs)
โ
Summarization using facebook/bart-large-cnn
โ
Raw text summarization endpoint
โ
Question answering using OpenRouterโs LLaMA 3 model
โ
Clean file structure with utils and separate routes
โ
Started planning frontend (Next.js + Tailwind combo incoming)
๐ฎ Whatโs Coming Next
- โ Connect frontend to the backend via REST
- ๐ Add document versioning and history tracking
- ๐ Add user authentication
- ๐งฉ Extract key clauses (like dates, names, legal terms)
- โจ Improve the UI with animations and polish
- ๐ฆ Deploy the app (thinking Railway or Fly.io for backend)
๐ Tech Stack
- ๐ง Hugging Face Transformers for AI tasks
- ๐งพ PyTesseract + pdf2image for OCR
- ๐ FastAPI for the backend
- ๐ป Next.js + Tailwind (soon) for the frontend
- ๐ PostgreSQL (coming later for storage)
- โ๏ธ Hosting with Vercel + Railway (probably)
Whole project is available on github: https://github.com/urewo396/DocuScopeAI if you want to check it out or make some changes for yourself feel free to do it!
Thanks for reading!
If youโve built something similar or have ideas for cool features, hit me up in the comments ๐
And if you're also just vibing through learning FastAPI or frontend like me, letโs connect ๐ฌ
Until next time โ peace out ๐ง โก
Top comments (0)