ebk

command module
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 1 Imported by: 0

README

ebk

ebk is a tiny tool for ebook.

Usage

ebk ls

list directory ebook contents.

$ ebk ls ~/path/to/books/ | grep oreilly
NFS & NIS 第2版:oreilly-4-87311-078-5e.pdf
ウェブオペレーション:oreilly-978-4-87311-493-4e.pdf
SQLアンチパターン:oreilly-978-4-87311-589-4e.epub
[...]
Go言語による並行処理:oreilly-978-4-87311-846-8e.epub
入門 監視:oreilly-978-4-87311-864-2e.epub
入門 Prometheus:oreilly-978-4-87311-877-2e.epub
みんなでアジャイル:oreilly-978-4-87311-909-0e.epub
ユニコーン企業のひみつ:oreilly-978-4-87311-946-5e.epub
Select and Open ebook using ebk and peco (macOS)
$ open $(ebk ls /path/to/books/ --with-path -d '\t' | peco | awk -F '\t' '{print $2}')
QUERY> SQL                                            IgnoreCase [5 (1/1)]
15時間でわかるMySQL集中講座 /path/to/books/15時間てわかる-MySQL集中講座_00.epub
SQLパフォーマンス詳解 - 開発者のためのSQLパフォーマンスのすべて /path/to/books/SQLパフォ
SQLアンチパターン   /path/to/books/oreilly-978-4-87311-589-4e.epub
PostgreSQL Q&A実録  /path/to/books/postgresql-qanda-jitsuroku.pdf
??? /path/to/books/達人に学ふSQL徹底指南書 第2版.pdf

Supported ebook formats

Install

deb:

$ export EBK_VERSION=X.X.X
$ curl -o ebk.deb -L https://github.com/k1LoW/ebk/releases/download/v$EBK_VERSION/ebk_$EBK_VERSION-1_amd64.deb
$ dpkg -i ebk.deb

RPM:

$ export EBK_VERSION=X.X.X
$ yum install https://github.com/k1LoW/ebk/releases/download/v$EBK_VERSION/ebk_$EBK_VERSION-1_amd64.rpm

apk:

$ export EBK_VERSION=X.X.X
$ curl -o ebk.apk -L https://github.com/k1LoW/ebk/releases/download/v$EBK_VERSION/ebk_$EBK_VERSION-1_amd64.apk
$ apk add ebk.apk

homebrew tap:

$ brew install k1LoW/tap/ebk

manually:

Download binary from releases page

go get:

$ go get github.com/k1LoW/ebk

Documentation

Overview

Copyright © 2021 Ken'ichiro Oyama <k1lowxb@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL