{"id":41258263,"url":"https://github.com/kdevo/gofort","last_synced_at":"2026-01-23T01:55:09.415Z","repository":{"id":57625820,"uuid":"400779396","full_name":"kdevo/gofort","owner":"kdevo","description":"Yet another fortune clone, written in Go.","archived":false,"fork":false,"pushed_at":"2021-08-28T23:09:31.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T08:02:04.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/kdevo.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}},"created_at":"2021-08-28T11:48:39.000Z","updated_at":"2021-08-28T23:09:33.000Z","dependencies_parsed_at":"2022-08-26T22:23:35.838Z","dependency_job_id":null,"html_url":"https://github.com/kdevo/gofort","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kdevo/gofort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdevo%2Fgofort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdevo%2Fgofort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdevo%2Fgofort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdevo%2Fgofort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kdevo","download_url":"https://codeload.github.com/kdevo/gofort/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdevo%2Fgofort/sbom","scorecard":{"id":553113,"data":{"date":"2025-08-11","repo":{"name":"github.com/kdevo/gofort","commit":"9d910416133f6f7799fad5a37cd4d6030e17c812"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/kdevo/gofort/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/kdevo/gofort/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/kdevo/gofort/ci.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile.benchmark:1: pin your Docker image by updating golang:1.17-alpine to golang:1.17-alpine@sha256:99ddec1bbfd6d6bca3f9804c02363daee8c8524dae50df7942e8e60788fd17c9","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T11:29:44.479Z","repository_id":57625820,"created_at":"2025-08-20T11:29:44.479Z","updated_at":"2025-08-20T11:29:44.479Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28677714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"ssl_error","status_checked_at":"2026-01-23T01:00:19.529Z","response_time":144,"last_error":"SSL_read: 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":[],"created_at":"2026-01-23T01:55:09.067Z","updated_at":"2026-01-23T01:55:09.409Z","avatar_url":"https://github.com/kdevo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gofort\n[![Build](https://github.com/kdevo/gofort/actions/workflows/ci.yml/badge.svg)](https://github.com/kdevo/gofort/actions/workflows/ci.yml)\n\nYet another [`fortune`](https://wiki.archlinux.org/title/Fortune) clone, written in Go. \n\nBesides that, what's different here?\n\n1. Uses simple text files. No effort has been done to re-implement parsing the strfiles as in original fortune and some other clones.\n2. Uses a streaming approach combined with reservoir sampling instead of reading whole files into memory first.\n3. Self-contained binary, only using the standard library. Fortune files are bundled via `go:embed`.\n\n\u003e **tl;dr:** simple, efficient and self-contained.\n\n## Bootstrapping\n\nJust some ideas where you could use this.\n\n### initramfs\n\nHook it into [intramfs](https://wiki.archlinux.org/title/mkinitcpio) when you're feeling extra lucky.\nTake a look [at this repository](https://github.com/kdevo/mkinitcpio-asciilogo).\n\n### Bash\n\n```sh\necho \"~/path/to/gofort\" \u003e\u003e ~/.bashrc\n```\n\n### Zsh\n\n```sh\necho \"~/path/to/gofort\" \u003e\u003e ~/.zshrc\n```\n\n### motd\n\nThe motd setup is distro-specific:\n\n- On Debian and Ubuntu, the [`update-motd` mechanism can be used](https://wiki.ubuntu.com/UpdateMotd) with a script that launches motd. \n- On Arch, it's a bit more complicated: \n    - One way to do it is described [in this repo](https://github.com/lfelipe1501/Arch-MOTD/wiki/Installation-Guide) (replace the `update_motd.sh` with your own script). \n    - If you don't want to use PAM, you can of course also use a cronjob or systemd timer to regularly populate `/etc/motd` with a fortune by executing gofort.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdevo%2Fgofort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdevo%2Fgofort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdevo%2Fgofort/lists"}