GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - readium/cli: ⌨️ A CLI utility with support for a wide range of commands for ebooks, comics and audiobooks

BranchesTags
Open more actions menu

Latest commit

 

History

122 Commits
122 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
cmd
cmd
 
 
docs
docs
 
 
internal
internal
 
 
pkg
pkg
 
 
.gitignore
.gitignore
 
 
.goreleaser.yml
.goreleaser.yml
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CHANGELOG.MD
CHANGELOG.MD
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.MD
README.MD
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
mime.types
mime.types
 
 

Repository files navigation

Readium Command Line Interface

The Readium CLI (Command Line Interface) is a multi-command utility based on the go-toolkit.

It covers an extended set of use cases beyond reading, allowing authors, publishers, distributors, retailers and libraries to easily interact with publication files.

Installation

Multiplatform builds are available directly from the releases section of this repository.

As an alternative, to install readium in ~/go/bin, run make install. Use make build to build the binary in the current directory.

List of commands

Command Description
manifest The manifest command can parse a publication and return a Readium Web Publication Manifest, which is printed to stdout.
serve The serve command starts an HTTPS server that can serve publications. A log is printed to stdout.

Potential additions

Command Description Discussion
convert Convert back and forth between EPUB and Readium Web Publication.
optimize Optimize images contained in an EPUB or a Readium Web Publication.
package Package images or audio files into a Readium Web Publication. #2

Examples

readium manifest --infer-a11y=split moby-dick.epub | jq .metadata
{
  "author": {
    "name": "Herman Melville",
    "sortAs": "MELVILLE, HERMAN"
  },
  "conformsTo": "https://readium.org/webpub-manifest/profiles/epub",
  "contributor": {
    "name": "Dave Cramer",
    "role": "mrk"
  },
  "http://creativecommons.org/ns#attributionURL": "http://code.google.com/p/epub-samples/",
  "http://purl.org/dc/terms/rights": "This work is shared with the public using the Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.",
  "http://www.idpf.org/2007/opf#version": "3.0",
  "https://github.com/readium/go-toolkit#version": "v0.13.1",
  "https://readium.org/webpub-manifest#inferredAccessibility": {
    "accessMode": [
      "visual"
    ],
    "feature": [
      "tableOfContents"
    ]
  },
  "identifier": "code.google.com.epub-samples.moby-dick-basic",
  "language": "en-US",
  "modified": "2012-01-18T12:47:00Z",
  "layout": "reflowable",
  "publisher": "Harper & Brothers, Publishers",
  "title": "Moby-Dick"
}

About

⌨️ A CLI utility with support for a wide range of commands for ebooks, comics and audiobooks

Topics

a11yaccessibilityaudiobookcliepubgolangreadium

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

25 stars

Watchers

8 watching

Forks

8 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.