{"id":13595754,"url":"https://github.com/chelmertz/cleader","last_synced_at":"2026-01-11T14:54:25.348Z","repository":{"id":139112353,"uuid":"9780769","full_name":"chelmertz/cleader","owner":"chelmertz","description":"Store web articles as plain text. No more 'saved as' HTML (aka cURL:d) or 'printed as PDF', just extracted content in markdown, without all annoying markup that isn't content.","archived":true,"fork":false,"pushed_at":"2014-09-22T12:29:48.000Z","size":140,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-06T18:45:47.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chelmertz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-30T21:43:55.000Z","updated_at":"2023-10-05T21:55:38.000Z","dependencies_parsed_at":"2023-03-13T10:50:05.906Z","dependency_job_id":null,"html_url":"https://github.com/chelmertz/cleader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chelmertz%2Fcleader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chelmertz%2Fcleader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chelmertz%2Fcleader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chelmertz%2Fcleader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chelmertz","download_url":"https://codeload.github.com/chelmertz/cleader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248049659,"owners_count":21039256,"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":[],"created_at":"2024-08-01T16:01:57.032Z","updated_at":"2025-04-09T13:33:20.525Z","avatar_url":"https://github.com/chelmertz.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# cleader - CLI READER\n\nStore web articles as plain text. No more 'saved as' HTML (aka cURL:d) or\n'printed as PDF', just extracted content in markdown, without all annoying markup.\n\n\n## FEATURES\n### Uses STDOUT, easy to process further:\n`python cleader.py http://iamnearlythere.com/what_i_want_from_an_api/ | wc -c`\n\n### Save to file:\n`python cleader.py --save http://iamnearlythere.com/what_i_want_from_an_api/`\n\ncreates the file 'what_i_want_from_an_interface.md'\n\n### Extract *only* the article's HTML:\n`python cleader.py http://iamnearlythere.com/what_i_want_from_an_api/ | markdown_py \u003e what_i_want_from_an_api.html`\n\nThis example requires 'pip install markdown' and is almost what html2text\ndoes, but, again, cutting away all the cruft that's not the main article's content.\n\n### Very create-your-own-library friendly, subjective example coming up:\n`echo 'function save() { python cleader.py \"$1\" --save=~/favorites }' \u003e\u003e ~/.bashrc \u0026\u0026 . ~/bashrc`\n\nAfter that setup, this CLI call:\n\n`save http://iamnearlythere.com/what_i_want_from_an_api/`\n\nwould create *~/favorites/what_i_want_from_an_interface.md* for you\nto keep around forever and ever.\n\n### ... which could easily be turned to a nice UNIX:y archive system:\n - listing the latest 'favorites': `ls -t1 ~/favorites | head -n 5`\n - weighted search for 'css': `grep -ic css ~/favorites/* | head -n 5`\n - showing extracts: `head -n 10 ~/favorites/* | less`\n\n\n## DEPENDENCIES\n - pip install -r requirements.txt\n - A (free) Readability API key, from [http://www.readability.com/developers/api/parser](http://www.readability.com/developers/api/parser)\n\n\n## QUESTIONS\nRead or post issues at [https://github.com/chelmertz/cleader](https://github.com/chelmertz/cleader)\n\nEmail [helmertz@gmail.com](helmertz@gmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchelmertz%2Fcleader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchelmertz%2Fcleader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchelmertz%2Fcleader/lists"}