Distribution package for the CASTD stackless webserver.
# Start the server with your bundle
./castd/castd.sh start --bundle my-project
# Or with custom port
./castd/castd.sh start --bundle my-project --port 3000
# Stop the server
./castd/castd.sh stopdist/
├── castd/ # Framework (DO NOT MODIFY)
│ ├── backend/
│ │ ├── bin/ # Server binary
│ │ └── extensions/ # Lua extensions (sample: currency_convert)
│ ├── frontend/
│ │ ├── assets/ # CSS, JS, images
│ │ └── presets/ # Components, extensions, themes
│ └── castd.sh # Control script
├── workspace/ # Your bundles go here
│ └── my-project/ # Example bundle
│ ├── assets/
│ ├── presets/
│ └── templates/
└── manuals/ # Documentation
-
Create a directory in
workspace/:mkdir -p workspace/my-project/{assets,presets,templates} -
Add your templates to
workspace/my-project/templates/ -
Start the server:
./castd/castd.sh start --bundle my-project
Visit castd.run for full documentation.
The complete source code is included in castd/backend/src.tar.xz.
tar xf castd/backend/src.tar.xz
cargo build --releaseApache-2.0 — Copyright 2025 Vivian Voss. See LICENSE and NOTICE.