{"id":25930907,"url":"https://github.com/edujbarrios/pdfreader-with-moondreamai","last_synced_at":"2026-06-14T21:33:02.157Z","repository":{"id":274622353,"uuid":"923517257","full_name":"edujbarrios/PDFreader-with-MoonDreamAI","owner":"edujbarrios","description":"A simple yet useful tool to read PDF covers and understand them to give brief explanations about the PDF content","archived":false,"fork":false,"pushed_at":"2025-01-29T13:46:41.000Z","size":33700,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-02T05:57:40.669Z","etag":null,"topics":["llm","moondream","moondreamai","pdfreader","python","vllm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edujbarrios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-28T11:45:57.000Z","updated_at":"2025-01-29T13:46:45.000Z","dependencies_parsed_at":"2025-01-29T05:15:20.098Z","dependency_job_id":null,"html_url":"https://github.com/edujbarrios/PDFreader-with-MoonDreamAI","commit_stats":null,"previous_names":["edujbarrios/pdfreader-with-moondreamai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edujbarrios/PDFreader-with-MoonDreamAI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edujbarrios%2FPDFreader-with-MoonDreamAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edujbarrios%2FPDFreader-with-MoonDreamAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edujbarrios%2FPDFreader-with-MoonDreamAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edujbarrios%2FPDFreader-with-MoonDreamAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edujbarrios","download_url":"https://codeload.github.com/edujbarrios/PDFreader-with-MoonDreamAI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edujbarrios%2FPDFreader-with-MoonDreamAI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34339194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["llm","moondream","moondreamai","pdfreader","python","vllm"],"created_at":"2025-03-03T23:23:32.002Z","updated_at":"2026-06-14T21:33:02.141Z","avatar_url":"https://github.com/edujbarrios.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📄 PDFanalyzer with MoondreamAPI\n\n\u003e An intelligent PDF cover page analyzer powered by MoondreamAPI and Streamlit\n\n![Another preview](images/another_preview.png)\n\n## 🌟 Features\n\n- 📊 Extract cover pages from PDF documents\n- 🔍 Detailed visual analysis of cover pages\n- 🤖 AI-powered content recognition\n- 💫 Real-time processing and results\n- 🎨 Clean and intuitive user interface\n- 🧪 Comprehensive unit testing\n\n## 🚀 Getting Started\n\n1. Clone the repository\n2. Install dependencies:\n```bash\npip install -r requirements.txt\n```\n3. Get your Moondream API key\n4. Run the application:\n```bash\nstreamlit run app.py\n```\n\n## 🛠️ Technologies Used\n\n- Streamlit - Web application framework\n- MoondreamAPI - AI-powered image analysis\n- PyMuPDF - PDF processing\n- Pillow - Image handling\n\n## 📁 Project Structure\n\n```\n├── .streamlit/          # Streamlit configuration files (will be generated once you excecute the program)\n├── images/              # Application screenshots and assets\n├── prompts/            # AI analysis prompt templates\n├── responses/          # JSON files storing analysis results\n├── unit_tests/         # Unit tests and test results\n│   ├── test_utils.py   # Test cases for utility functions\n│   ├── run_tests.py    # Test runner with JSON reporting\n│   └── test_results.json # Detailed test execution results\n├── utils.py            # Utility functions and helpers\n└── app.py             # Main application file\n```\n\n## 🔑 Configuration\n\n1. Enter your Moondream API key in the application\n2. Start analyzing PDF cover pages\n3. Customize the analysis prompt in `prompts/prompt.md`\n\n## 🧪 Testing\n\nRun the unit tests:\n```bash\npython unit_tests/run_tests.py\n```\n\nTest results will be saved in `unit_tests/test_results.json` with detailed execution information.\n\n## 📝 Contributing\n\nFeel free to contribute to this project! Open an issue or submit a pull request.\n\nToDo's:\n\n- Improving prompts to get even more detailed descriptions on PDFs\n- Getting a smooth an smooth way solution to analyze the whole content of the PDF while not spending to many api calls, e.g: analyzing the context of the whole book without making 300 pages/ api calls, and spending less calls.\n\n## 👨‍💻 Author\n\nCreated with ❤️ by [Eduardo Jose Barrios Garcia](https://edujbarrios.com) ([@edujbarrios](https://github.com/edujbarrios))\n\n## 📜 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedujbarrios%2Fpdfreader-with-moondreamai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedujbarrios%2Fpdfreader-with-moondreamai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedujbarrios%2Fpdfreader-with-moondreamai/lists"}