GitXplorerGitXplorer
Q

kindlizer

public
6 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
bcf3361c7b70f0b47373106f7dc2a7a251a3595f

Bump lodash from 4.17.15 to 4.17.19

ddependabot[bot] committed 4 years ago
Unverified
d506d4c5454614ea383583e49f66043c7e09df14

Bump acorn from 5.7.3 to 5.7.4

ddependabot[bot] committed 5 years ago
Unverified
f3dc565e6467cce5b083172924d00c85c60853d8

add readme

QQuietMisdreavus committed 5 years ago
Verified
f70abf4c53b5a81c1895ac24a357650c56875c92

add license file

QQuietMisdreavus committed 5 years ago
Unverified
bf85c4f7d5b2cb681279c277b1663878a481baa1

make a server that will return the article

QQuietMisdreavus committed 5 years ago
Unverified
41d855bbed0d733675f906174f0742d5651407f8

factor into functions + take url from args

QQuietMisdreavus committed 5 years ago

README

The README file for this repository.

kindlizer

this is a quick-and-dirty server to render arbitrary web articles to DOCX, and return them to the user. by going to http://<site>:8080/article?url=<url> and providing a URL, the server will:

  • fetch the URL
  • parse the contents with mercury-parser
  • convert to DOCX using pandoc
  • send this file in the response

this exists for one specific purpose: sending web articles to my kindle. (hence the DOCX instead of EPUB; the kindle can't read EPUB files, and pandoc can't output MOBI.) by hosting this on a personal server, i can hook into it with iOS Shortcuts and email things to my kindle from my phone. (figuring it out on desktop is left as an exercise to the reader; personally i'm okay with manually emailing it afterward.)

it's also my first node project, so it was kinda fun to get my footing with a new environment.