{"id":13339634,"url":"https://gitlab.com/sivefunc/ansilife","last_synced_at":"2025-03-11T14:32:07.225Z","repository":{"id":59120385,"uuid":"39319533","full_name":"sivefunc/ansilife","owner":"sivefunc","description":"Simple unix terminal game of life viewer","archived":false,"fork":false,"pushed_at":null,"size":null,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":null,"default_branch":"main","last_synced_at":"2024-10-24T02:31:50.403Z","etag":null,"topics":["Conway's Game of Life","ansi-colors","gplv3","math","python3","terminal","unix"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0+","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://gitlab.com/uploads/-/system/project/avatar/39319533/2022-09-12-132107_496x664_scrot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-12T03:38:22.720Z","updated_at":"2022-09-12T03:38:22.720Z","dependencies_parsed_at":"2022-09-12T04:50:47.773Z","dependency_job_id":null,"html_url":"https://gitlab.com/sivefunc/ansilife","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/sivefunc%2Fansilife","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/sivefunc%2Fansilife/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/sivefunc%2Fansilife/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/sivefunc%2Fansilife/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners/sivefunc","download_url":"https://gitlab.com/sivefunc/ansilife/-/archive/main/ansilife-main.zip","host":{"name":"gitlab.com","url":"https://gitlab.com","kind":"gitlab","repositories_count":4518025,"owners_count":6814,"icon_url":"https://github.com/gitlab.png","version":null,"created_at":"2022-05-30T11:31:42.605Z","updated_at":"2024-07-18T11:24:13.055Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners"}},"keywords":["Conway's Game of Life","ansi-colors","gplv3","math","python3","terminal","unix"],"created_at":"2024-07-29T19:21:07.817Z","updated_at":"2025-03-11T14:32:06.366Z","avatar_url":"https://gitlab.com/uploads/-/system/project/avatar/39319533/2022-09-12-132107_496x664_scrot.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# AnsiLife\n\nAnsiLife is a Simple Unix terminal [Game of life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life)\nviewer written in Python that utilizes ansi escape sequences to render the generations into the terminal.\n\n![Logo](Images/gameplay.gif)\n\n## Features\n\n- Ansi Escape Sequences\n- Dark mode :O\n- RLE encoder and decoder (to play and save pattern)\n- GIF recorder (every generation will be recorded as a gif)\n- Generate random patterns\n- Change pattern size\n- Choose delay between generation\n\n# Patterns\n\n| Glider \t\t       | Blinker \t\t\t| Pulsar \t\t       |\n| :---:  \t\t       | :---:    \t\t\t| :---: \t\t       |\n| ![glider](Images/glider.gif) | ![blinker](Images/blinker.gif) | ![pulsar](Images/pulsar.gif) |\n\n## Requirements\n\n- Unix like system\n- Python \u003e= 3.9\n- Support to ansi escape sequences and [1bit color](https://en.wikipedia.org/wiki/Color_depth)\n- [Pillow](https://github.com/python-pillow/Pillow)\n\n# Gosper glider gun in dark mode\n![ggg](Images/gosper-glider-gun.gif)\n\n## Arguments\n-  `-h,  --help            → show this help message and exit`\n-  `-v,  --version         → show program's version number and exit`\n-  `-p,  --pattern         → path of the pattern file encoded in erl format`\n-  `-g,  --gen             → number of generations to occur in pattern`\n-  `-d,  --delay           → delay between each generation`\n-  `-r,  --rows            → number of rows that pattern should have`\n-  `-c,  --columns         → number of columns that pattern should have`\n-  `-f,  --fill            → number of rows and columns the same as terminal screen`\n-  `-rm, --reduce-matrix   → reduce matrix border if it's not being used by pattern`\n-  `-em, --expand-matrix   → expand matrix border if it's being used by pattern`\n-  `-sv, --save            → save the last generation of pattern to a given path encoded in rle`\n-  `-dk, --dark-mode       → graphics of pattern will be black background and white foreground`\n-  `--gif                  → save all the generations into a gif (10 fps)`\n\n## Made by [Sivefunc](https://gitlab.com/sivefunc)\n## Licensed under [GPLv3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fsivefunc%2Fansilife","html_url":"https://awesome.ecosyste.ms/projects/gitlab.com%2Fsivefunc%2Fansilife","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fsivefunc%2Fansilife/lists"}