CLI toolchain for building Glyph novel reader extensions.
Scaffold a new extension project:
npx create-glyph-extension my-extensions
cd my-extensions
npm run devDevelopment commands (installed as a devDependency in your project):
| Command | Description |
|---|---|
glyph dev [--port] [--open] |
Development server with hot reload |
glyph build |
Production build with validation |
glyph test [-- vitest args] |
Run tests with embedded runtime setup |
glyph validate [--typecheck] [--tests] [--smoke] [--fix] [--ci] |
Validate extensions |
glyph add <source-id> |
Scaffold a new source in your project |
git clone https://github.com/Glyph-moe/glyph-cli
cd glyph-cli
npm install
npm run buildMIT