{"id":13523174,"url":"https://github.com/sachaos/go-life","last_synced_at":"2025-04-05T08:08:41.353Z","repository":{"id":34935146,"uuid":"153629126","full_name":"sachaos/go-life","owner":"sachaos","description":"Terminal based Conway's Game of Life. Implemented in Go.","archived":false,"fork":false,"pushed_at":"2024-12-29T10:03:04.000Z","size":52,"stargazers_count":131,"open_issues_count":4,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T07:09:07.833Z","etag":null,"topics":["conway-game","go","golang","life","terminal"],"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/sachaos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["sachaos"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-10-18T13:34:22.000Z","updated_at":"2025-01-22T11:39:38.000Z","dependencies_parsed_at":"2024-01-13T21:52:48.431Z","dependency_job_id":"c22d73cf-c22d-47e9-a6f1-17e424e845e2","html_url":"https://github.com/sachaos/go-life","commit_stats":{"total_commits":77,"total_committers":5,"mean_commits":15.4,"dds":"0.051948051948051965","last_synced_commit":"c22a0f1b479af8ff5568cd18d1029f65917f98c9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachaos%2Fgo-life","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachaos%2Fgo-life/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachaos%2Fgo-life/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachaos%2Fgo-life/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sachaos","download_url":"https://codeload.github.com/sachaos/go-life/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305935,"owners_count":20917208,"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":["conway-game","go","golang","life","terminal"],"created_at":"2024-08-01T06:00:56.452Z","updated_at":"2025-04-05T08:08:41.322Z","avatar_url":"https://github.com/sachaos.png","language":"Go","funding_links":["https://github.com/sponsors/sachaos"],"categories":["Table of Contents","\u003ca name=\"games\"\u003e\u003c/a\u003eGames"],"sub_categories":[],"readme":"# go-life\n\nTerminal based Conway's Game of Life. Implemented in Go.\n\n![demo](https://user-images.githubusercontent.com/6121271/47264728-44ec2d80-d557-11e8-8994-d4af53126fe5.gif)\n\n## Features\n\n* Run on your terminal!\n* Insert pattern from presets\n* Color themes\n* Mouse editing\n\n## Install\n\n### Binary\n\nGo to release page and download.\n\n```shell\n$ wget https://github.com/sachaos/go-life/releases/download/v0.4.0/go-life_darwin_amd64 -O /usr/local/bin/go-life\n$ chmod +x /usr/local/bin/go-life\n```\n\n### Manually Build\n\nYou need go version 1.11.\n\n```shell\n$ git clone https://github.com/sachaos/go-life.git\n$ make install\n```\n\n## How to use\n\n### Start\n\n```shell\n$ go-life\n```\n\n### Set pattern \u0026 theme\n\n```shell\n$ go-life --theme Ocean --pattern glider-gun\n```\n\n### Load pattern\n\n#### Load from STDIN\n\n```shell\n$ curl http://www.conwaylife.com/patterns/glider.rle | go-life --file -\n```\n\n#### Load from file\n\n```shell\n$ go-life --theme Ocean --file ./glider.lif\n```\n\n### Help\n\n```shell\n$ go-life --help\n```\n\n### Keymap\n\n```\nSPC: stop\nEnter: step\nc: clear\nr: random\nh: hide this message \u0026 status\np: switch preset\nt: switch theme\nLeftClick: switch state\nRightClick: insert preset\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachaos%2Fgo-life","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachaos%2Fgo-life","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachaos%2Fgo-life/lists"}