No description
  • CSS 51.2%
  • JavaScript 45.7%
  • TypeScript 2.8%
  • HTML 0.3%
Find a file
2022-04-23 05:30:05 +09:00
common Use BufferEncoding instead of string for encoding type 2021-03-06 08:28:14 +09:00
e2e Updated @angular/cli 2020-09-05 08:59:49 +09:00
electron Fixed security issue of electron 2022-02-27 09:04:17 +09:00
examples Updated example code 2019-10-22 17:03:14 +09:00
release Added new binary 2021-02-22 18:06:23 +09:00
semantic-ui First commit 2019-07-27 09:08:45 +09:00
src Fixed security issue of electron 2022-02-27 09:04:17 +09:00
.browserslistrc Updated angular 2020-06-25 10:52:14 +09:00
.editorconfig First commit 2019-07-27 09:08:45 +09:00
.gitattributes Added new version for win 2019-08-02 09:24:16 +09:00
.gitignore Updated @angular/cli 2022-02-27 08:31:51 +09:00
angular.json Updated @angular/cli 2022-02-27 08:31:51 +09:00
CHANGES Updated CHANGES 2021-04-27 07:48:43 +09:00
COPYING Added copying 2019-07-27 09:28:58 +09:00
electron-builder.json Replace typenovel(F# to TypeScript) 2019-10-12 09:47:19 +09:00
karma.conf.js First commit 2019-07-27 09:08:45 +09:00
LICENSE Create LICENSE 2019-07-27 09:26:42 +09:00
Makefile.public Remove example from build target 2019-07-31 10:38:58 +09:00
package-lock.json update @angular/material 2022-04-23 05:30:05 +09:00
package.json update @angular/material 2022-04-23 05:30:05 +09:00
README.md Fix text 2019-09-16 08:47:35 +09:00
README_jp.md Fix text 2019-09-16 08:47:35 +09:00
tsconfig.app.json Updated @angular/cli 2020-09-05 08:59:49 +09:00
tsconfig.json Updated @angular/cli 2020-09-05 08:59:49 +09:00
tsconfig.spec.json Updated @angular/cli 2020-09-05 08:59:49 +09:00
tslint.json Added anchor style 2021-02-20 10:46:08 +09:00
TypeNovelReader.code-workspace Updated workspace settings 2021-04-06 08:37:13 +09:00
webpack.extra.js First commit 2019-07-27 09:08:45 +09:00

TypeNovelReader

TypeNovelReader is reader application for TypeNovel.

If you write novel according to the spec of SemanticNovel, plenty of context information is applied to reader UI.

Supports Win/Mac/Linux(Installer).

Feature

Compiler included

Compiler of TypeNovel is already included in this application.

So you don't bother to download it, and compile the source any more!

By using @speak tag, speaker infomation is displayed in UI

If you write speech of character by @speak tag, speaker information is added to the side of speech text.

Time aware UI.

If you write @scene with time, season, date constraint, those informations are applied to UI.

Both vertical and horizontal writing-mode are supported.

It supports both vertical writing and horizontal writing, so it can be used for various documents.

And more!

For other functions, please run the examples and check it.

Install

Installers(Windows, Mac, Linux).

*.exe is Windows Installer.

*.dmg is Mac Installer.

*.AppImage is Linux Installer.

Build

Artifacts are generated under the release/ directory by the following command.

npm install
make -f Makefile.public all
make -f Makefile.public epack

How to use

Just drag and drop *.tn(TypeNovel source), *.zip(Packaged soruces, see About zip source sesion), *.html(direct html) to the target window.

About zip source

Zip source consists of index.tn, data.json, tnconfig.json or other files(external *.tn files or resource images).

index.tn

Main source of novel. If your novel consists of multiple *.tn files, you should use index.tn as main entry of those files.

data.json

Extra data for novel is described in this source.

Here is example.

{
  "title": "This is my novel title",
  "theme": "default",
  "author": "Yamada Tarou",
  "writingMode": "horizontal-tb",
  "email": "foo@bar.com",
  "homepage": "http://foo.bar.com",
  "enableSemanticUI": true,
  "displayTypeNovelError": true,
  "speechAvatarSize": 50,
  "characters": {
    "taro": {
      "names": ["Yamada", "Taro"],
      "images": {
         "normal": "images/avatar2.svg"
      },
      "description": "This is Yamada Taro description"
    },
    "michael": {
      "names": ["Michael", "Jackson"],
      "images": {
        "normal": "images/avatar1.svg"
      },
      "description": "This is MJ description"
    },
  }
}

characters field is the data referenced by @speak tag.

tnconfig.json

Your original tnconfig.json.

If it's not included, default tnconfig.json is used.

LICENSE

See LICENSE for detail.