{"id":18745143,"url":"https://github.com/tanema/petli","last_synced_at":"2025-11-22T21:30:15.826Z","repository":{"id":56887883,"uuid":"390395104","full_name":"tanema/petli","owner":"tanema","description":"A little pet in your console.","archived":false,"fork":false,"pushed_at":"2021-12-09T15:43:52.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-23T22:55:27.038Z","etag":null,"topics":["command-line","game","ruby","tamagotchi","tamagotchi-game"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/petli","language":"Ruby","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/tanema.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}},"created_at":"2021-07-28T15:09:41.000Z","updated_at":"2021-12-09T15:43:56.000Z","dependencies_parsed_at":"2022-08-21T00:50:50.417Z","dependency_job_id":null,"html_url":"https://github.com/tanema/petli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanema%2Fpetli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanema%2Fpetli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanema%2Fpetli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanema%2Fpetli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanema","download_url":"https://codeload.github.com/tanema/petli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239627247,"owners_count":19670844,"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":["command-line","game","ruby","tamagotchi","tamagotchi-game"],"created_at":"2024-11-07T16:17:03.010Z","updated_at":"2025-11-22T21:30:15.778Z","avatar_url":"https://github.com/tanema.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003ePetli\u003c/h1\u003e\n  \u003cp align=\"center\"\u003eVirtual Pet in your console. You must feed it, clean up after it, and play with it to keep it happy!\u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://media.giphy.com/media/pwtUe2wVhgpQIK5puU/giphy.gif\"/\u003e\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://badge.fury.io/rb/petli\"\u003e\u003cimg src=\"https://badge.fury.io/rb/petli.svg\" alt=\"Gem Version\" height=\"18\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n---\n### Usage\n\nRun `gem install petli` and then run `petli` in your command line. Run `petli --help` for more information.\n\n### Advanced usage\n\nPetli has a command line api that would allow you to do funky things like\n- have mutiple pets using `--path`\n- make a separate app that graphs happiness using `petli --status | jq '.health`\n- setup a cron job to feed your pet hourly with `petli --bread`\n- Your idea here!\n\n```\n$\u003e petli --help\nUsage: petli [options]\n    -r, --reset          Reset button to start over again\n    -s, --status         Dump pet status\n    -b, --bread          Feed your pet bread without viewing\n    -c, --candy          Feed your pet candy without viewing\n    -m, --medicine       Feed your pet candy without viewing\n    -l, --clean          Clean up any 'dirt' without viewing\n    -p, --path [PATH]    Path to your pet data (defaults to system config dir)\n```\n\n### Development\n\n```bash\n$\u003e git clone git@github.com:tanema/petli.git\n$\u003e cd petli\n$\u003e bundle install\n$\u003e rake install:local\n$\u003e petli\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanema%2Fpetli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanema%2Fpetli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanema%2Fpetli/lists"}