{"id":26991578,"url":"https://github.com/pradeep-r04/pdf2audio","last_synced_at":"2026-04-28T11:01:50.617Z","repository":{"id":285942856,"uuid":"959854354","full_name":"pradeep-r04/pdf2audio","owner":"pradeep-r04","description":"The PDF to Audio Converter is a Python-based Streamlit web application that converts the text content of a PDF file into speech. The app allows users to upload a PDF document, extract text from specific pages, and listen to the extracted content using text-to-speech (TTS) technology.","archived":false,"fork":false,"pushed_at":"2025-04-03T13:40:04.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T16:49:30.665Z","etag":null,"topics":["gtts","pygame","pypdf2","python","streamlit"],"latest_commit_sha":null,"homepage":"https://pdf2audio-pr4.streamlit.app/","language":"Python","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/pradeep-r04.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":"2025-04-03T13:11:26.000Z","updated_at":"2025-04-04T05:53:04.000Z","dependencies_parsed_at":"2025-04-09T16:21:36.790Z","dependency_job_id":null,"html_url":"https://github.com/pradeep-r04/pdf2audio","commit_stats":null,"previous_names":["pradeep-r04/pdf2audio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pradeep-r04/pdf2audio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeep-r04%2Fpdf2audio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeep-r04%2Fpdf2audio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeep-r04%2Fpdf2audio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeep-r04%2Fpdf2audio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pradeep-r04","download_url":"https://codeload.github.com/pradeep-r04/pdf2audio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeep-r04%2Fpdf2audio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32377599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["gtts","pygame","pypdf2","python","streamlit"],"created_at":"2025-04-03T22:16:13.759Z","updated_at":"2026-04-28T11:01:50.612Z","avatar_url":"https://github.com/pradeep-r04.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF to Audio Converter App (Python) 📄🔊\n# Overview\nThe PDF to Audio Converter is a Python-based Streamlit web application that converts the text content of a PDF file into speech.   \nThe app allows users to upload a PDF document, extract text from specific pages, and listen to the extracted content using text-to-speech (TTS) technology.\n# Key Features 🚀\n✅ Upload PDF – Select a PDF file and extract text from specific pages.  \n✅ Text-to-Speech Conversion – Uses Google Text-to-Speech (gTTS) to convert text into an audio file.  \n✅ Audio Playback – Integrated with pygame to play the generated speech directly in the app.  \n✅ Playback Controls – Start, stop, resume, and reset the audio playback.  \n✅ Simple and Interactive UI – Built using Streamlit for an easy-to-use interface.  \n\n# How It Works 🔧\n1. Upload a PDF file using the file uploader.  \n2. Select the page range from which you want to extract text.  \n3. The app extracts the text and displays it in a text area.  \n4. Click \"Start Reading\" to generate an MP3 file and play the audio.  \n5. Use Pause, Resume, and Reset buttons to control playback.  \n\n# Technologies Used 💻\nPython 🐍  \nStreamlit (Web UI)  \nPyPDF2 (PDF text extraction)  \ngTTS (Google Text-to-Speech conversion)  \npygame (Audio playback)  \n\n# Use Cases 🎯\n🔹 Reading academic papers, research articles, or e-books aloud.  \n🔹 Assisting visually impaired users by converting text to speech.  \n🔹 Listening to documents while multitasking.  \n\n# Deployment 🌍\nThis app is deployed on Streamlit Community Cloud, making it accessible online without local installation.\n\n# Try It Now!\n🚀 Experience the power of PDF-to-Audio conversion with a single click!  \nhttps://pdf2audio-pr4.streamlit.app/  \n\n# Image\n![Image](https://github.com/user-attachments/assets/8e463267-c973-49b3-8196-adf6cb1b9ec4)  \n\n## Connect with me:\n| Name    | Email              | LinkedIn                                      | GitHub                      | Instagram                     |\n|---------|--------------------|-----------------------------------------------|-----------------------------|-------------------------------|\n| Pradeep Singh | [Email](pradeep.singh04r@gmail.com)  | [LinkedIn](https://linkedin.com/in/pradeep-singh4) | [GitHub](https://github.com/pradeep-r04) | [Instagram](https://instagram.com/whypradeeep) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradeep-r04%2Fpdf2audio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpradeep-r04%2Fpdf2audio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradeep-r04%2Fpdf2audio/lists"}