GithubHelp home page GithubHelp logo

azu / mu-epub-reader Goto Github PK

View Code? Open in Web Editor NEW
72.0 7.0 8.0 4.41 MB

Epub viewer on Electron that support text translation.

License: MIT License

JavaScript 98.02% CSS 1.53% HTML 0.45%
epub electron translation viewer software app

mu-epub-reader's Introduction

mu-epub-reader

Epub viewer on Electron.

This application is forked of futurepress/epubjs-reader: Epub.js Reader.

Features

  • Standalone Electron app
  • Integrate with Google Translation
  • Shortcuts:
    • : Prev Page
    • : Next Page
    • j or Space: Scroll down
    • k or Shift+Space: Scroll up
    • Cmd+o: Open file
    • Cmd+^: Increase font size
    • Cmd+-: Decrease font size
    • Cmd+0: Reset font size
  • One column mode: continuous scroll like PDF
  • Open file with arguments

en ja

Quote from https://book.systemsapproach.org/

Usage

  1. Click File > Open File
  2. Select epub file
  3. View epub

menu

or

  1. Open epub file with mu-epub-reader
  2. View epub

Installation

Electron Version:

Download app and Install it.

⚠️ This app is not signed. So, it will appear warning about un-signed app.

Web Version:

Development

Build electron app

yarn install
yarn run dist
# output .app to dist/

Load reader/override.js or <AppData>/mu-epub-viewer/override.js if exists.

- macOS: ~/Library/Application Support/mu-epub-viewer/override.js
  1. Put custom logic script to reader/override.js
  2. Restart app
  3. mu-epub-reader preload reader/override.js in renderer process.

override.js example: modify request url

const origOpen = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function (...args) {
    const originalURL = args[1];
    const url = new URL(originalURL);
    /// hack something...
    args[1] = url.toString();
    origOpen.apply(this, args);
};

Release

npm version patch
git push --tags && git push

Related

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. Submit a pull request :D

License

MIT

mu-epub-reader's People

Contributors

azu avatar fchasen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mu-epub-reader's Issues

How to Zoom?

I want increase the text size, but I don't found any option.

--edit, i'm idiot, in the window menu

Uncaught (in promise) Error: No Section Found

epub.js:10023 Uncaught (in promise) Error: No Section Found
    at rendition_Rendition._display (epub.js:10023)
    at Queue.dequeue (epub.js:4620)
    at epub.js:4665

I can not jump from TOC in some book.
It is a bug that is epubjs or mu-epub-reader.

Support for MOBI/DjVU?

There are other ebook standards out there that are used by many library archives, notably MOBIpocket and DjVU. It would be good to see a cross-platform too to support those forms of books as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.