KitaitiMakoto / epub-search

EPUB search tool
MIT License
4 stars 1 forks source link

EPUB Search

Search engine for EPUB files on local machine

If you want EPUB search web application, check EPUB Searcher out.

Installation

$ gem install epub-search

Usage

$ epub-search help
Commands:
  epub-search add FILE                           # Add FILE to database
  epub-search help [COMMAND]                     # Describe available commands or one specific command
  epub-search init [DIR]                         # Setup database
  epub-search list                               # Show list of book titles in database
  epub-search remove FILE                        # Remove FILE from database
  epub-search search WORD [BOOK]                 # Search WORD in book whose title is like BOOK from database
  epub-search watch [DIRECTORY [DIRECTORY ...]]  # Index all of EPUB files in DIRECTORY

Options:
  -c, [--config=CONFIG]  # Path to config file

To watch directories in backend:

$ epub-search watch --daemonize

Configuration

EPUB Search(epub-search command) detectes configuration file following by this order:

  1. A file specified by --config global option
  2. .epub-searchrc in current directory
  3. $HOME/.epub-search/config.yaml

Configuration file should be written as YAML and you can set properties below:

ChangeLog

0.0.6

0.0.5

0.0.4

0.0.3

0.0.2

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request