LICENSE | ||
Makefile | ||
markit | ||
markit.1 | ||
README.md |
MarkIt
Cmdline bookmark management utility written using Python3 and SQLite3. Currently under development with implemented options working.
The SQLite3 database file is stored in $HOME/.cache/bookmarks.db
for each user.
It's advisable to copy URLs directly from the browser address bar, i.e., along with the leading http://
or https://
token. markit
looks up title data (found within tags of HTML) from the web only for fully-formed HTTP or HTTPS URLs.
You can either add or update or delete record(s) in one instance. A combination of these operations are not supported in a single instance.
Search works in mysterious ways. All the keywords are treated as a single tag together. Partial sequential tag matches are shown in results. The same keywords are separately searched as unique tokens so that entries with matching URL or title data are also shown in results.
markit
is GPLv3 licensed.
If you find markit
useful, please consider donating via PayPal.
Features
- Add, update or remove a bookmark
- Add tags to bookmarks
- Optionally fetch page title data from the web (default: disabled, use
-o
) - Use (partial) tags or keywords to search bookmarks
- Open search results in browser
- Browser (Chromium and Firefox based) errors and warnings suppression
- Show all bookmarks in a go
- Delete all bookmarks
- Add a bookmark at Nth index, to fill deleted bookmark indexes
- Secure SQLite3 queries to access database
- Handle first level of redirections (reports IP blocking)
- Unicode in URL works
- UTF-8 request and response
- Works with Python 3.x
- Coloured output for clarity
- Manpage for quick reference
- Optional debug information
- Fast and clean (no ads or clutter)
- Minimal dependencies
- Open source and free
Installation
markit
requires Python 3.x to work.
- If you have git installed (the steps are tested on Ubuntu 14.04.3 x64_64):
$ git clone https://github.com/jarun/markit/ $ cd markit $ sudo make install
To remove, run:
$ sudo make uninstall
- If you do not have git installed:
Download the development version source code. Extract, cd into the directory and run:
$ sudo make install
If you do not want to install, markit
is standalone:
$ chmod +x markit $ ./markit ...
Usage
Usage: markit [OPTIONS] KEYWORDS... Bookmark manager. Your private Google. Options -a URL tag 1, tag 2, ... add a bookmark with comma separated tags -d N delete entry at index N -D delete ALL bookmarks -i N add entry at index N, works with -a, use to fill deleted index -o fetch title info from web, works with -a or -u -p show all bookmarks along with real index from database -s keyword(s) search all bookmarks for a (partial) tag or keywords -u N update entry at index N (from output of -p) -z show debug information you can either add or update or delete in one instance any other option shows help and exits markit Keys 1-N open Nth search result in browser. Enter exits markit.
Examples
To be added soon!
Goals
- Parse full page data??? Not sure, might end up writing a search engine like Google. ;)
- Optional password protection
#License
GPL v3
Copyright (C) 2015 by Arun Prakash Jana <engineerarun@gmail.com>
Developer(s)
Arun PraKash Jana <engineerarun@gmail.com>