mark

command module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 9 Imported by: 0

README

mark

Usage

The Database File

You must have a file called .bookmarks.jsonl in your $HOME directory.

It should have the following format, one item per line:

{"names": ["Hacker News", "hn"], "tags": ["news", "technology"], "url": "https://news.ycombinator.com/news"}
{"names": ["InfoQ News", "infoq"], "tags": ["news", "technology"], "url": "https://infoq.com"}
{"names": ["Mark Github Repository", "gh/mark"], "tags": ["personal", "github", "mark", "cli", "golang"], "url": "https://github.com/commondatageek/mark"}

You'll want to add good tags and names, as it will help immensely when you are searching for something 6 months from now.

Search your bookmark database

The search functionality will perform indexing on your database and match all the substrings of the words you type in against the substrings in the words in your items --including names, tags, and URL.

When it gives you search results, you can Command+Click on the URL and open it:

mark
Open a specific item

Open a specific item by giving one of its names:

mark my/cool/bookmark/name

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL