{"id":28918574,"url":"https://github.com/cgag/hostblock","last_synced_at":"2025-10-15T04:33:01.640Z","repository":{"id":36433081,"uuid":"40738089","full_name":"cgag/hostblock","owner":"cgag","description":"rust cli app for managing sites blocked via the hosts file","archived":false,"fork":false,"pushed_at":"2020-03-29T21:25:34.000Z","size":71,"stargazers_count":97,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-10T02:33:31.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cgag.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}},"created_at":"2015-08-14T22:13:05.000Z","updated_at":"2025-07-27T23:05:48.000Z","dependencies_parsed_at":"2022-09-06T05:21:12.264Z","dependency_job_id":null,"html_url":"https://github.com/cgag/hostblock","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cgag/hostblock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgag%2Fhostblock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgag%2Fhostblock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgag%2Fhostblock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgag%2Fhostblock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cgag","download_url":"https://codeload.github.com/cgag/hostblock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgag%2Fhostblock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279049858,"owners_count":26093368,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"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":[],"created_at":"2025-06-22T02:05:09.915Z","updated_at":"2025-10-15T04:33:01.625Z","avatar_url":"https://github.com/cgag.png","language":"Rust","readme":"Simple terminal interface for blocking websites via the `/etc/hosts` file.\n\n![Hostblock demo](http://curtis.io/img/hostblock-cropped.gif \"Hostblock Demo\")\n\nWhen you unblock or a remove a domain you'll be asked to enter a mildly\nannoying random passphrase to give you a chance to reconsider if you really\nwant to go read reddit.\n\nMust be run as sudo as it needs to write to /etc/hosts.\n\nControls\n  - i \t\t- add a new domain\n  - j/k \t- down, up\n  - J/K \t- goto bottom, goto top\n  - d \t\t- delete selected\n  - space - toggle whether or not selected domain is blocked\n  - q     - Quit current mode, quits app if in normal mode.\n  - h     - View help.\n\nCommand line options:\n - `-b` block all\n - `-u` unblock all (requires typing the passphrase)\n - `-h` help message (showing these options)\n\n### Installation:\n\n#### Linux x86_64 binary\n  If you're on linux on an x86_64 processor you can download a binary release\n  here:  https://github.com/cgag/hostblock/releases.\n\n  The binary is fully statically linked against musl-libc, so it should work\n  on any distro.\n\n#### Building from source\n  You'll need to have rustc and cargo installed, you can download them here:\n    [https://www.rust-lang.org/install.html](https://www.rust-lang.org/install.html).\n    Note that cargo is bundled with rust.\n\n\t- clone repo\n\t- run `cargo build --release`\n\t- sudo ./target/release/hostblock\n\n  You should probably move the binary to somewhere on your path.\n\n## General info\n\n* License: AGPL\n","funding_links":[],"categories":["Other"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgag%2Fhostblock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcgag%2Fhostblock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgag%2Fhostblock/lists"}