About:
Buku is a powerful bookmark manager written in Python3 and SQLite3. It's a flexible command-line solution with a private, portable, merge-able database along with seamless GUI integration.
It can auto-import bookmarks from your browser(s) or fetch the title and description of a bookmarked URL from the web. You can use your favourite editor to compose and update bookmarks. With multiple search options, including regex and a deep scan mode (particularly for URLs), it can find any bookmark instantly. Buku can look up the latest snapshot of a broken link on the Wayback Machine. There's an Easter egg to revisit random forgotten bookmarks too! Buku is too busy to track you: no hidden history, obsolete records, usage analytics or homing.
Key Features:
Store bookmarks with auto-fetched title, tags and description
Auto-import from Firefox, Google Chrome and Chromium
Open bookmarks and search results in browser
Shorten, expand URLs, browse cached page from Wayback Machine
Text editor integration
Lightweight, clean interface, custom colors
Powerful search options (regex, substring...)
Continuous search with on the fly mode switch
Portable, merge-able database to sync between systems
Import/export bookmarks from/to HTML, Markdown or Orgfile
Smart tag management using redirection (>>, >, <<)
Multithreaded full DB refresh, manual encryption support
Shell completion scripts, man page with handy examples
Privacy-aware (no unconfirmed user data collection)
How To Install Buku In Ubuntu ?
For the installation in Ubuntu we need pip3 so we have to install pip3 first :
How To Install Buku In Ubuntu 21.04 Linux ?
$ sudo apt install pip
$ sudo pip3 install buku
You can also install buku from your package manager. If the version available is dated try an alternative installation method.
If needed install this dependences :
```
apt-get install ca-certificates python3-urllib3 python3-cryptography python3-bs4
How to uninstall Buku ?
The process is similar just change remove with uninstall :
$ sudo pip3 uninstall buku
How to update buku ?
When installing buku with pip3 the repositories are added automatically so you don't need to do anything.
Usage :
usage: buku [OPTIONS] [KEYWORD [KEYWORD ...]]
Bookmark manager like a text-based mini-web.
POSITIONAL ARGUMENTS: KEYWORD search keywords
GENERAL OPTIONS: -a, --add URL [tag, ...] bookmark URL with comma-separated tags -u, --update [...] update fields of an existing bookmark accepts indices and ranges refresh title and desc if no edit options if no arguments:
EDIT OPTIONS: --url keyword bookmark link --tag [+|-] [...] comma-separated tags clear bookmark tagset, if no arguments '+' appends to, '-' removes from tagset --title [...] bookmark title; if no arguments: -a: do not set title, -u: clear title -c, --comment [...] notes or description of the bookmark clears description, if no arguments --immutable N disable web-fetch during auto-refresh N=0: mutable (default), N=1: immutable
SEARCH OPTIONS: -s, --sany [...] find records with ANY matching keyword this is the default search option -S, --sall [...] find records matching ALL the keywords special keywords - "blank": entries with empty title/tag "immutable": entries with locked title --deep match substrings ('pen' matches 'opens') -r, --sreg expr run a regex search -t, --stag [tag [,|+] ...] [- tag, ...] search bookmarks by tags use ',' to find entries matching ANY tag use '+' to find entries matching ALL tags excludes entries with tags after ' - ' list all tags, if no search keywords -x, --exclude [...] omit records matching specified keywords
ENCRYPTION OPTIONS: -l, --lock [N] encrypt DB in N (default 8) # iterations -k, --unlock [N] decrypt DB in N (default 8) # iterations
POWER TOYS: --ai auto-import from Firefox/Chrome/Chromium -e, --export file export bookmarks to Firefox format HTML export Markdown, if file ends with '.md' format: [title](url) <!-- TAGS --> export Orgfile, if file ends with '.org' format: *[[url][title]] :tags: export buku DB, if file ends with '.db' combines with search results, if opted -i, --import file import bookmarks based on file extension supports 'html', 'json', 'md', 'org', 'db' -p, --print [...] show record details by indices, ranges print all bookmarks, if no arguments -n shows the last n results (like tail) -f, --format N limit fields in -p or JSON search output N=1: URL; N=2: URL, tag; N=3: title; N=4: URL, title, tag; N=5: title, tag; N0 (10, 20, 30, 40, 50) omits DB index -j, --json [file] JSON formatted output for -p and search. prints to stdout if argument missing. otherwise writes to given file --colors COLORS set output colors in five-letter string --nc disable color output -n, --count N show N results per page (default 10) --np do not show the subprompt, run and exit -o, --open [...] browse bookmarks by indices and ranges open a random bookmark, if no arguments --oa browse all search results immediately --replace old new replace old tag with new tag everywhere delete old tag, if new tag not specified --shorten index|URL fetch shortened url from tny.im service --expand index|URL expand a tny.im shortened url --cached index|URL browse a cached page from Wayback Machine --suggest show similar tags when adding bookmarks --tacit reduce verbosity, skip some confirmations --threads N max network connections in full refresh default N=4, min N=1, max N=10 -V check latest upstream version available -g, --debug show debug information and verbose logs
SYMBOLS:
url
comment
tags
PROMPT KEYS: 1-N browse search result indices and/or ranges O [id|range [...]] open search results/indices in GUI browser toggle try GUI browser if no arguments a open all results in browser s keyword [...] search for records with ANY keyword S keyword [...] search for records with ALL keywords d match substrings ('pen' matches 'opened') r expression run a regex search t [tag, ...] search by tags; show taglist, if no args g taglist id|range [...] [>>|>|<<] [record id|range ...] append, set, remove (all or specific) tags search by taglist id(s) if records are omitted n show next page of search results o id|range [...] browse bookmarks by indices and/or ranges p id|range [...] print bookmarks by indices and/or ranges w [editor|id] edit and add or update a bookmark c id copy url at search result index to clipboard ? show this help q, ^D, double Enter exit buku
Examples :
You can find examples how to use buku from: <a href="https://github.com/jarun/buku#examples">Here</a>
Conclusion
In this article we reviewed and installed buku bookmark manager on Ubuntu Linux.
- Another article that you can be interested in is 5 Cool <a href="https://lateweb.info/1-click-install-mosh-mobile-shell-on-linux/">1 Click Install Mosh Mobile Shell On Linux</a>.<br>———————————————————————————————————————
We hope you enjoyed this <a href="https://lateweb.info/category/linux/">article</a>. if that is so please rate this page with the stars bellow and subscribe to our <a href="https://www.youtube.com/channel/UCh7Q9uaAt5-Z2lCZXX3OsvQ">YouTube channel</a> or follow us on <a href="https://twitter.com/liuskatali">twiter</a>.