sonolus-generate-static v5.3.0
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-staticUse -h to see a list of available options:
npx sonolus-generate-static -hInstall Globally
Installing globally (only need once):
npm i -g sonolus-generate-staticsonolus-generate-static will become available to use:
sonolus-generate-static -hInput
It is recommended to use sonolus-pack to prepare input.
Input contains:
/db.jsoncontains information of items./repositorycontains processed resources.
Output
Output can be statically served by a web server, and Sonolus client can connect to and play.
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago