senovee

0.1.1 • Public • Published

senovee

Gatsby based text viewer for web novel writers

[ en / ja ]

Install / Usage

With npx

npx senovee ${DIR} [options]

or install globally

npm i -g senovee
senovee ${DIR} [options]

then open http://localhost:8000/ to see.

Options are passed to gatsby-cli.

Feature

  • auto-generate index by globbing files
  • auto re-render with HMR
  • kakuyomu-like view
  • ruby syntax
    • |黄泉《よみ》 => 黄泉よみ
    • 《《そういうこと》》 => そういうこと・・・・・・

Roadmap

  • grep
  • char counter and visualizer
  • cli to build
  • embed textlint
  • custom views

Example

If you locate text files like this:

- wonderful-story/
  - chapter1/
    - awesome.txt
    - crap.txt
  - chapter2/
    - battle.txt
  - draft.txt
  - epilogue.txt
  - prologue.txt

run senovee wonderful-story and get rendered:

example result

Note: By default, episodes are sorted by its filename. To place them in order correctly, you can add prefix to them.

- wonderful-story/
  - 00_prologue.txt
  - 01_chapter1/
    - awesome.txt
    - crap.txt
  - 02_chapter2/
    - battle.txt
  - 03_draft.txt
  - 99_epilogue.txt

Contribution

is welcome.

Readme

Keywords

none

Package Sidebar

Install

npm i senovee

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

73.9 kB

Total Files

51

Last publish

Collaborators

  • stak