{"id":13576657,"url":"https://github.com/linhx/tbmk","last_synced_at":"2025-04-05T08:32:45.428Z","repository":{"id":63292066,"uuid":"565340047","full_name":"linhx/tbmk","owner":"linhx","description":"A commands bookmark for terminal 🔖","archived":false,"fork":false,"pushed_at":"2024-02-25T02:54:31.000Z","size":3512,"stargazers_count":331,"open_issues_count":2,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-02T15:31:05.979Z","etag":null,"topics":["go","golang","terminal","terminal-bookmark"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linhx.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":"2022-11-13T04:22:42.000Z","updated_at":"2024-07-23T23:29:04.000Z","dependencies_parsed_at":"2024-02-01T10:31:23.520Z","dependency_job_id":"311a9865-96f1-464c-b3a1-616aa9ecfcc6","html_url":"https://github.com/linhx/tbmk","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhx%2Ftbmk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhx%2Ftbmk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhx%2Ftbmk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhx%2Ftbmk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linhx","download_url":"https://codeload.github.com/linhx/tbmk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223176504,"owners_count":17100640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["go","golang","terminal","terminal-bookmark"],"created_at":"2024-08-01T15:01:12.534Z","updated_at":"2025-04-05T08:32:45.396Z","avatar_url":"https://github.com/linhx.png","language":"Go","funding_links":[],"categories":["Go","terminal"],"sub_categories":[],"readme":"# Tbmk - Terminal bookmarker\n\n![](https://github.com/linhx/tbmk/actions/workflows/go.yml/badge.svg)\n\nA commands bookmark for shells\n\n![demo](./tbmk.gif)\n\n\n## Worked on\n\n- Linux: bash, zsh, fish\n- Mac: zsh\n\n## Features\n\n1. Bookmark manager.\n2. Command placeholder. Allow to input value.\n\n## How to use\n\n- Press `Ctrl+T` in the shell to create an item\n- Press `Tab/Shift+Tab` to switch between inputs\n- Placeholder syntax: `{{name|default value}}`. name must be in `camelCase`\n- Escaping Placeholder: `\\{{name}}`\n- Press `Ctrl+A` to select all placeholder value\n- Press `Ctrl+Space` in the shell to search for items. You can type keywords before press `Ctrl+Space`\n  - Press `Tab/Shift+Tab, Down/Up` to select item.\n- In the result screen, select an item then press `Ctrl + D` to delete it\n- Override the old one by add new command with the same title\n\nThe data are stored in `~/.tbmk`. You can backup or edit it directly.\n\n## How to install\n\n1. Download built file on release page\n2. Extract the file. e.g. /somepath/tbmk\n3. Run `cd /somepath/tbmk`\n4. Run `./install` (don't install by execute `/absolute-path/install`), it will appends keybinding to `~/.bashrc`, `~/.zsh` and `~/.config/fish/config.fish`\n5. Restart your shell or reload config file:\n    - `source ~/.bashrc # bash`\n    - `source ~/.zshrc # zsh`\n    - `source ~/.config/fish/config.fish #fish`\n\n## How to update\n\nJust extract and override the old version's files\n\n## Development\n\n### Run\n\n```shell\nAPP_ENV=dev go run . save\nAPP_ENV=dev go run . search\n```\n\n### Build\n\n```shell\ngo build .\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinhx%2Ftbmk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinhx%2Ftbmk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinhx%2Ftbmk/lists"}