{"id":19311585,"url":"https://github.com/rednafi/html-to-text","last_synced_at":"2026-06-21T14:31:15.362Z","repository":{"id":183047934,"uuid":"669523701","full_name":"rednafi/html-to-text","owner":"rednafi","description":"Extract pure text from any webpage","archived":false,"fork":false,"pushed_at":"2026-06-01T10:44:09.000Z","size":972,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-01T12:25:09.368Z","etag":null,"topics":["asgi","flyio","html","llm","python","text"],"latest_commit_sha":null,"homepage":"https://html-text.rednafi.com","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/rednafi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-22T14:58:21.000Z","updated_at":"2026-06-01T10:44:13.000Z","dependencies_parsed_at":"2026-01-05T19:07:57.051Z","dependency_job_id":null,"html_url":"https://github.com/rednafi/html-to-text","commit_stats":null,"previous_names":["rednafi/html-to-text"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rednafi/html-to-text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rednafi%2Fhtml-to-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rednafi%2Fhtml-to-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rednafi%2Fhtml-to-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rednafi%2Fhtml-to-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rednafi","download_url":"https://codeload.github.com/rednafi/html-to-text/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rednafi%2Fhtml-to-text/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34613023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["asgi","flyio","html","llm","python","text"],"created_at":"2024-11-10T00:29:27.590Z","updated_at":"2026-06-21T14:31:15.346Z","avatar_url":"https://github.com/rednafi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ch1\u003eHTML to TEXT\u003c/h1\u003e\n\u003cstrong\u003e\u003e\u003e \u003ci\u003eExtract pure text from any webpage\u003c/i\u003e \u003c\u003c\u003c/strong\u003e\n\n\u0026nbsp;\n\n\u003c/div\u003e\n\n## Why\n\nLLMs with huge context windows like [Claude 2] enable the idea of pasting large blobs of\ntexts and asking questions about them. Often, I want to copy the entire content of a\nwebpage and pipe it into a chat window. One specific use case is when I want to grok\nPython PEPs with the help of an LLM. This little [ASGI] tool allows you to parse the HTML\ncontent of any publicly available page and turn it into pure text that's ingestible by a\nlanguage model.\n\n## Exploration\n\n* Go to [html-text.rednafi.com] and paste a publicly accessible page URL. Then click\n**Submit** and you'll see that the parsed text content will appear in the adjacent text\nbox:\n\n    ![screenshot-a]\n\n* Copy the text content by clicking on the **Copy** button.\n\n* Click **Clear** if you need a blank canvas.\n\n## Development\n\n* Ensure that docker is installed on your system.\n* Clone the repo and head over to the root directory.\n* Build and run the service locally:\n\n    ```sh\n    docker build -t html-to-text . \\\n        \u0026\u0026 docker run -p \"5001:5000\" html-to-text\n    ```\n* Head over to [http://localhost:5001] on your browser and explore the app.\n\n* Apply linter:\n\n    ```sh\n    make lint\n    ```\n\n* Run the tests\n\n    ```sh\n    make test\n    ```\n\n## Deployment\n\nThe app is built with Python 3.12 and is automagically deployed to [fly.io] via GitHub\nAction.\n\n\n\u003cdiv align=\"center\"\u003e\n\u003ci\u003e ✨ 🍰 ✨ \u003c/i\u003e\n\u003c/div\u003e\n\n[screenshot-a]: https://github.com/rednafi/html-to-text/assets/30027932/20bb63bd-c4a8-48bf-8cda-d83857548b48\n[http://localhost:5001]: http://localhost:5001\n[html-text.rednafi.com]: https://html-text.rednafi.com\n[fly.io]: https://fly.io\n[claude 2]: https://www.anthropic.com/index/claude-2\n[asgi]: https://asgi.readthedocs.io/en/latest/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frednafi%2Fhtml-to-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frednafi%2Fhtml-to-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frednafi%2Fhtml-to-text/lists"}