{"id":18151997,"url":"https://github.com/umershahzeb02/pdf-to-json","last_synced_at":"2026-04-12T11:43:27.324Z","repository":{"id":259440303,"uuid":"877867266","full_name":"umershahzeb02/pdf-to-json","owner":"umershahzeb02","description":"This app allows you to easily convert PDF documents into a structured JSON format for better manipulation and use in web applications.","archived":false,"fork":false,"pushed_at":"2024-10-24T18:48:10.000Z","size":393,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T05:44:21.006Z","etag":null,"topics":["converter","json","pdf","python"],"latest_commit_sha":null,"homepage":"https://pdf2json.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umershahzeb02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-24T11:35:47.000Z","updated_at":"2024-10-24T18:48:14.000Z","dependencies_parsed_at":"2024-10-25T12:20:44.261Z","dependency_job_id":"a5165db5-b2e9-40cf-ad3a-04f608f33ea2","html_url":"https://github.com/umershahzeb02/pdf-to-json","commit_stats":null,"previous_names":["umershahzeb02/pdf-to-json"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umershahzeb02%2Fpdf-to-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umershahzeb02%2Fpdf-to-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umershahzeb02%2Fpdf-to-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umershahzeb02%2Fpdf-to-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umershahzeb02","download_url":"https://codeload.github.com/umershahzeb02/pdf-to-json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247569130,"owners_count":20959758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["converter","json","pdf","python"],"created_at":"2024-11-02T02:05:15.300Z","updated_at":"2025-10-30T09:45:14.724Z","avatar_url":"https://github.com/umershahzeb02.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# 📄 PDF to JSON Converter Web App\n\nWelcome to the **PDF to JSON Converter**! This app allows you to easily convert PDF documents into a structured JSON format for better manipulation and use in web applications. 🚀\nFrontend is live here: pdf2json.vercel.app\n## 🌟 Features\n\n- **PDF to JSON Conversion**: Extract text, forms, metadata, and more from your PDF files.\n- **Element Categorization**: Automatically identifies elements like headers, dates, form fields, amounts, and other key data.\n- **OCR Support**: Converts scanned PDF images to text where applicable.\n- **Metadata Extraction**: Includes processing details like total pages, element types, and the processing date.\n- **Simple Interface**: User-friendly interface for uploading PDFs and downloading JSON output.\n- **Responsive Design**: Optimized for all devices, from desktop to mobile.\n\n## 🛠️ Tech Stack\n\nThis project uses the following technologies:\n\n- **Frontend**: ⚛️ React.js\n- **Backend**: 🐍 FastAPI\n- **PDF Parsing**: 📄 PyPDF2, PDFMiner\n- **OCR**: 🖼️ Tesseract OCR (for scanned PDFs)\n- **Styling**: 💅 Tailwind CSS\n- **Deployment**: ☁️ Docker (frontend is deployed on vercel, but it does not support backend.) Why?? 💵Money🦀\n\n## 🚀 Getting Started\n\nFollow these instructions to get the project up and running locally.\n\n### Prerequisites\n\n- **Node.js** (v14+)\n- **Python** (v3.7+)\n- **Docker** (optional, for containerized setup)\n\n### Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/your-username/pdf-to-json-converter.git\n   cd pdf-to-json-converter\n   ```\n\n2. **Install frontend dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Install backend dependencies**:\n   ```bash\n   cd ../backend\n   pip install -r requirements.txt\n   ```\n\n4. **Run the app**:\n\n   - **Frontend**:\n     ```bash\n     npm start\n     ```\n   - **Backend**:\n     ```bash\n     cd backend\n     uvicorn main:app --reload\n     ```\n\n5. **Visit the app** in your browser at `http://localhost:3000`.\n\n## 🖥️ Usage\n\n1. **Upload a PDF** via the web interface.\n2. **Convert** the uploaded file to JSON format.\n3. **Download** the JSON file and use it as needed.\n\n## 🛠️ Development\n\n### Frontend\n\nThe frontend is built with **React.js** and **Tailwind CSS** for a smooth and responsive user interface. You'll find all the relevant code inside the `src/` folder.\n\n### Backend\n\nThe backend is powered by **FastAPI** and handles the PDF processing and JSON conversion. It uses libraries like **PyPDF2** and **PDFMiner** for parsing, and **Tesseract OCR** to handle scanned PDFs. Check the `backend/` folder for the API code.\n\n## 🤖 Future Improvements\n\n- ✨ Add support for extracting images from PDFs.\n- 🔍 Implement keyword-based search within the PDF content.\n- 📈 Include a dashboard for visualizing metadata and content summaries.\n\n## 🤝 Contributing\n\nContributions are always welcome! Feel free to fork this repository and submit a pull request.\n\n## 📧 Contact\n\nIf you have any questions or feedback, reach out to me at: [umershahzeb@gmail.com](mailto:umershahzeb@gmail.com)\n\n---\n\n### ⭐ Don't forget to give this repo a star if you found it useful!\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumershahzeb02%2Fpdf-to-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumershahzeb02%2Fpdf-to-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumershahzeb02%2Fpdf-to-json/lists"}