{"id":15956251,"url":"https://github.com/aniketfuryrocks/hostcat","last_synced_at":"2025-03-18T00:30:30.612Z","repository":{"id":38330115,"uuid":"291461721","full_name":"aniketfuryrocks/HostCat","owner":"aniketfuryrocks","description":"UNIX Command Line tool to switch between Local Dns profiles","archived":false,"fork":false,"pushed_at":"2022-06-06T22:01:25.000Z","size":3848,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-14T17:54:07.567Z","etag":null,"topics":["command-line-tool","dns","local-dns","rust","unix"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/aniketfuryrocks.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":"2020-08-30T12:00:15.000Z","updated_at":"2021-03-19T15:19:06.000Z","dependencies_parsed_at":"2022-08-25T01:50:11.565Z","dependency_job_id":null,"html_url":"https://github.com/aniketfuryrocks/HostCat","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/aniketfuryrocks%2FHostCat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketfuryrocks%2FHostCat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketfuryrocks%2FHostCat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketfuryrocks%2FHostCat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aniketfuryrocks","download_url":"https://codeload.github.com/aniketfuryrocks/HostCat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244133490,"owners_count":20403430,"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":["command-line-tool","dns","local-dns","rust","unix"],"created_at":"2024-10-07T13:30:04.360Z","updated_at":"2025-03-18T00:30:30.058Z","avatar_url":"https://github.com/aniketfuryrocks.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HostCat\nUNIX Command Line tool to switch between Local Dns profiles\n\nHostCat allow users to create multiple profiles using which they can quickly switch between local domain names for ip 127.0.0.1 in `/etc/hosts`\n\nFor Example these two profiles\n\n```\nfoo -\u003e foo.com api.foo.com\nbar -\u003e bar.com api.bar.com\n```\n\nallow users to create local DNS for `foo.com api.foo.com` and `bar.com api.bar.com` and assign a profile to them, which can be switched using hostcat effortlessly\n\n## Install\n\nUse [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)\n\n```shell script\n$ cargo install hostcat\n```\n\n## Creating a profile\n\n```shell script\n$ sudo hostcat set -p foo -v \"foo.com api.foo.com\"\n```\nHere `-p` donates a profile name and `-v` donates its' Dns\n\n## Switch profile\n\n```shell script\n$ sudo hostcat switch -p foo\n```\n\n## Print Profiles\n\n```shell script\n$ sudo hostcat profiles\n```\n\n\u003e Tested on Manjaro Linux x86_6\n\n## License \u0026 Copyright\n\nCopyright (C) 2020 Aniket Prajapati\n\nLicensed under the **[GNU GENERAL PUBLIC LICENSE](LICENSE)**\n\n## Contributors\n + [Aniket Prajapati](https://github.com/aniketfuryrocks) @[prajapati.ani306@gmail.com](mailto:prajapati.ani306@gmail.com) , [eAdded](http://www.eadded.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faniketfuryrocks%2Fhostcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faniketfuryrocks%2Fhostcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faniketfuryrocks%2Fhostcat/lists"}