{"id":16406812,"url":"https://github.com/terror/notes","last_synced_at":"2026-06-13T18:38:17.461Z","repository":{"id":168851273,"uuid":"571352543","full_name":"terror/notes","owner":"terror","description":"A lightweight command-line utility for managing plain text notes","archived":false,"fork":false,"pushed_at":"2025-12-23T19:45:54.000Z","size":825,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-13T11:46:13.382Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terror.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-27T23:32:18.000Z","updated_at":"2026-05-01T11:23:29.000Z","dependencies_parsed_at":"2023-06-19T16:54:00.966Z","dependency_job_id":null,"html_url":"https://github.com/terror/notes","commit_stats":null,"previous_names":["terror/notes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/terror/notes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fnotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fnotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fnotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fnotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terror","download_url":"https://codeload.github.com/terror/notes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fnotes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34296380,"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-13T02:00:06.617Z","response_time":62,"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-10-11T06:11:02.345Z","updated_at":"2026-06-13T18:38:17.456Z","avatar_url":"https://github.com/terror.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## notes 📝\n\n[![build](https://img.shields.io/github/actions/workflow/status/terror/notes/ci.yaml?branch=master\u0026style=flat\u0026labelColor=1d1d1d\u0026color=424242\u0026logo=GitHub%20Actions\u0026logoColor=white\u0026label=build)](https://github.com/terror/notes/actions/workflows/ci.yaml)\n\n**notes** is a simple command-line utility that helps with managing a flat\ndirectory of notes powered by fzf, fd and ripgrep.\n\n\u003cimg width=\"1667\" alt=\"screenshot\" src=\"screenshot.png\" /\u003e\n\n## Installation\n\nYou can install the script onto your machine by simply copying it into the\nappropriate location:\n\n```bash\ncurl https://raw.githubusercontent.com/terror/notes/master/notes -o /usr/local/bin/notes\nchmod +x /usr/local/bin/notes\n```\n\n## Usage\n\n`notes` requires a few environment variables to be set, namely:\n\n- `$EDITOR`: The text editor you'll be editing your notes with [default: `vim`]\n- `$NOTE_DIR`: Path to your notes directory [default: `~/notes`]\n- `$NOTE_EXT`: File extension of your notes [default: `md`]\n- `$NOTE_FORMAT_COMMAND`: Command to run when formatting notes [default: `prettier --single-quote --prose-wrap always --write`]\n\nMoreover, a few external dependencies are required for full usage of the\nprogram, namely:\n\n- [`bat`](https://github.com/sharkdp/bat) - A cat clone\n- [`fd`](https://github.com/sharkdp/fd) - A fast and user-friendly alternative to find\n- [`fzf`](https://github.com/junegunn/fzf) - A fuzzy file finder\n- [`prettier`](https://github.com/prettier/prettier) (if `$NOTE_FORMAT_COMMAND` is set to use it) - A document formatter\n- [`ripgrep`](https://github.com/BurntSushi/ripgrep) - A line-oriented search tool\n\nBelow are the available ways you can interact with the program:\n\n```present notes help\nA simple note management CLI powered by fzf, fd, and ripgrep.\n\nUsage: notes [COMMAND]\n\nAvailable commands:\n  d | daily         Open up todays note\n  h | help          Show this message\n  k | keybindings   View all fzf window keybindings\n  s | search        Start a full-text search\n```\n\nRunning `notes` without any arguments will spawn an interactive `fzf` window\nthat lets you perform actions on your notes directory.\n\n`notes` sets a bunch of keybindings within the `fzf` window for note\ninteractions:\n\n```\n\u003cctrl-\\\u003e Toggle the preview window\n\u003cctrl-c\u003e Exit\n\u003cctrl-d\u003e Delete the selected file\n\u003cctrl-e\u003e Create a new file whose name is the current query string\n\u003cctrl-f\u003e Format the selected file\n\u003cctrl-j\u003e Scroll down the preview window\n\u003cctrl-k\u003e Scroll up the preview window\n\u003cctrl-r\u003e Reload the result buffer\n\u003center\u003e  Edit the selected file\n```\n\nMost notably, you can create and remove notes using `ctrl-e` and `ctrl-d`.\n\n## Prior Art\n\nI'm not aware of any similar tool out there. I suppose it is loosely inspired by\nzettelkasten-based tools, with the goal of being very simple to use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterror%2Fnotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterror%2Fnotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterror%2Fnotes/lists"}