{"id":25418809,"url":"https://github.com/sped0n/zh","last_synced_at":"2026-05-13T20:35:02.542Z","repository":{"id":275897330,"uuid":"927002792","full_name":"Sped0n/zh","owner":"Sped0n","description":"A toy POSIX shell written in Zig.","archived":false,"fork":false,"pushed_at":"2025-03-08T03:23:50.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T16:40:55.946Z","etag":null,"topics":["shell","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sped0n.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-04T08:32:58.000Z","updated_at":"2025-08-17T03:30:04.000Z","dependencies_parsed_at":"2025-05-07T09:15:17.813Z","dependency_job_id":null,"html_url":"https://github.com/Sped0n/zh","commit_stats":null,"previous_names":["sped0n/zshell","sped0n/zh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sped0n/zh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sped0n%2Fzh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sped0n%2Fzh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sped0n%2Fzh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sped0n%2Fzh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sped0n","download_url":"https://codeload.github.com/Sped0n/zh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sped0n%2Fzh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281441816,"owners_count":26501966,"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-28T02:00:06.022Z","response_time":60,"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":["shell","ziglang"],"created_at":"2025-02-16T18:28:13.655Z","updated_at":"2025-10-28T13:09:49.946Z","avatar_url":"https://github.com/Sped0n.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zh\n\nA toy POSIX shell written in Zig.\n\n```\n$ echo \\'\\\"hello world\\\"\\'\n'\"hello world\"'\n$ gc\ngc  gcc  gcc-13  gcc-14  gcc-ar-13  gcc-ar-14  gcc-nm-13  gcc-nm-14  gcc-ranlib-13  gcc-ranlib-14  gcore  gcov  gcov-13  gcov-14  gcov-dump-13  gcov-dump-14  gcov-tool-13  gcov-tool-14\n$ type gcc\ngcc is /usr/bin/gcc\n$ type ls\nls is /bin/ls\n$ ls\nLICENSE         build.zig       zig-out\nMakefile        build.zig.zon\nREADME.md       src\n$ cd ..\n$ pwd\n/Users/spedon/eden/zig\n$ cd zh\n$ pwd\n/Users/spedon/eden/zig/zh\n$ ls \u003e test.txt\n$ cat test.txt\nLICENSE\nMakefile\nREADME.md\nbuild.zig\nbuild.zig.zon\nsrc\ntest.txt\nzig-out\n$\n```\n\n## Features\n\n* Builtins: `exit`, `echo`, `type`(with HashMap)\n* Natigation: `pwd`, `cd`(*absolute* and *relative*)\n* Quote Parsing(*State Machine*)\n* Redirection to `stdout` or `stderr`\n* Auotocompletion powered by Trie\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsped0n%2Fzh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsped0n%2Fzh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsped0n%2Fzh/lists"}