概要:
Bukuは、Python3とSQLite3で記述された強力なブックマークマネージャーです。これは、シームレスなGUI統合を備えた、プライベートでポータブルなマージ可能なデータベースを備えた柔軟なコマンドラインソリューションです。
ブラウザからブックマークを自動インポートしたり、WebからブックマークされたURLのタイトルと説明を取得したりできます。お気に入りのエディタを使用して、ブックマークを作成および更新できます。正規表現やディープスキャンモード(特にURLの場合)を含む複数の検索オプションを使用すると、任意のブックマークを即座に見つけることができます。ブクは、ウェイバックマシンで壊れたリンクの最新のスナップショットを検索できます。ランダムに忘れられたブックマークを再訪するためのイースターエッグもあります!ブクは忙しすぎてあなたを追跡できません。隠された履歴、廃止されたレコード、使用状況分析、ホーミングはありません。
主な機能:
- 自動フェッチされたタイトル、タグ、説明を使用してブックマークを保存します
- Firefox、Google Chrome、Chromiumからの自動インポート
- ブラウザでブックマークと検索結果を開きます
- 短縮、URLの展開、WaybackMachineからのキャッシュページの参照
- テキストエディタの統合
- 軽量でクリーンなインターフェース、カスタムカラー
- 強力な検索オプション(正規表現、部分文字列…)
- オンザフライモードスイッチを使用した継続的な検索
- システム間で同期するためのポータブルでマージ可能なデータベース
- HTML、Markdown、またはOrgfileとの間でブックマークをインポート/エクスポートします
- リダイレクトを使用したスマートタグ管理(>>、>、<<)
- マルチスレッドの完全なDB更新、手動暗号化サポート
- シェル完了スクリプト、便利な例のマニュアルページ
- プライバシーを意識した(未確認のユーザーデータ収集なし)
UbuntuにBukuをインストールするにはどうすればいいですか?
Ubuntuにインストールするには、pip3が必要なので、最初にpip3をインストールする必要があります:
How To Install Buku In Ubuntu 21.04 Linux ?
$ sudo apt install pip
$ sudo pip3 install buku
パッケージマネージャーからbukuをインストールすることもできます。利用可能なバージョンが古い場合は、別のインストール方法を試してください。
必要に応じて、この依存関係をインストールします。apt-get install ca-certificates python3-urllib3 python3-cryptography python3-bs4
ブクをアンインストールする方法は?
プロセスは似ていますが、アンインストールで削除を変更するだけです:
# How to uninstall buku ?
$ sudo pip3 uninstall buku
Code language: PHP (php)
ブクを更新する方法は?
pip3を使用してbukuをインストールすると、リポジトリが自動的に追加されるため、何もする必要はありません。
使用法:
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:
- update results when used with search
- otherwise refresh all titles and desc
-w, --write [editor|index]
open editor to edit a fresh bookmark
edit last bookmark, if index=-1
to specify index, EDITOR must be set
-d, --delete [...] remove bookmarks from DB
accepts indices or a single range
if no arguments:
- delete results when used with search
- otherwise delete all bookmarks
-h, --help show this information and exit
-v, --version show the program version and exit
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
Code language: PHP (php)
例:
ブクの使い方の例はこちらから
この記事では、UbuntuLinuxにbukuブックマークマネージャーを確認してインストールしました。
- 興味のあるもう1つの記事は、5 Cool 1LinuxにMoshMobileShellをインストールするをクリックします。
———————————————————————————————————————
この記事を楽しんでいただけたでしょうか。その場合は、このページを以下の星で評価し、YouTubeチャンネルに登録するか、ツイッターでフォローしてください。