{"id":16874517,"url":"https://github.com/joway/mockd","last_synced_at":"2025-03-18T23:18:36.767Z","repository":{"id":57300154,"uuid":"99316565","full_name":"joway/mockd","owner":"joway","description":"mock domain","archived":false,"fork":false,"pushed_at":"2019-04-09T10:55:30.000Z","size":38,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T16:12:14.148Z","etag":null,"topics":["doamin","mock"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-04T07:30:26.000Z","updated_at":"2018-05-29T11:57:48.000Z","dependencies_parsed_at":"2022-09-06T04:20:12.840Z","dependency_job_id":null,"html_url":"https://github.com/joway/mockd","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2Fmockd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2Fmockd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2Fmockd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joway%2Fmockd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joway","download_url":"https://codeload.github.com/joway/mockd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244320425,"owners_count":20434092,"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":["doamin","mock"],"created_at":"2024-10-13T15:33:07.143Z","updated_at":"2025-03-18T23:18:36.748Z","avatar_url":"https://github.com/joway.png","language":"JavaScript","readme":"# MockD\n\nMock Domains on localhost .\n\n## Getting Started\n\n### Installing\n\n```\nnpm i -g mockd\n```\n\n### Usage\n\n- edit ~/.mockd/proxy.json\n\n\texample:\n\t\t\t\n\t\t{\n\t\t\"akc\": \"http://127.0.0.1:8002\",\n\t\t\"kd\": \"https://www.youdao.com\"\n\t\t}\n\n- edit /etc/hosts\n\t\t\n\t\t127.0.0.1 akc\n\t\t127.0.0.1 kd\n\n- start server\n\t\n\t```\n\tsudo mockd # require root permission\n\t```\n\n- when visited `akc` , you will be proxy to http://127.0.0.1:8002\n\t\n\tps: if proxy.json file changed , you need to restart your mockd server\n\t\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoway%2Fmockd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoway%2Fmockd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoway%2Fmockd/lists"}