podginator / koboomnivoreconverter Goto Github PK
View Code? Open in Web Editor NEWA Proxy to enable the Kobo Clara to use Omnivore over Pocket for it's articles.
A Proxy to enable the Kobo Clara to use Omnivore over Pocket for it's articles.
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?
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!
Is there a technical reason why this would not work on vercel? I understood that they offer server less functions within their free tier:
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
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.