{"id":17978308,"url":"https://github.com/adrianvollmer/elinks-hooks","last_synced_at":"2025-04-04T00:24:10.054Z","repository":{"id":162566569,"uuid":"637089255","full_name":"AdrianVollmer/elinks-hooks","owner":"AdrianVollmer","description":"Kind of like Greasemonkey, but for elinks and in Python","archived":false,"fork":false,"pushed_at":"2023-11-05T10:33:17.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-09T12:20:00.771Z","etag":null,"topics":["elinks","hooks","python"],"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/AdrianVollmer.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-05-06T13:25:08.000Z","updated_at":"2023-05-06T13:25:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"d135d677-a2cb-4a89-918b-6887943eaeab","html_url":"https://github.com/AdrianVollmer/elinks-hooks","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/AdrianVollmer%2Felinks-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrianVollmer%2Felinks-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrianVollmer%2Felinks-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdrianVollmer%2Felinks-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdrianVollmer","download_url":"https://codeload.github.com/AdrianVollmer/elinks-hooks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247099543,"owners_count":20883417,"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":["elinks","hooks","python"],"created_at":"2024-10-29T17:33:04.389Z","updated_at":"2025-04-04T00:24:10.033Z","avatar_url":"https://github.com/AdrianVollmer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Elinks Hooks\n============\n\nKind of like Greasemonkey, but for elinks and in Python.\n\n\nInstallation\n------------\n\n```console\n$ git clone https://github.com/AdrianVollmer/elinks-hooks.git\n$ ln -s $(pwd)/elinks-hooks/elinks_hooks ~/.config/elinks/\n$ echo 'from elinks_hooks import *  # noqa' \u003e ~/.config/elinks/hooks.py\n```\n\nNote: elinks must be compiled with the Python scripting feature\n(`./configure --with-python`). You can check with `elinks --version | grep Python`.\n\n\nRules\n-----\n\nPlace rules in `$XDG_CONFIG_HOME/elinks_hooks/`. File names must end in\n`.yml` and contain YAML. By default, `$XDG_CONFIG_HOME` is `~/.config`.\n\n\nWhy?\n----\n\nI read my RSS feeds in my terminal using\n[newsboat](https://newsboat.org/index.html). Some feeds only show the\nintroduction instead of the full article, while other blogs frequently link\nto news articles. Sometimes I also read [Hacker\nNews](https://news.ycombinator.com/) using newsboat, which clearly links to\nlots of news articles and blogs linking to news articles.\n\nWhen I want to read the full feed entry or news article, I use\n[elinks](http://elinks.or.cz/) to quickly open the page. Since the sites are\noptimized to be read with a full GUI browser, one sees lots of superflous\nHTML elements. This collection of scripts allows me to display just the meat\nof the article, or redirect twitter URLs to Nitter, etc.\n\nAs a side effect, pretty much all ads and other distractions are filtered.\n\nLicense\n-------\n\nCopyright Adrian Vollmer, 2023. MIT Licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianvollmer%2Felinks-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrianvollmer%2Felinks-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianvollmer%2Felinks-hooks/lists"}