Until now I was not able to find a flexible bookmarking solution that is working on the commandline and synchronisable with git. I therefore wrote this script to create a maildir and save my bookmarks as mails. The saved bookmarks can then be accessed by any email client supporting maildir. Examples are mutt/neomutt or Thunderbird.
mbm is a Perl script. It uses
Add a bookmark
mbm add https://github.com/jwbargsten/mbookmarks mbm a https://github.com/jwbargsten/mbookmarks mbm a --note 'cool repo' --tag perl --tag apps https://github.com/jwbargsten/mbookmarks
mbm mutt mbm m
Execute git commands in the mbm repo (
mbm git ... mbm g ...
Use mbm open as pager to open the URLs in xdg-open
set editor="vim -f" set my_name="Name" set realname = $my_name macro index,pager X "<pipe-entry>mbm open<enter>" macro index,pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview' ignore * unignore x-bookmark-url x-bookmark-tags from to date subject