This package has been deprecated

Author message:

Moved to @sonolus/generate-static

sonolus-generate-static

5.3.0 • Public • Published

sonolus-generate-static

CLI tool to generate static Sonolus server from repository and database.

Links

Static Sonolus Server

While static Sonolus servers are easy to host and prepare, it has significant user experience disadvantages:

  • No Sonolus client version checking.
  • No localization according to user language.
  • No search or pagination.
  • All contents will be shown in one page.

It is recommended to develop with sonolus-express instead.

Usage

npx

Use npx to execute without installing.

Generating using default options:

npx sonolus-generate-static

Use -h to see a list of available options:

npx sonolus-generate-static -h

Install Globally

Installing globally (only need once):

npm i -g sonolus-generate-static

sonolus-generate-static will become available to use:

sonolus-generate-static -h

Input

It is recommended to use sonolus-pack to prepare input.

Input contains:

  • /db.json contains information of items.
  • /repository contains processed resources.

Output

Output can be statically served by a web server, and Sonolus client can connect to and play.

Readme

Keywords

Package Sidebar

Install

npm i sonolus-generate-static

Weekly Downloads

4

Version

5.3.0

License

MIT

Unpacked Size

22.7 kB

Total Files

22

Last publish

Collaborators

  • nonspicyburrito