1.0.1 • Published 2 years ago
muezza-bookmarks v1.0.1
Muezza-Bookmarks
This is script I wrote for myself to manage bookmarks. You may or may not find it useful to yourself as well.
I will not provide support for this project or accept PRs.
Use
Set an env var called BOOKMARKS_FILE
that points to a JSON file on your system. You will
probably want to set this in your bashrc file.
The file should be formatted like so:
{
"banking": [
{
"id": "ba1",
"name": "Credit Union",
"url": "https://www.creditunion.com/"
},
{
"id": "ba2",
"name": "Shady Loans Inc",
"url": "https://www.loansrus.com"
}
],
"entertainment": [
{
"id": "et1",
"name": "Youtube",
"url": "https://youtube.com"
}
]
}
Bookmark IDs must be unique for the program to run, however there are no other restrictions or sanity checks.
The program is relying on you to provide a proper configuration. If you name two collections the same thing that's on you.
Arg Options
lc
: List collection nameslci [collectionName]
: List items in a collection. Partial names are supported (ie. 'ba' for 'banking')op [bookmarkId]
: Opens a bookmark ID.
OS Support
This probably only works on Linux, it might work on Windows, but is untested.