GithubHelp home page GithubHelp logo

podginator / koboomnivoreconverter Goto Github PK

View Code? Open in Web Editor NEW
53.0 5.0 5.0 65.54 MB

A Proxy to enable the Kobo Clara to use Omnivore over Pocket for it's articles.

TypeScript 68.63% Makefile 8.88% C 19.77% C++ 2.72%
express kobo kobo-ereader omnivore pocket pocket-api proxy typescript omnivore-api kobo-clarahd

koboomnivoreconverter's People

Contributors

kuosandys avatar podginator 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

Watchers

 avatar  avatar  avatar  avatar

koboomnivoreconverter's Issues

Router based redirect

If this is run within a local network, is it possible to redirect Pocket calls on the router instead of having to modify the Kobo host file to do so?

Bug Report - UTF-8 Encoding

I'm not familiar with Git to submit a bug fix the right way, so I'm doing it here in case it helps someone else.

I kept getting error messages saying "unsupported charset UTF8." I dug into the file the error message said it was coming from, and discovered the script was checking for "UTF-8" and the request was coming with the charset listed as UTF8, without the dash.

I fixed it with this change: On line 128 of KoboOmnivoreConverter-main/node_modules/body-parser/lib/types/ change
if (charset.slice(0, 4) !== 'utf-') {
to
if (charset.slice(0, 3) !== 'utf') {

Now I'm getting articles on my e-reader!

Using port other than 80 to host proxy

Hi!
Is there any way to not use port 80 for proxy? I'm using my Synology NAS to host the proxy but I already use port 80 on it and I cannot change it.

Is it as easy as just changing this line in index.js? Or maybe I need to change the hosts file on my Kobo too?

// Start the server on port 8080
server.listen(80, () => {
    console.log("Server running on port 5090");
});

I'm not even going to ask why there are 3 different ports here...


I'm getting this error when running node ./index.js &:

Akasiek@Coriolanus:~/KoboOmnivoreConverter$ sudo node ./index.js &
[1] 3125
Akasiek@Coriolanus:~/KoboOmnivoreConverter$ node:events:492
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use :::80
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at Server.listen (node:net:2008:7)
    at /volume1/homes/Akasiek/KoboOmnivoreConverter/index.js:55:12
    at Generator.next (<anonymous>)
    at /volume1/homes/Akasiek/KoboOmnivoreConverter/index.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/volume1/homes/Akasiek/KoboOmnivoreConverter/index.js:4:12)
    at /volume1/homes/Akasiek/KoboOmnivoreConverter/index.js:20:8
    at Object.<anonymous> (/volume1/homes/Akasiek/KoboOmnivoreConverter/index.js:58:4)
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1899:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '::',
  port: 80
}

Node.js v20.9.0

Updates for newer firmware versions

There have been a number of official Kobo firmware updates since the last modified build in this project. What's involved in generating an updated KoboRoot.tg.gz? The guide has a "TBD" for this portion of the setup, and I suspect there's something more than just telnet to change - this doesn't seem to work properly with a rooted Kobo on 4.38.21908.

Thanks for building this - I'm excited to use Omnivore on my Kobo!

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.