Warning
This repo is a work in progress! Needing both cleaning up and documenting.
gm-menu.mp4
- Powered by
Fzf - Track
bookmarkswithgitwip- Sync
bookmarksasJSONfiles - Encrypt
bookmarkswithGPGand push to remote
- Sync
- Encrypt local database with
AES-GCM - Support multiple
databases - Import
bookmarksfromfirefoxbased browsers - Import
bookmarksfromchromiumbased browsers - Import
bookmarksfromgitwip - Fetch
titleanddescriptionfrom new bookmark - Check bookmark
status(http status) - Support for
NO_COLORenv variable. - Configure menu
keybinds,prompt,header,preview(fzf) using aYAMLfile. - Migrate items from one database to another
- Add
docker|podmansupport priority
go install github.com/mateconpizza/gm@latestTo uninstall the program remove the binary in your go env GOPATH
$ gm --help
Simple yet powerful bookmark manager for your terminal
Usage:
gm [flags]
gm [command]
Available Commands:
new New bookmark, database, backup
rec Records management
tags Tags management
health Bookmark health
db Database management
git Git commands
io Export/Import bookmarks
conf Configuration management
help Help about any command
Flags:
-o, --open open bookmark in default browser
-e, --edit edit bookmark with preferred text editor
-r, --remove remove bookmark by query or ID
-c, --copy copy bookmark URL to clipboard
-q, --qr generate QR code for bookmark URL
-N, --notes display bookmark notes
-m, --menu interactive menu mode using fzf
--multiline output in multiline format (fzf)
-f, --format string output format [oneline|json|id|url|title|tags|desc|notes]
-t, --tag strings filter bookmarks by tag(s)
-H, --head int show first N bookmarks
-T, --tail int show last N bookmarks
-n, --name string database name (default "main.db")
--color string output with pretty colors [always|never] (default "always")
--force force action
-y, --yes assume "yes" on most questions
-v, --verbose count increase verbosity (-v, -vv, -vvv)
-h, --help help for gm
--version version for gm| Name | type | Description | Status |
|---|---|---|---|
GOMARKS_HOME |
str | Path to database/yaml | done |
GOMARKS_EDITOR |
str | Preferred text editor | done |
NO_COLOR |
int | Disable all colors | done |
π Menu support
Single/multiple selection for open, copy, edit, delete, check status.
gm-menu.mp4
β Add a bookmark
gm-add.mp4
π Edit a bookmark
gm-edit.mp4
π³ Create QR-Code
gm-qr.mp4
βοΈ Check status
gm-status.mp4
βοΈ Configuration
-
$GOMARKS_HOME/config.ymlfile
prompt: "ο Gomarks> "
header: true
preview: true
keymaps:
edit:
bind: ctrl-e
description: edit
enabled: true
hidden: false
open:
bind: ctrl-o
description: open
enabled: true
hidden: false
preview:
bind: ctrl-/
description: toggle-preview
enabled: true
hidden: false
qr:
bind: ctrl-k
description: QRcode
enabled: true
hidden: false
toggle_all:
bind: ctrl-a
description: toggle-all
enabled: true
hidden: true
yank:
bind: ctrl-y
description: yank
enabled: true
hidden: falseβ³ TODO
Use a ORM discontinued- Add multiple databases option (default.db, work.db, client.db)
- [~] Add
Syncto remote repo??? (WIP) - Drop
ErrActionAbortedin packageterminal(usesys.ErrActionAborted) - Move
config/menuto packagemenu- Drop global
Fzf
- Drop global
- Store
dbinXDG_DATA_HOME - Store
menu configinXDG_CONFIG_HOME(WIP: for now inXDG_DATA_HOME)
-
terminalpackage -
colorpackage -
filespackage
- Backups
- Databases
- From firefox
- If
databaseis locked (SQLITE_BUSY), ask user confirmation to copy file totmpdirectory and read from there.
- If
- From
chromechromium
Add a logging library- Support
NO_COLORenv var. no-color - Create a
rmsubcommand- Add
rmdatabase, backup - Add
rmrecords - Add
rmmisc... - Remove
db rm
- Add
