Why?
For some time now, I have been using SugarCube Starter by nijikokun, he did an amazing job, but coming from using Vite, the slowness of Webpack really started to bother me
Then, as a bit of a challenge to myself, I wanted to remake it without Webpack
You can consider this a "spiritual successor" (Event though, as far as I know, Nijikokun still is working on SG Starter), and it's mostly based on it
It has since evolved to more like a library/CLI, to make it easy to add new features and updates
Features
- Quickly scaffold a new project, (Thanks to
create-weaver
) - Automatic Tweego setup (Thanks to
tweenode
) - Includes templates to quickly start a project with story formats, like:
- SugarCube v2.37.3
- Harlowe v3.3.9 (Coming soon)
- Chapbook v2.2.0 (Coming soon)
- Highly customizable, easy to configure
- Lighting fast automatic builds
- Local live reload server
- Directory for third-party scripts
- Overall modern workflow
Tech Stack
This encompasses what @thy-weaver/core
uses:
- Rolldown (In place of Webpack and Rollup)
- Optional support for TypeScript
- SWC (In place of Babel)
- PostCSS with:
- Optional support for TailwindCSS
- SASS
- Modern CSS support (If you want to use vanilla CSS)
Helpful Stuff
Official Resources
Third-Party Resources
- Nijikokun's SugarCube Basics
- Chapel's Custom Macro Collection
- Hogart's SugarCube Macros and Goodies
- SjoerdHekking's Custom Macros
- GwenTastic's Custom Macros
- Cycy Custom Macros
- HiEv SugarCube Sample Code
- Akjosch SugarCube Resources
- Mike Westhad SugarCube Resources
- HiEv Universal Inventory
Huge Thanks To:
- @Nijikokun, a lot of this project is based on his SugarCube Starter
- Hituro on Twine Games Official Discord
And to all the contributors bellow:
Contributors:
Made with contrib.rocks.