{"id":15282766,"url":"https://github.com/xyproto/fortunecraft","last_synced_at":"2026-04-02T18:32:19.235Z","repository":{"id":223561925,"uuid":"760881933","full_name":"xyproto/fortunecraft","owner":"xyproto","description":"Craft fortunes using Ollama","archived":false,"fork":false,"pushed_at":"2025-10-08T07:11:54.000Z","size":1768,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-08T09:10:29.172Z","etag":null,"topics":["ai","art","command-line","command-line-utility","fortune","fortune-cookie","fortune-mod","fun","llm","llms","ollama","terminal","text-generation","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xyproto.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":"2024-02-20T20:52:48.000Z","updated_at":"2025-10-08T07:11:57.000Z","dependencies_parsed_at":"2024-06-21T12:52:12.430Z","dependency_job_id":"f15e4505-5f43-4179-bee2-932d0f71f492","html_url":"https://github.com/xyproto/fortunecraft","commit_stats":null,"previous_names":["xyproto/fortune9000","xyproto/fortunecraft"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/xyproto/fortunecraft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Ffortunecraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Ffortunecraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Ffortunecraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Ffortunecraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xyproto","download_url":"https://codeload.github.com/xyproto/fortunecraft/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Ffortunecraft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31312917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","art","command-line","command-line-utility","fortune","fortune-cookie","fortune-mod","fun","llm","llms","ollama","terminal","text-generation","utility"],"created_at":"2024-09-30T14:39:27.121Z","updated_at":"2026-04-02T18:32:19.215Z","avatar_url":"https://github.com/xyproto.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FortuneCraft\n\nOutput fortunes by using Ollama and a user-defined text generation model.\n\n`fortunecraft` has a wider selection of fortunes than the good old `fortune` program.\n\nOne of the goals for this utility is to be one of the first Arch Linux packages that depends on Ollama and `ollama-environment`, to help open up this path for other packages and applications.\n\n### Requirements\n\nRequires an Ollama server to be up and running, and the selected model to be able to run / be evaluated, in terms of CPU and memory. Using a GPU is optional.\n\n* `OLLAMA_HOST` can be used to set a different host address than `localhost:11434` for the Ollama server.\n\n### Installation\n\n    go install github.com/xyproto/fortunecraft@latest\n\nThen place `~/go/bin` in the `PATH`, or install `~/go/bin/fortunecraft` somewhere else, if you want.\n\n* If you want to use a different model than the default one, install [`llm-manager`](https://github.com/xyproto/llm-manager) and select a model for the text generation task (can also be configured by editing `~/.config/llm-manager/llm.conf` or `/etc/llm.conf`).\n\n### Example output\n\n```\n./fortunecraft\nThe best way to predict the future is to invent it.\n\n❯ ./fortunecraft\nThe future is a tapestry woven with threads of chance and choice.\n\n❯ fortunecraft -giz\nYeet your fears to the wind 🌬️🚀 You're boutta slay.\n\n❯ ./fortunecraft -eNb\nResistance is futile!\n```\n\n### Flags\n\n```\nAvailable Flags:\n-a, --absurd           Be absurd\n-B, --boomer           Boomer style\n-b, --borg             Make it about Borg\n-c, --cats             Make it about cats\n-o, --computer         Make it about computers\n-D, --delusional       Be delusional\n-d, --dogs             Make it about dogs\n-e, --evil             Be evil\n-f, --fantasy          Make it about fantasy\n-z, --genz             Make it more Gen Z\n-g, --good             Be good\n-N, --inappropriate    Be inappropriate\n-i, --inspire          Be inspirational\n-t, --international    Be international\n-I, --ironic           Be ironic\n-k, --keyword string   Specify a custom keyword\n-1, --leet             1337 style\n-l, --logical          Make it more logical\n-n, --ninja            Make it about ninjas\n-O, --old              Use language from 100 years ago\n-p, --pirate           Write like a pirate\n-P, --political        Be political\n-y, --pony             Make it about ponies\n-A, --praise           Fill it with praise\n-r, --robot            Make it about robots\n-R, --romantic         Add a romantic touch to the fortune\n-s, --sarcastic        Generate a sarcastic fortune\n-C, --scifi            Make it sci-fi related\n-u, --user             Make it about the current user\n-V, --version          Output the current version\n-w, --weird            Be weird\n\nExamples:\nfortunecraft -giz      - Generate good inspirational GenZ fortunes\nfortunecraft -eNb      - Generate evil inappropriate Borg fortunes\nfortunecraft -gaCy     - Generate good absurd sci-fi fortunes about ponies\nfortunecraft -iep      - Generate inspirational evil pirate fortunes\nfortunecraft -sPB      - Generate sarcastic political boomer fortunes\nfortunecraft -I -k AI  - Generate ironic fortunes about AI\n```\n\n### General info\n\n* Version: 1.8.3\n* License: Apache 2\n* Author: Alexander F. Rødseth \u0026lt;xyproto@archlinux.org\u0026gt;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Ffortunecraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxyproto%2Ffortunecraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Ffortunecraft/lists"}