{"id":42669024,"url":"https://github.com/mdm-code/zet","last_synced_at":"2026-01-29T10:22:32.542Z","repository":{"id":116289323,"uuid":"390514379","full_name":"mdm-code/zet","owner":"mdm-code","description":"Private Zettelkasten script. It lets you run your own instance of Zettelkasten on Unix systems.","archived":false,"fork":false,"pushed_at":"2024-02-25T13:55:51.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-25T14:48:22.833Z","etag":null,"topics":["posix","shell","unix","zettelkasten"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdm-code.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}},"created_at":"2021-07-28T21:44:32.000Z","updated_at":"2023-09-26T12:03:46.000Z","dependencies_parsed_at":"2024-02-25T14:43:46.563Z","dependency_job_id":null,"html_url":"https://github.com/mdm-code/zet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdm-code/zet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdm-code%2Fzet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdm-code%2Fzet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdm-code%2Fzet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdm-code%2Fzet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdm-code","download_url":"https://codeload.github.com/mdm-code/zet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdm-code%2Fzet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28875450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T09:47:23.353Z","status":"ssl_error","status_checked_at":"2026-01-29T09:47:19.357Z","response_time":59,"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":["posix","shell","unix","zettelkasten"],"created_at":"2026-01-29T10:22:31.704Z","updated_at":"2026-01-29T10:22:32.527Z","avatar_url":"https://github.com/mdm-code.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# POSIX Zettelkasten\n\nThis is a single-script implementation of a text-based Zettelkasten. There is a\nsingle multicommand following the Busybox approach that relies on the names of\nhardlinks to pick the right path for the command execution.\n\n\n## Setup\n\nCheck the `zet` Ansbile role in my dotfiles configuration to get an idea where\nand how the script can be copied to take full advantage of it.\n\n\n## Usage\n\nHere are the options:\n\n* Use `zet` to create a new entry in the zettel. \n* Use `zetf` to find an entry through an interactive list (with `fzf`).\n* Use `zetp` to paste full file paths based on entry names to Vi/Vim/Neovim\n  buffer.\n* Use `zetg` to grep entries for their contents and put their names in the\n  buffer.\n\n`zetp` matches file names and `zetg` matches file contents. Both command accept\npositional arguments of standard input (FD1).\n\nI intend both to be used inside Vi and its derivatives to paste and create\nlinks to other entries in Zettelkasten. Zettel links can then be navigated with\n`gf` in Vi normal mode. You can switch back and forth between Vi buffers.\n\nUse magic Vi wands. Type in query names in Vi buffer and type `!!zetp` or\n`!!zetg` in the normal mode. This will insert links if they're returned.\n\n\n## Interactions\n\n\n### Inside Vim\n\nI use `zetg` and `zetp` inside a Vi session to paste file paths. And then\ni use `gf` in the normal mode to go these files.\n\n\n### From the command line\n\nAlso, one might want to open multiple files at once from the command line.\nHere is how to do it.\n\n```sh\nvim -O $(zetg posix)\n```\n\nThis command is going to open all files in separate splits. Without the\n`-O` parameter, files would be opened is separate buffers, which is also\nnice.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdm-code%2Fzet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdm-code%2Fzet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdm-code%2Fzet/lists"}