{"id":13437125,"url":"https://github.com/mitnk/cicada","last_synced_at":"2025-05-14T01:08:11.737Z","repository":{"id":39060529,"uuid":"84448164","full_name":"mitnk/cicada","owner":"mitnk","description":"An old-school bash-like Unix shell written in Rust","archived":false,"fork":false,"pushed_at":"2024-10-26T07:29:58.000Z","size":916,"stargazers_count":991,"open_issues_count":3,"forks_count":47,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-02T00:36:14.486Z","etag":null,"topics":["cicada","linux","shell","unix"],"latest_commit_sha":null,"homepage":"https://hugo.wang/cicada/","language":"Rust","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/mitnk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2017-03-09T13:59:51.000Z","updated_at":"2025-03-27T23:55:21.000Z","dependencies_parsed_at":"2023-02-09T22:30:41.228Z","dependency_job_id":"91694012-204b-4707-bb92-6bf3c2be1c9f","html_url":"https://github.com/mitnk/cicada","commit_stats":{"total_commits":409,"total_committers":10,"mean_commits":40.9,"dds":"0.022004889975550168","last_synced_commit":"9151630cb1826ab38e77806eb4c0dd9e9ef46c33"},"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitnk%2Fcicada","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitnk%2Fcicada/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitnk%2Fcicada/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitnk%2Fcicada/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitnk","download_url":"https://codeload.github.com/mitnk/cicada/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247789931,"owners_count":20996410,"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":["cicada","linux","shell","unix"],"created_at":"2024-07-31T03:00:54.495Z","updated_at":"2025-04-08T06:29:17.834Z","avatar_url":"https://github.com/mitnk.png","language":"Rust","readme":"# Cicada Unix Shell\n\n[![Latest Version](https://img.shields.io/crates/v/cicada.svg)](https://crates.io/crates/cicada)\n\nCicada is a simple Unix shell written in Rust.\n\n## Documents\n\n- [Install cicada](https://github.com/mitnk/cicada/blob/master/docs/install.md)\n- [Environment Variables](https://github.com/mitnk/cicada/tree/master/docs/envs.md)\n- [Cicada Builtins](https://github.com/mitnk/cicada/tree/master/docs/builtins.md)\n- [Completion](https://github.com/mitnk/cicada/tree/master/docs/completion.md)\n- [RC File](https://github.com/mitnk/cicada/tree/master/docs/rc-file.md)\n- [History](https://github.com/mitnk/cicada/tree/master/docs/history.md)\n- [Job Control](https://github.com/mitnk/cicada/tree/master/docs/jobc.md)\n- [Customize Prompt](https://github.com/mitnk/cicada/tree/master/docs/prompt.md)\n- [Scripting](https://github.com/mitnk/cicada/tree/master/docs/scripting.md)\n\n## Try out cicada with Docker\n\n```\n$ docker run --rm -it mitnk/cicada\n(in-cicada) $ cinfo\n```\n\n## Features\n\n### Run programs and pipelines\n\n```\n$ ls | head -n3\nDesktop\nDocuments\nDownloads\n\n$ echo foo,bar | awk -F \",\" '{print $2, $1}'\nbar foo\n```\n\n### With redirections\n\n```\n$ ls file-not-exist 2\u003e\u00261 | wc \u003e e.txt\n$ cat e.txt\n       1       7      46\n```\n\n### Command substitution\n\n```\n$ ls -l `which sh`\n-r-xr-xr-x  1 root  wheel  618512 Oct 26  2017 /bin/sh\n\n$ echo \"Time is $(date).\"\nTime is Sun Sep  2 12:04:13 CST 2018.\n```\n\n### Run multiple commands (with logical)\n\n```\n$ echo foo; echo bar\nfoo\nbar\n\n$ echo foo \u0026\u0026 echo bar\nfoo\nbar\n\n$ echo foo || echo bar\nfoo\n```\n\n### Math arithmetic directly in the shell!\n\n```\n$ 1 + 2 * 3 - 4\n3\n$ (1 + 2) * (3 - 4) / 8.0\n-0.375\n$ 2 ^ 31\n2147483648\n```\n\n## Cicada is also a library (BETA)\n\nRead APIs here: [https://docs.rs/cicada/](https://docs.rs/cicada/).\n","funding_links":[],"categories":["Applications","Rust","应用程序 Applications","应用 Applications","应用","Projects"],"sub_categories":["System tools","系统工具 System tools","系统工具"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitnk%2Fcicada","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitnk%2Fcicada","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitnk%2Fcicada/lists"}