{"id":19557874,"url":"https://github.com/sanel/declutter","last_synced_at":"2026-02-26T17:02:34.767Z","repository":{"id":142154555,"uuid":"137050257","full_name":"sanel/declutter","owner":"sanel","description":"Read html content without clutter from Emacs","archived":false,"fork":false,"pushed_at":"2022-03-10T21:03:26.000Z","size":45,"stargazers_count":30,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-27T14:07:44.521Z","etag":null,"topics":["emacs","html","web"],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanel.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":"2018-06-12T09:39:54.000Z","updated_at":"2024-03-29T18:22:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"de411697-ca08-43b5-a66e-c42b45543e84","html_url":"https://github.com/sanel/declutter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sanel/declutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanel%2Fdeclutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanel%2Fdeclutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanel%2Fdeclutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanel%2Fdeclutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanel","download_url":"https://codeload.github.com/sanel/declutter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanel%2Fdeclutter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265728981,"owners_count":23818733,"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":["emacs","html","web"],"created_at":"2024-11-11T04:44:19.386Z","updated_at":"2026-02-26T17:02:29.725Z","avatar_url":"https://github.com/sanel.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# declutter - Read html content without clutter from your Emacs\n\ndeclutter is a small Emacs addon that will help you with reading\nonline content. It will remove all distractions and present you with\nreadable html, straight inside your Emacs.\n\ndeclutter can render content using:\n\n * [lynx](https://en.wikipedia.org/wiki/Lynx_(web_browser))\n * [rdrview](https://github.com/eafer/rdrview)\n * [EWW](https://www.gnu.org/software/emacs/manual/html_mono/eww.html) - Emacs builtin browser\n * [txtify.it](https://txtify.it/)\n\n## Installation\n\ndeclutter depends on [json.el](https://github.com/thorstadt/json.el)\nand [shr.el](http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/lisp/net/shr.el). `shr.el`\nis part of Emacs since 24.4 version.\n\nTo install declutter, just copy `declutter.el` to `$HOME/.emacs.d`\nfolder or any other location listed in Emacs `load-path` variable.\n\nIn your\n[Emacs init file](https://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html),\nput:\n\n```el\n(require 'declutter)\n```\n\nThen, in Emacs:\n\n\u003ckbd\u003eM-x declutter [RET]\u003c/kbd\u003e\n\nand enter url you'd like to visit.\n\n## Usage\n\nBy default, declutter will open `*declutter*` buffer and render cleaned\ncontent in it. Actually, this is done by `shr.el` so all default\nshortcuts for it works here as well.\n\ndeclutter adds another useful function -\n`declutter-under-point`. When you read through the article and you'd\nlike to open url, you place cursor over link and you have two options:\n\n  * You can use `shr-browse-url` (`v` key) which will open article *as is*\n  * Or you can use `declutter-under-point` to load that url and render\n    cleaned content in `*declutter*` buffer.\n\nTo change rendering engine (default is outline.com API), use this:\n\n```el\n(setq declutter-engine 'lynx)     ; lynx will get and render html\n; or\n(setq declutter-engine 'rdrview)  ; rdrview will get and render html\n; or\n(setq declutter-engine 'eww)      ; eww will get and render html\n; or\n(setq declutter-engine 'txtify)   ; txtify.it will get and render html\n```\n\nFor `lynx` and `rdrview` engines, you can set a custom path to the\nprogram binary, with `declutter-engine-path`. For example, if you have\n`rdrview` installed in `/opt/rdrview/bin/rdrview`, set it with:\n\n```el\n(setq declutter-engine-path \"/opt/rdrview/bin/rdrview\")\n```\n\n## Configuration\n\ndeclutter doesn't have many configuration options, except of\n`declutter-engine`, `declutter-engine-path` and `declutter-user-agent`\n(where you can override default user-agent string), but if you want to\nset default font of rendered content or indentation, check\n[shr.el](https://github.com/emacs-mirror/emacs/blob/master/lisp/net/shr.el)\noptions.\n\nFor example, to use default Emacs fonts and add margins, set this:\n\n```el\n(setq\n shr-use-fonts nil\n shr-indentation 2)\n```\n\n## Note\n\nWhen declutter is using [txtify.it](https://txtify.it) backend to\nrender the content, be aware that `txtify.it` **can see** what you\nbrowse. I'm not affiliated with `txtify.it` in any way.\n\n## Bug reports \u0026 patches\n\nFeel free to report any issues you find or you have suggestions for improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanel%2Fdeclutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanel%2Fdeclutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanel%2Fdeclutter/lists"}