https://github.com/kkdai/pdf_online_editor
A simple web application built with Streamlit that allows users to upload a PDF file and display its pages as images. Users can select a page from the uploaded PDF and view its content as text.
https://github.com/kkdai/pdf_online_editor
heroku pdf pdfimages python streamlit
Last synced: 3 months ago
JSON representation
A simple web application built with Streamlit that allows users to upload a PDF file and display its pages as images. Users can select a page from the uploaded PDF and view its content as text.
- Host: GitHub
- URL: https://github.com/kkdai/pdf_online_editor
- Owner: kkdai
- Created: 2023-08-03T15:44:56.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-04T03:47:10.000Z (over 2 years ago)
- Last Synced: 2025-05-07T07:48:14.255Z (about 1 year ago)
- Topics: heroku, pdf, pdfimages, python, streamlit
- Language: Python
- Homepage:
- Size: 259 KB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDF Upload and Display
This is a simple web application that allows users to upload a PDF file and display its pages as images. Users can select a page from the uploaded PDF and view its content as text.
## Deploy
[](https://render.com/deploy)
[](https://heroku.com/deploy)
## Demo

## Installation
Clone the repository to your local machine.
Install the required packages using `pip install -r requirements.txt`.
Run the app using streamlit run app.py.
## Usage
- Upload a PDF file using the file uploader.
- Select a page from the uploaded PDF using the selectbox.
- The selected page will be displayed as an image in the first column.
- The content of the selected page will be displayed as text in the second column.
## Dependencies
- streamlit
- pdf2image
- PyPDF2
- Pillow
## License
This project is licensed under the MIT License - see the LICENSE file for details.
## Acknowledgments
This project was inspired by the Streamlit Gallery and the PyPDF2 documentation.
Thanks to the developers of the streamlit and pdf2image packages for making this project possible.