Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-04T03:47:10.000Z (12 months ago)
- Last Synced: 2024-01-04T04:29:02.365Z (12 months ago)
- Topics: heroku, pdf, pdfimages, python, streamlit
- Language: Python
- Homepage:
- Size: 257 KB
- Stars: 7
- 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
[![Deploy to Render](http://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy)
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
## Demo
![](img/demo.png)
## 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.