{"id":19601557,"url":"https://github.com/berttejeda/bert.cheater","last_synced_at":"2026-06-08T22:32:27.674Z","repository":{"id":252887226,"uuid":"841490757","full_name":"berttejeda/bert.cheater","owner":"berttejeda","description":"General-purpose cheatsheet tool written in Go","archived":false,"fork":false,"pushed_at":"2024-08-14T16:34:26.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-26T13:38:31.188Z","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/berttejeda.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-12T14:08:24.000Z","updated_at":"2024-08-14T16:34:29.000Z","dependencies_parsed_at":"2024-08-13T05:29:54.047Z","dependency_job_id":"7bba10f0-6389-449d-93c7-2caa9180678a","html_url":"https://github.com/berttejeda/bert.cheater","commit_stats":null,"previous_names":["berttejeda/bert.cheater","berttejeda/bt-cheater"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/berttejeda/bert.cheater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berttejeda%2Fbert.cheater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berttejeda%2Fbert.cheater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berttejeda%2Fbert.cheater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berttejeda%2Fbert.cheater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berttejeda","download_url":"https://codeload.github.com/berttejeda/bert.cheater/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berttejeda%2Fbert.cheater/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34083848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-11T09:18:54.110Z","updated_at":"2026-06-08T22:32:27.658Z","avatar_url":"https://github.com/berttejeda.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [Introduction](#introduction)\n- [Configuration file](#configuration-file)\n- [Usage](#usage)\n  - [Usage examples](#usage-examples)\n- [Tips](#tips)\n- [How do I get started?](#how-do-i-get-started)\n  - [Installation](#installation)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n# Introduction\n\nThis is a Golang rewrite of the python equivalent [bert.cheater.python](https://github.com/berttejeda/bert.cheater.python).\n\nThe tool provides a way search through snippets of text stored in plain-text files using keywords, and all from the command-line.\n\nThe search logic relies on a simple structure for the text: a cheat _header_ and _body_, e.g.\n\n```\n# python ternary assignments # ternary # variables\n    This is a note on python ternary variable assignments\n# bash loops # loops\n    This is text on bash loop structures\n# civil # war # us\n    Dates: Apr 12, 1861 - May 9, 1865\n```\n\nAs illustrated above, the header is comprised of _Cheat Terms_, which are keywords delimited by octothorpes (#). \n\nThe whitespace padding is optional and improves readability.\n\n# Configuration file\n\n`bert.cheater` can read yaml config files formatted as:\n\n```yaml\nsearch:\n  paths: # Where to search for notes\n    - ~/Documents/workspace/tmp\n    - ~/Documents/workspace/tmp2\n    - ~/Documents/workspace/tmp3\n  filters: # Files to filter against\n    - md\n    - txt\nany: false # Match any vs all topics, not yet implemented\nnopause: false # If true, don't pause between matched topics\n```\n\nIf no config file is specified, the tool will attempt to read one from the following locations, in order of precedence:\n\n- /etc/bert.cheater/config.yaml\n- ./config.yaml\n- ~/.bert.cheater/config.yaml\n\n# Usage\n\n`bert.cheater --help`:\n\n```\nusage: bert.cheater [\u003cflags\u003e] \u003ccommand\u003e [\u003cargs\u003e ...]\n\nSearch through your markdown notes by keyword\n\n\nFlags:\n      --[no-]help          Show context-sensitive help (also try --help-long and --help-man).\n  -v, --[no-]verbose       Enable verbose mode\n  -d, --[no-]debug         Enable debug mode\n  -J, --[no-]json-logging  Enable json log format\n  -c, --config=CONFIG      Override Config File to use\n      --[no-]version       Show application version.\n\nCommands:\nhelp [\u003ccommand\u003e...]\n    Show help.\n\nfind [\u003cflags\u003e] [\u003cargs\u003e...]\n    Retrieve cheat notes and display in terminal\n```\n\n`bert.cheater find --help`:\n\n```\nusage: bert.cheater find [\u003cflags\u003e] [\u003cargs\u003e...]\n\nRetrieve cheat notes and display in terminal\n\n\nFlags:\n      --[no-]help          Show context-sensitive help (also try --help-long and --help-man).\n  -v, --[no-]verbose       Enable verbose mode\n  -d, --[no-]debug         Enable debug mode\n  -J, --[no-]json-logging  Enable json log format\n  -c, --config=CONFIG      Override Config File to use\n      --[no-]version       Show application version.\n  -a, --[no-]any           Match 'any' topic as opposed to 'all'\n  -n, --[no-]no-pause      Don't pause between matched topics\n  -f, --filters=md... ...  File extensions to math when searching\n  -p, --paths=. ...        File search paths\n\nArgs:\n  [\u003cargs\u003e]  Topics to match\n```\n\n## Usage examples\n\nFor your convenience, see the [examples](examples) directory.\n\n# Tips\n\nAs bodies of text may overlap in their keyword designation, specifying multiple terms\ncan help narrow down search results if you specify a search condition.\n\nAs such, the default search logic is _all_, where all search terms must occur in the topic header (logically equivalent to AND).\n\nNot Yet Implemented: If you want to broaden your search criteria, use the `-a/--any` flag, instructing `bert.cheater` to consider _any_ search term present in the topic header (logically equivalent to OR).\n\n# How do I get started?\n\n## Installation\n\n* Install via `go install`\u003cbr /\u003e\n`go install github.com/berttejeda/bert.cheater@latest`\n* Download a [release](https://github.com/berttejeda/bert.cheater/releases)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberttejeda%2Fbert.cheater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberttejeda%2Fbert.cheater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberttejeda%2Fbert.cheater/lists"}