Skip to main content

Index and search bookmarks from the command line.

Project description

Index and search browser bookmarks from the command line.

Currently only works with Firefox bookmarks.

Install

pip install marcus

(hint: use --user to install into ~/.local/bin/)

Then run marcus (or ~/.local/bin/marcus) with no arguments to get help.

Index your bookmarks

The first time you run this it will take a while, depending on how many bookmarks you have.

$ marcus --index
Start 2017-01-12 21:20
Indexing 10 / 1081 bookmarks
Indexing https://www.mozilla.org/en-US/firefox/central/ (0 / 1081) 0% done
Indexing http://www.ubuntu.com/ (1 / 1081) 0% done
...

Automated indexing

Edit your user’s crontab with crontab -e and then add a line at the bottom like this:

17 * * * * $PATH-TO-BINARY/marcus --index >> $HOME/.marcus.log 2>&1

Which will run the indexer every hour at 17 minutes past the hour. Pages which have already been indexed will not be indexed again.

Patches welcome. Enjoy!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for marcus, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size marcus-0.3.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page