Harbor v2.0.0
A scripting language
for the backend
Harbor compiles to clean, zero-dependency Node.js. Write server logic in a simple syntax — no package.json, no node_modules, no build step.
set port = 8080
server port {
get "/ping" {
respond { "status": "ok" }
}
} Built for backend development
Harbor gives you a focused set of primitives for writing servers, APIs, and background tasks.
Native networking
Built-in fetch and server blocks
with async support generated at compile time. No imports
needed.
Zero dependencies
Compiles to pure Node.js standard library code. No external packages in your output — ever.
General-purpose scripting
Run code before your server starts. Warm caches, load secrets, validate config — all in the same file.
Simple control flow
First-class if/else,
variables with set, and deep array
indexing.
Fast compilation
Compiles to readable Node.js in milliseconds. No intermediate build steps or bundler configuration.
Edge and serverless
Small output, no dependencies, fast cold starts. Runs anywhere Node.js does.
Write less, ship more
Harbor's syntax is designed to be read at a glance. Define routes, make HTTP requests, and manage state without boilerplate.
serverstarts an HTTP serverfetchmakes outbound requestssetdeclares variablesrespondsends JSON responses
set port = 8080
set api = "https://api.github.com"
// Initialize before server starts
fetch api + "/status" {
set system_status = res.body.status
}
server port {
get "/ping" {
respond { "status": system_status }
}
} Get started
Install Harbor globally, then create and run your first server.
Install
curl -sSL
https://harbor.fluxlinux.xyz/install.sh |
bash Write
server 3000 {
get "/" {
respond { "hello": "world" } }
} Run
harbor app.hb