{"id":16803114,"url":"https://github.com/n-r-k/sxbm","last_synced_at":"2025-04-11T00:42:53.367Z","repository":{"id":37591554,"uuid":"361445258","full_name":"N-R-K/sxbm","owner":"N-R-K","description":"Simple Unix Bookmark Manager, a POSIX compliant shell script for managing bookmarks. [MIRROR OF https://codeberg.org/NRK/sxbm]","archived":false,"fork":false,"pushed_at":"2022-11-18T21:17:05.000Z","size":56,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T00:42:47.698Z","etag":null,"topics":["bookmark","bookmark-manager","cli"],"latest_commit_sha":null,"homepage":"https://codeberg.org/NRK/sxbm","language":"Shell","has_issues":false,"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/N-R-K.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}},"created_at":"2021-04-25T14:06:05.000Z","updated_at":"2024-01-19T09:53:49.000Z","dependencies_parsed_at":"2023-01-21T11:15:54.091Z","dependency_job_id":null,"html_url":"https://github.com/N-R-K/sxbm","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N-R-K%2Fsxbm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N-R-K%2Fsxbm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N-R-K%2Fsxbm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N-R-K%2Fsxbm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/N-R-K","download_url":"https://codeload.github.com/N-R-K/sxbm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322602,"owners_count":21084336,"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":["bookmark","bookmark-manager","cli"],"created_at":"2024-10-13T09:41:36.022Z","updated_at":"2025-04-11T00:42:53.349Z","avatar_url":"https://github.com/N-R-K.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sxbm\n\n[![CodeBerg](https://img.shields.io/badge/Hosted_at-Codeberg-%232185D0?style=flat-square\u0026logo=CodeBerg)](https://codeberg.org/NRK/sxbm)\n\nI needed a simple and browser-independent way of managing my bookmarks, leading to the creation of sxbm.\nIt's written in strictly POSIX compliant shell, so it should work fine on all \\*nix based operating system.\n\nsxbm stores your bookmarks in a plain text file making it easily portable.\nBookmarks are categorized via tags as opposed to the inferior folder structure found in browsers.\n\n## Installation\n\nCone the repo.\n\n\tgit clone https://codeberg.org/NRK/sxbm.git\n\nThen just copy/move the script into your $PATH.\nInstead of copying, you can also create a symlink. This way you can do a git pull to get updates.\n\n## Usage\n\n* Adding a bookmark (title and tag are optional.)\n\n```\nsxbm add link.com title +tag\n```\n\n* Opening a bookmark. You need to specify a title, tag or line\\_number.\n  If there are multiple results use `sxbm open -f` to open them all.\n\n```\nsxbm open \u003ctitle|+tag|line_number\u003e\n```\n\n* List all bookmarks.\n\n```\nsxbm ls\n```\n\n* Edit bookmarks.\n\n```\nsxbm edit\n```\n\n* Remove a bookmark.\n\n```\nsxbm rm \u003cline_number\u003e\n```\n\nRun `sxbm --help` to see more detailed usage.\n\n## Searching\n\n* Searching by tag\n\n```\nsxbm ls +tag\n```\n\n* Searching by title\n\n```\nsxbm ls title\n```\n\nBy default tag searches are non-strict while title searches are strict.\n\nIn other words, `sxbm ls +one +two` will match bookmarks that have EITHER\n`+one` OR `+two`. If you wish to search for a bookmark that contains ALL the\nspecified tags then you can pass the `-s` or `--strict` option.\ne.g `sxbm ls -s +one +two +three` will only match bookmarks that have all three\nof the tags.\n\nAs for titles, `sxbm ls aplha beta` will match bookmarks that contains BOTH\n`alpha` and `beta`. You can pass the `-S` option to search for entries that\ncontain either one of the queries.\n\nOne more thing to keep in mind is that title search also matches links.\nThe rational is that you may want to search `sxbm ls \"gentoo.org\"` to find\nbookmarks with the specified url.\n\n## Using it with Dmenu/Rofi\n\nThere's an example wrapper [script](extra/sxbm_dmenu) provided which allows you\nto open, copy and add bookmarks via dmenu/rofi.\n\n## Todo\n\n- [ ] Enhance `remove` arguments. Should take same arguments as `open`.\n- [ ] Enhance `edit` arguments. Should take similar arguments as `open`.\n- [ ] Allow reading the bookmark file via stdin and writing it out via stdout.\n      This would allow someone to easily encrypt their bookmarks if they wish.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn-r-k%2Fsxbm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn-r-k%2Fsxbm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn-r-k%2Fsxbm/lists"}