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 🧠⚡