{"id":19860677,"url":"https://github.com/susonicth/zigcat","last_synced_at":"2025-02-28T22:43:26.912Z","repository":{"id":176609559,"uuid":"657772742","full_name":"SuSonicTH/zigcat","owner":"SuSonicTH","description":"As a lerning exercise to get to know zig I build a small command line tool that works like cat","archived":false,"fork":false,"pushed_at":"2023-08-04T18:35:05.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T14:56:30.479Z","etag":null,"topics":["cat","cli","commandline-tool","learning","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/SuSonicTH.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-23T20:20:26.000Z","updated_at":"2024-07-30T21:20:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"5910bf53-f97d-4cbf-9d80-c13c70116dcb","html_url":"https://github.com/SuSonicTH/zigcat","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":"0.13793103448275867","last_synced_commit":"9384ad86e1ef31726faa1b2afaa61efdaf747291"},"previous_names":["susonicth/zigcat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuSonicTH%2Fzigcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuSonicTH%2Fzigcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuSonicTH%2Fzigcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuSonicTH%2Fzigcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SuSonicTH","download_url":"https://codeload.github.com/SuSonicTH/zigcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241263169,"owners_count":19936055,"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":["cat","cli","commandline-tool","learning","zig"],"created_at":"2024-11-12T15:06:41.592Z","updated_at":"2025-02-28T22:43:26.907Z","avatar_url":"https://github.com/SuSonicTH.png","language":"Zig","readme":"# zigcat\n\nAs a lerning exercise to get to know zig I build a small command line tool that works like cat.\nMost GNU cat commandline options are implemented.\n\n### Missing options (all depend on --show-nonprinting)\n* -A, --show-all\n* -e\n* -t\n* -v, --show-nonprinting\n\nFeedback from more experienced zig developers is verry welcome.\nIf you find any bug or you see some non-idiomatic costructs please let me know.\n\n## Usage\nsee [src/USAGE.txt](https://github.com/SuSonicTH/zigcat/blob/master/src/USAGE.txt)\n\n## Licence\nzigcat is licenced under the MIT licence\n\nsee [src/LICENSE.txt](https://github.com/SuSonicTH/zigcat/blob/master/src/LICENSE.txt)\n\n## Build requirements\nTo build zigcat you just need the zig compiler, which can be downloaded from [https://ziglang.org/download/](https://ziglang.org/download/)\n\nThere is no installation needed, just download the package for your operating system an extract the archive and add it to your `PATH`\n\n### Windows example\nexecute following commands in a windows Command Prompt (cmd.exe)\n```cmd\ncurl https://ziglang.org/builds/zig-windows-x86_64-0.11.0-dev.3777+64f0059cd.zip --output zig.zip\ntar -xf zig.zip\ndel zig.zip\nmove zig-windows-x86_64* zig\nset PATH=%cd%\\zig;%PATH%\n```\n\n### Linux example\nexecute following commands in a shell\n```bash\ncurl https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3777+64f0059cd.tar.xz --output zig.tar.xz\ntar -xf zig.tar.xz\nrm zig.tar.xz\nmv zig-linux-x86_64* zig\nexport PATH=$(pwd)/zig:$PATH\n```\n\n## Build\nIf you have zig installed and on your `PATH` just cd into the directory and execute `zig build`\n\nThe first build takes a while and when it's finished you'll find the executeable (zigcat or zigcat.exe) in zig-out/bin/\n\nYou can run the built-in uinit tests with `zig build test` If everything is ok you will see no output.\n\nOr you can run `zig test src/main.zig` that should give you the output \"All 9 tests passed.\" if everything is OK.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusonicth%2Fzigcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsusonicth%2Fzigcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusonicth%2Fzigcat/lists"}