{"id":20797827,"url":"https://github.com/precla/domain2host","last_synced_at":"2025-07-13T23:09:04.849Z","repository":{"id":27657624,"uuid":"31143241","full_name":"precla/domain2host","owner":"precla","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-15T21:16:57.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T02:13:17.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/precla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-21T22:16:36.000Z","updated_at":"2016-06-15T21:16:58.000Z","dependencies_parsed_at":"2022-09-05T01:31:19.482Z","dependency_job_id":null,"html_url":"https://github.com/precla/domain2host","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/precla/domain2host","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/precla%2Fdomain2host","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/precla%2Fdomain2host/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/precla%2Fdomain2host/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/precla%2Fdomain2host/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/precla","download_url":"https://codeload.github.com/precla/domain2host/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/precla%2Fdomain2host/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265218750,"owners_count":23729528,"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-11-17T16:35:27.341Z","updated_at":"2025-07-13T23:09:04.786Z","avatar_url":"https://github.com/precla.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# domain2host\ndomain2host is a simple CLI program written to add custom hostfile rules to a list of domains\n\n## Usage\nIf you want to redirect domains in 'inputfile' to localhost (127.0.0.1), than you add a zero as argument:\n\n`domain2host.exe 0 outputFile inputFile`\n\nsupports multiple files to read from (including exported firefox bookmarks), and custom domain to redirect to, example:\n\n`domain2host.exe github.com outputFile inputFile1 inputFile2`\n\n`domain2host.exe example.com newHostsFile.txt someListOfDomains.txt bookmarks.html`\n\nIt checks for double domains and if a domain has already ben added, it skips it.\n\n###TO DO:\n-make it possible to read from a file where domains are not separated in lines but with commas (or anything similar)\n-append to current host file \n\n###DONE:\n-read from a exported bookmark file and create new host file with that\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprecla%2Fdomain2host","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprecla%2Fdomain2host","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprecla%2Fdomain2host/lists"}