ConciseDocs is a document summarization tool that enables users to upload documents (PDFs and text files) and generate concise, informative summaries. The application also provides the ability to export summaries as PDF files.
- 📄 Document Upload: Support for PDF and text files
- 📝 AI-Powered Summarization: Utilizes BART-based transformer models to create high-quality summaries
- 📊 PDF Export: Export summaries to well-formatted PDF documents
- 🌓 Dark/Light Theme: Toggle between dark and light themes
The project is organized as a monorepo with the following structure:
apps/api/: FastAPI backend for document summarization and PDF exportweb/: Next.js frontend application
packages/ui/: Shared UI components librarytsconfig/: Shared TypeScript configurations
git clone https://github.com/RajdeepDs/concise-docs.git
cd concise-docsInstall dependencies:
bun installCreate and activate a virtual environment:
cd apps/api
python -m venv venv
source venv/bin/activateInstall Python dependencies:
pip install -r requirements.txtFrom the project root:
cd apps/api
source venv/bin/activate
python main.pyor
bun dev:apiThe API will be available at http://localhost:8000.
From the project root, in a new terminal:
bun dev:webThe web application will be available at http://localhost:3000.
- Open http://localhost:3000 in your browser
- Upload a PDF or text file using the file upload area
- Wait for the summarization process to complete
- View the generated summary
- Use the "Export as PDF" button to download the summary as a PDF
-
Frontend:
- Next.js
- React
- TypeScript
- Tailwind CSS
-
Backend:
- FastAPI
- Python
- Transformers (Hugging Face)
- PyTorch
- ReportLab (PDF generation)