{"id":16201399,"url":"https://github.com/amscotti/page-summarizer","last_synced_at":"2026-05-05T15:35:09.769Z","repository":{"id":213964909,"uuid":"723562125","full_name":"amscotti/page-summarizer","owner":"amscotti","description":"Generate a comprehensive summary and key points of the extracted text give a URL","archived":false,"fork":false,"pushed_at":"2024-03-15T01:06:48.000Z","size":276,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T13:09:20.652Z","etag":null,"topics":["keypoints","langchain","openai","pdf","summarizer","website","youtube"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amscotti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-11-26T03:50:43.000Z","updated_at":"2024-11-08T16:49:40.000Z","dependencies_parsed_at":"2023-12-24T19:49:53.194Z","dependency_job_id":"ad354d9f-9b37-4ea0-9166-ce968c6221a6","html_url":"https://github.com/amscotti/page-summarizer","commit_stats":null,"previous_names":["amscotti/page-summarizer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amscotti%2Fpage-summarizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amscotti%2Fpage-summarizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amscotti%2Fpage-summarizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amscotti%2Fpage-summarizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amscotti","download_url":"https://codeload.github.com/amscotti/page-summarizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247707191,"owners_count":20982740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["keypoints","langchain","openai","pdf","summarizer","website","youtube"],"created_at":"2024-10-10T09:37:40.753Z","updated_at":"2026-05-05T15:35:04.748Z","avatar_url":"https://github.com/amscotti.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Page Summarizer\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"images/wizard_in_a_library.jpg\" alt=\"A wizard in a library - Leonardo AI\" width=\"600\"\u003e\n\u003c/p\u003e\n\nPage Summarizer is a Python application that extracts text from a given URL and uses OpenAI's GPT-4 model, interfaced through the LangChain library, to generate a comprehensive summary and key points of the extracted text. The application leverages the power of GPT-4's natural language understanding to provide concise and relevant summaries, making it easier to digest large amounts of information quickly.\n\n[![asciicast](https://asciinema.org/a/e68VLIEPl7oFshok8tmGhb2Gh.svg)](https://asciinema.org/a/e68VLIEPl7oFshok8tmGhb2Gh)\n\n## How to Run the Project\n\n### Running Locally\nTo run this project, you will need Python installed on your machine along with the necessary packages. Follow these steps:\n\n1. Clone the repository to your local machine.\n2. Install the required dependencies by running `pip install -r requirements.txt`.\n3. Set up your environment variables by creating a `.env` file with your OpenAI API key as `OPENAI_API_KEY`.\n4. Run the script using the command `python app.py \u003cURL\u003e`, where `\u003cURL\u003e` is the URL of the webpage you want to summarize.\n\n### Running with Docker\nTo build and run the project using Docker, follow these steps:\n\n1. Ensure you have Docker installed on your machine.\n2. Navigate to the directory containing the Dockerfile.\n3. Build the Docker image using the command:\n   ```\n   docker build -t page-summarizer .\n   ```\n4. Once the image is built, run the container using the command:\n   ```\n   docker run -e OPENAI_API_KEY='your_openai_api_key' --rm page-summarizer \u003cURL\u003e\n   ```\n   Replace `your_openai_api_key` with your actual OpenAI API key and `\u003cURL\u003e` with the URL of the webpage you want to summarize.\n\n## References\n- [Requests](https://docs.python-requests.org/en/latest/index.html)\n- [HTML2Text](https://alir3z4.github.io/html2text/)\n- [LangChain](https://www.langchain.com/)\n- [OpenAI API Documentation](https://platform.openai.com/docs/api-reference)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famscotti%2Fpage-summarizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famscotti%2Fpage-summarizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famscotti%2Fpage-summarizer/lists"}