An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.0% on proxy.golang.org

proxy.golang.org : github.com/pirmd/libro

libro - manage a collection of ebooks. `libro` is a command line tool that provides facilities to manage one or more collections of ebooks, keeping track of their metadata and/or additional information the user wants to record. You can think of `libro` as something close to [beets](http://beets.io/) but for books. `libro` sub-commands are developed so that they can be combined (i.e. piped) together or with other command-line tools to developed your own books management workflows. For example, importing books can be run like: Or To communicate through pipes, `libro` outputs book's attributes in JSON format that is understood by each `libro`sub-command. `libro` detects when output is for a terminal rather than a pipe and will switch-over to a more human-friendly format. This behavior can be altered using `-format` flag. Some `libro` features accept user-defined templates. Templating language is based on golang's built-in template language (https://pkg.go.dev/text/template) extended with the following helpers: Some pre-defined templates are available: when renaming books (invoke by `-rename={{template "xXx" .}}`): fullname.gotmpl : Author[0] - [Series SeriesIndex] - Title [LANG].epub fullname_byauthor.gotmpl : Author[0]/Author[0] - [Series SeriesIndex] - Title [LANG].epub shortname.gotmpl : Title.epub shortname_byauthor.gotmpl: Author[0]/Title.epub In each cases, Author[0] is the first known Authors. Empty Authors is replaced by 'Unknown". Unknown or empty SeriesxXx, or LANG are ignored. when formatting books information (invoke by `-format={{template "xXx" .}}`): book.txt.gotmpl: format book's attributes as plain-text in a key: value fashion. Empty optional attributes are not displayed. Examples: or or User-defined templates can be loaded using specific flags like: or `libro` adopts some opinionated behavior when processing book's information. Main ones are: When editing book's information (using `libro edit`), user is only asked to review information if: This behavior can be altered using `-auto` or `-dont-edit` flags. `libro` can run guessers to complete (and/or confirm) Book's metadata. Current guessers are: `libro` can run different check to verify quality, completeness or conformity of information collected about an EPUB or of the EPUB's itself. Findings requiring end-user attention are inserted into a specific book's attributes ('Issues') for later processing. `libro` relies on [EPUBcheck](https://www.w3.org/publishing/epubcheck/) tool for conformity verification.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/pirmd/libro
License: BSD-2-Clause
Latest release: about 2 years ago
First release: about 3 years ago
Namespace: github.com/pirmd
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 24 days ago

    Loading...
    Readme
    Loading...