{"id":30057352,"url":"https://github.com/ashish0kumar/cellscape","last_synced_at":"2025-08-07T23:58:18.370Z","repository":{"id":302901738,"uuid":"1013738379","full_name":"ashish0kumar/cellscape","owner":"ashish0kumar","description":"🧬 Terminal-based cellular automata playground","archived":false,"fork":false,"pushed_at":"2025-07-09T16:07:19.000Z","size":36,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-29T06:23:26.437Z","etag":null,"topics":["belousov-zhabotinsky","brians-brain","cellular-automata","cli","game-of-life","go","tui"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ashish0kumar.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-07-04T11:38:09.000Z","updated_at":"2025-07-22T06:01:07.000Z","dependencies_parsed_at":"2025-07-04T17:40:43.634Z","dependency_job_id":"927b443f-298a-4544-b9f0-00fd33e535ce","html_url":"https://github.com/ashish0kumar/cellscape","commit_stats":null,"previous_names":["ashish0kumar/cellscape"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashish0kumar/cellscape","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2Fcellscape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2Fcellscape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2Fcellscape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2Fcellscape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashish0kumar","download_url":"https://codeload.github.com/ashish0kumar/cellscape/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish0kumar%2Fcellscape/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269343299,"owners_count":24401085,"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-08-07T02:00:09.698Z","response_time":73,"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":["belousov-zhabotinsky","brians-brain","cellular-automata","cli","game-of-life","go","tui"],"created_at":"2025-08-07T23:58:10.861Z","updated_at":"2025-08-07T23:58:18.349Z","avatar_url":"https://github.com/ashish0kumar.png","language":"Go","funding_links":[],"categories":["\u003ca name=\"animation\"\u003e\u003c/a\u003eAnimation"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ecellscape\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nTerminal-based cellular automata playground\n\u003c/p\u003e\n\n\u003ctable align=\"center\"\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/user-attachments/assets/e1550df3-c425-48a0-ada3-e231e4cac5b3\" width=\"180\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/user-attachments/assets/2870d84d-523a-46b8-b289-532ec4aac05d\" width=\"180\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/user-attachments/assets/92bdf10b-3bae-4b0f-85e4-0b16f9677bdf\" width=\"180\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/user-attachments/assets/f3b38933-45b5-4166-9d43-91be7683a44e\" width=\"180\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/user-attachments/assets/671f3449-bfc1-4789-bbd3-f39894bb100d\" width=\"180\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/user-attachments/assets/31e2b66d-beac-4858-a73d-81ad1517e45d\" width=\"180\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/user-attachments/assets/445d9a5e-da8d-4358-9e89-1ea0f7194ec9\" width=\"180\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://github.com/user-attachments/assets/b7e8e77f-da08-43d4-80c3-961e0d00bd9b\" width=\"180\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n---\n\n## Features\n\n- Includes **Eight classic** cellular automata\n- Beautiful TUI **navigation menu**\n- **Real-time speed control** with up/down arrow keys\n- **Focus mode** for distraction-free fullscreen viewing\n- **Monochrome toggle** for terminal theme compatibility\n- **Generation-based coloring** creating trippy wave effects\n\n### Supported Automata\n\n| Automaton             | Description                                                                | Alias    |\n| --------------------- | -------------------------------------------------------------------------- | -------- |\n| Conway's Game of Life | The classic cellular automaton with simple rules creating complex patterns | life     |\n| Brian's Brain         | 3-state automaton with beautiful trailing patterns                         | brain    |\n| Langton's Ant         | Simple ant following two rules creating emergent complexity                | ant      |\n| Larger than Life      | Generalized Game of Life with extended neighborhoods                       | ltl      |\n| Belousov-Zhabotinsky  | Chemical reaction simulation with spiral waves                             | belousov |\n| Faders                | Multi-state cells that fade through colors before dying                    | faders   |\n| Forest Fire           | Trees grow, catch fire, and burn in natural cycles                         | forest   |\n| Wildfire              | Stochastic fire spread through vegetation                                  | wildfire |\n\n---\n\n## Installation\n\n### Via `go install`\n\n```bash\ngo install github.com/ashish0kumar/cellscape@latest\n```\n\n### Build from Source\n\n```bash\ngit clone https://github.com/ashish0kumar/cellscape.git\ncd cellscape\ngo mod tidy\ngo build\nsudo mv cellscape /usr/local/bin/\ncellscape --help\n```\n\n---\n\n## Usage\n\n### Interactive Menu\n\n```bash\ncellscape\n```\n\n### Direct Automaton Launch\n\n```bash\ncellscape run life\ncellscape run brain -m -f\ncellscape run belousov --focus --monochrome\n```\n\n**Available keywords:** life, brain, ant, ltl, belousov, faders, forest, wildfire\n\n### Key Bindings\n\n| Key         | Action                    |\n| ----------- | ------------------------- |\n| `Space`     | Pause / resume simulation |\n| `↑` / `k`   | Increase speed (max 10)   |\n| `↓` / `j`   | Decrease speed (min 1)    |\n| `s`         | Single-step while paused  |\n| `f`         | Toggle focus mode         |\n| `c`         | Toggle monochrome / color |\n| `r`         | Reset current automaton   |\n| `q` / `Esc` | Return to menu (or exit)  |\n\n---\n\n## Configuration\n\n### Command Line Options\n\n- `--monochrome`, `-m` - Start in monochrome mode\n- `--focus`, `-f` - Start in focus mode (fullscreen, no UI)\n\n### Visual Modes\n\n- **Colorful Mode:** Generation-based rainbow coloring with wave effects\n- **Monochrome Mode:** Clean grayscale using ANSI terminal colors\n- **Focus Mode:** Fullscreen grid with no status bars or help text\n\n---\n\n## Dependencies\n\n- [Bubble Tea](https://github.com/charmbracelet/bubbletea) - TUI framework\n- [Lipgloss](https://github.com/charmbracelet/lipgloss) - Styling and layout\n- [Cobra](https://github.com/spf13/cobra) - CLI framework\n\n## Contributing\n\nContributions are welcome! Please feel free to open an issue or submit a pull request.\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n        \u003ci\u003e\u003ccode\u003e\u0026copy 2025-present \u003ca href=\"https://github.com/ashish0kumar\"\u003eAshish Kumar\u003c/a\u003e\u003c/code\u003e\u003c/i\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://github.com/ashish0kumar/cellscape/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/ashish0kumar/cellscape?style=for-the-badge\u0026color=CBA6F7\u0026logoColor=cdd6f4\u0026labelColor=302D41\" alt=\"LICENSE\"\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashish0kumar%2Fcellscape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashish0kumar%2Fcellscape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashish0kumar%2Fcellscape/lists"}