@dylanarmstrong/fic-gen

0.2.0 • Public • Published

fic-gen

Generate ePub when given a url using curl-impersonate.

Usage

fic-gen https://example.com

Installation

  1. pnpm add -g @dylanarmstrong/fic-gen

Installation (from source)

  1. pnpm install
  2. pnpm run build
  3. pnpm add -g $(pwd)

Supported Sites

  • ArchiveOfOurOwn
  • BoxNovel
  • FanFiction
  • RoyalRoad
  • SpaceBattles
  • WanderingInn
  • WeTried

FanFiction

Requires passing in a valid cf_clearance cookie.

fic-gen -c cf_clearance=123 https://www.fanfiction.net/s/12345/1/story-title

TODO

  • Retry for failing curl
  • What is max title length on kindle?
  • Site Support:
    • Xenforo General
    • Fictionpress
  • Tests
  • Maybe support for using got instead of curl on non-ff
  • Add status progress bar for non-debug output
  • Maybe add a call to epubcheck if available after writing output

Readme

Keywords

none

Package Sidebar

Install

npm i @dylanarmstrong/fic-gen

Weekly Downloads

1

Version

0.2.0

License

ISC

Unpacked Size

64.9 kB

Total Files

41

Last publish

Collaborators

  • dylanarmstrong