WebScript is a modern, high-performance Domain-Specific Language (DSL) and package manager for reverse proxies and static web servers. Written in Go, it replaces complex Nginx setups with clean, readable code.
Additionally, WebScript automatically handles HTTPS certificates (Let's Encrypt) for all your domains!
- Readable Syntax: Much simpler than Nginx or Apache.
- High-Performance: Powered by Go's extremely fast
net/httpengine. - Auto-HTTPS: No more manual Certbot certificates.
- Package Manager: Install third-party modules via
wbs install.
The absolute easiest way to install WebScript anywhere is via our automated installation script. Just open your terminal and run:
curl -sSL https://raw.githubusercontent.com/LukasYTTT/webscript/main/install.sh | bash(Requires Go and Git to be installed)
You can easily install WebScript using the Arch User Repository (AUR):
git clone https://github.com/LukasYTTT/webscript.git
cd webscript
makepkg -si(This will soon be available directly via yay -S webscript!)
If you are using Arch Linux, you can easily install WebScript via the AUR using yay:
yay -S webscript-gitFor Debian or Ubuntu, you can build a standard .deb package to easily install and manage WebScript using apt:
git clone https://github.com/LukasYTTT/webscript.git
cd webscript
chmod +x build_deb.sh
./build_deb.sh
sudo apt install ./webscript_1.0.0_amd64.debYou need Go installed on your system.
git clone https://github.com/LukasYTTT/webscript.git
cd webscript
go build -o wbs .
sudo mv wbs /usr/local/bin/wbsYou no longer need to write configs by hand! Just use the interactive generator:
sudo wbs createThis will ask you for your domain, path, and proxy settings, and automatically generate a perfect configuration file in /etc/wbs/confs/.
To start WebScript as a professional background daemon (like Nginx):
sudo wbs service
sudo systemctl start wbsYou can now manage it via systemctl:
sudo systemctl restart wbssudo systemctl status wbs
To test if your configs are valid without restarting the server:
wbs -t /etc/wbs/confs/To test a config locally without HTTPS (starts on port 8080):
wbs run /etc/wbs/confs/ --devwbs install loggerWant to build your own WebScript packages or learn how it works under the hood? Check out our Official Wiki!