{"id":31842985,"url":"https://github.com/gniquyij/wallhog","last_synced_at":"2026-05-16T11:04:33.766Z","repository":{"id":57529880,"uuid":"262912113","full_name":"gniquyij/wallhog","owner":"gniquyij","description":"Web search via cmd","archived":false,"fork":false,"pushed_at":"2020-09-06T13:09:40.000Z","size":12533,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-07-10T12:24:29.228Z","etag":null,"topics":["cmd","gfw","macos","search","web"],"latest_commit_sha":null,"homepage":"https://gniquyij.github.io/wallhog/","language":"Go","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/gniquyij.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-05-11T01:44:12.000Z","updated_at":"2021-03-12T00:08:42.000Z","dependencies_parsed_at":"2022-08-27T16:02:21.800Z","dependency_job_id":null,"html_url":"https://github.com/gniquyij/wallhog","commit_stats":null,"previous_names":["vjyq/wallhog"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/gniquyij/wallhog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gniquyij%2Fwallhog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gniquyij%2Fwallhog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gniquyij%2Fwallhog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gniquyij%2Fwallhog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gniquyij","download_url":"https://codeload.github.com/gniquyij/wallhog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gniquyij%2Fwallhog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010536,"owners_count":26084759,"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-12T02:00:06.719Z","response_time":53,"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":["cmd","gfw","macos","search","web"],"created_at":"2025-10-12T06:58:21.245Z","updated_at":"2025-10-12T06:58:24.265Z","avatar_url":"https://github.com/gniquyij.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wallhog\n\n![demo](./demo-general.gif)\n\nWeb search from cmd. \n\n`$ wh \u003ckeyword\u003e` will:\n- open your default browser\n- search \u003ckeyword\u003e via the 'general' search engine(s) - search engine(s) tagged as 'general' in `./tunnels/tunnels.json`\n\nIf specific search engine(s) required, you could `$ wh -t \u003ctag\u003e \u003ckeyword\u003e`\n- e.g. `$ wh -t book \u003ckeyword\u003e` will search \u003ckeyword\u003e via the search engine(s) tagged as 'book' in `./tunnels/tunnels.json`\n- if multiple tags, you could `$ wh -t \"\u003ctag1\u003e \u003ctag2\u003e ... \u003ctagN\u003e\" \u003ckeyword\u003e`. wallhog would search with the engines with all the tags.\n\n## Setup\n\n```\n$ go get github.com/vjyq/wallhog\n$ cd $(go env GOPATH)/src/github.com/vjyq/wallhog/bin\n$ bash shortcut.sh\n```\nThen just restart your terminal.\n\n## Customize wallhog\n\nBy default wallhog loads the search engines in `./tunnels/tunnels.json`, you could customize it with your search preference. \n\nFor an update, you need to do 2 things:\n- update `./tunnels/tunnels.json`. Assume you want to add 'Google' with a tag 'general', open `./tunnels/tunnels.json` and include the following lines:\n```\n{\n  \"name\": \"Google\",\n  \"url\": \"https://www.google.com/search?q=\",\n  \"tags\": [\"general\"]\n},\n```\n- then rebuild the src code: \n```\n$ cd $(go env GOPATH)/src/github.com/vjyq/wallhog\n$ go install\n```\n\nHighly recommend you share your search engine(s) through a pull request. PR name please follow: \n- [new engine] \\\u003cengine-name\u003e\n\ne.g. '[new engine] Google'\n\nYou could also submit an issue if you require my help. Issue name please refer to PR name. \n\n## Author\n\nyuqing.ji@outlook.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgniquyij%2Fwallhog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgniquyij%2Fwallhog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgniquyij%2Fwallhog/lists"}