{"id":21161187,"url":"https://github.com/hasnep/roc-fortune","last_synced_at":"2025-03-14T16:10:33.386Z","repository":{"id":217613023,"uuid":"744338357","full_name":"Hasnep/roc-fortune","owner":"Hasnep","description":"🥠 A replacement for the fortune UNIX command in Roc","archived":false,"fork":false,"pushed_at":"2024-01-17T05:25:18.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T09:27:22.726Z","etag":null,"topics":["fortune","roc","roc-lang"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hasnep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-17T05:00:16.000Z","updated_at":"2024-05-06T00:11:36.000Z","dependencies_parsed_at":"2024-02-02T21:30:59.336Z","dependency_job_id":null,"html_url":"https://github.com/Hasnep/roc-fortune","commit_stats":null,"previous_names":["hasnep/roc-fortune"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnep%2Froc-fortune","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnep%2Froc-fortune/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnep%2Froc-fortune/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hasnep%2Froc-fortune/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hasnep","download_url":"https://codeload.github.com/Hasnep/roc-fortune/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243606954,"owners_count":20318314,"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":["fortune","roc","roc-lang"],"created_at":"2024-11-20T13:08:45.170Z","updated_at":"2025-03-14T16:10:33.381Z","avatar_url":"https://github.com/Hasnep.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Roc Fortune\n\nA replacement for the fortune UNIX command in Roc.\n\n## Usage\n\nAfter cloning the repo, build the `fortune` binary.\n\n```shell\nmkdir -p bin\nroc build --output=bin/fortune --optimize src/main.roc\n```\n\nCreate a fortunes file in `$XDG_CONFIG_HOME/roc-fortune/fortunes.txt` or `$HOME/.config/roc-fortune/fortunes.txt` with a list of fortunes separated by new lines.\n\nRun the fortune command to get a random fortune.\n\n```shell\nbin/fortune\n```\n\nExample output:\n\n```text\n❱ bin/fortune\nWhy do they call it oven when you of in the cold food of out hot eat the food?\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasnep%2Froc-fortune","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasnep%2Froc-fortune","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasnep%2Froc-fortune/lists"}