Giter Club home page Giter Club logo

readwise-epub's Introduction

Readwise-Epub

This project packages up your Readwise Reader inbox into nicely grouped epubs. I use it with a Kobo reader, but you should be able to use any device that can open epub files.

Installing / Prerequisites

Install Rust and Percollate. These are both left as an exercise to the reader.

Install this project by running cargo install --path . in the root directory.

Set your Readwise auth token by setting the environment variable READWISE_EPUB_READER_TOKEN or writing it to a file in your config dir <config>/readwise-epub/config.toml under the key reader_token.

readwise-epub's People

Contributors

georgehahn avatar

Stargazers

 avatar  avatar Christopher Larson avatar Anthony avatar  avatar Dustin Hall avatar  avatar seeumara avatar Ege Güneş avatar Emory L. avatar

Watchers

 avatar  avatar

readwise-epub's Issues

Unable to read file "zip END header not found"

I ran the tool and it exited without an error:

$ ~/.cargo/bin/readwise-epub
Redirected from https://open.substack.com/pub/effectiveaccelerationism/p/repost-notes-on-eacc-principles-and?r=2f5cz&utm_medium=ios&utm_campaign=post to https://effectiveaccelerationism.subst
ack.com/p/repost-notes-on-eacc-principles-and?r=2f5cz&utm_medium=ios&utm_campaign=post
Redirected from https://astralcodexten.substack.com/p/heres-why-automaticity-is-real-actually to https://www.astralcodexten.com/p/heres-why-automaticity-is-real-actually
Creating 23 groups of articles
Creating readwise-drmaciver.com - drmaciver.com.epub from 7 articles
Creating readwise-drmaciver.com - drmaciver.com-2.epub from 8 articles
Creating readwise-Scott Alexander - Slate Star Codex.epub from 2 articles
Creating readwise-Scott Alexander - Slate Star Codex-2.epub from 5 articles
Creating readwise-2023-07-08.epub from 3 articles
Creating readwise-2023-07-08-2.epub from 1 articles
Creating readwise-2023-07-11.epub from 4 articles
Creating readwise-2023-08-16.epub from 4 articles
Creating readwise-2023-08-18.epub from 4 articles
Creating readwise-2023-08-20.epub from 3 articles
Creating readwise-2023-08-21.epub from 4 articles
Creating readwise-2023-09-02.epub from 4 articles
Creating readwise-2023-09-12.epub from 2 articles
Creating readwise-2023-09-13.epub from 1 articles
Creating readwise-2023-09-14.epub from 2 articles
Creating readwise-2023-09-22.epub from 4 articles
Creating readwise-2023-10-06.epub from 2 articles
Creating readwise-2023-10-17.epub from 4 articles
Creating readwise-2023-10-27.epub from 1 articles
Creating readwise-2023-10-27-2.epub from 3 articles
Creating readwise-2023-10-29.epub from 1 articles
Creating readwise-2023-10-29-2.epub from 3 articles
Creating readwise-2023-10-30.epub from 2 articles

but generated epub files are unusable:

% for epub in epubs/*.epub; do java -jar epubcheck.jar ${epub}; done
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-07-08-2.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-07-08.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-07-11.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-08-16.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-08-18.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-08-20.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-08-21.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-09-02.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-09-12.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-09-13.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-09-14.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-09-22.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-10-06.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-10-17.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-10-27-2.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-10-27.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-10-29-2.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-10-29.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-2023-10-30.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-Scott Alexander - Slate Star Codex-2.epub//Users/egegunes/epubs/readwise-Scott%20Alexander%20-%20Slate%20Star%20Codex-2.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-Scott Alexander - Slate Star Codex.epub//Users/egegunes/epubs/readwise-Scott%20Alexander%20-%20Slate%20Star%20Codex.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-drmaciver.com - drmaciver.com-2.epub//Users/egegunes/epubs/readwise-drmaciver.com%20-%20drmaciver.com-2.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
FATAL(PKG-008): /Users/egegunes/epubs/readwise-drmaciver.com - drmaciver.com.epub//Users/egegunes/epubs/readwise-drmaciver.com%20-%20drmaciver.com.epub(-1,-1): Unable to read file "zip END header not found".

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed

"NotFound" Error

Hello, thanks for making this tool! I've manage to install it but got the following error message when running:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
Could you please help me out? Thanks!

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.