PDFSummarizer is a web application that allows users to summarize PDF files by either uploading the file or by providing the URL of the file ππ. The application integrates with Sci-Hub to fetch the PDF file and uses OpenAI API to provide high-quality summarization π€π¬.
Please note that this repository is a work in progress and is not yet complete.
- PDF file upload or URL input for summarization ππ»
- Integrates with OpenAI API to provide high-quality summarization π€π¬
- Python 3.x π
- Django 3.x π»
- OpenAI API key π
To install the Django PDFSummarizer, follow these steps:
- Clone the repository to your local machine using
git clone https://github.com/yinonh/PDFSummarizer.git
π₯ - Navigate to the project directory using
cd PDFSummarizer
ποΈ - Create a virtual environment using
python -m venv myenv
and activate it usingsource myenv/bin/activate
on Linux ormyenv\Scripts\activate
on Windows π» - Install the required packages using
pip install -r requirements.txt
π¦ - Add your OpenAI API key to the environment variables or to the local_settings.py file π
- Run the development server using
python manage.py runserver
π
To use the Django PDFSummarizer, follow these steps:
- Input either the PDF file or the URL of the file on Sci-Hub ππ»
- Wait for the file to be summarized π
- View the summarized text π
Summary this article:
Contributions to the Django PDFSummarizer are always welcome! If you have a bugfix, improvement, or new feature, please create a pull request or open an issue π€. Please note that this repository is a work in progress.
Django PDFSummarizer is licensed under the MIT license π.