Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.