Install Harbor

Python-like language that compiles to zero-dependency Node.js

Quick install
$ curl -sSL https://harbor.fluxlinux.xyz/install.sh | bash
$ wget -qO- https://harbor.fluxlinux.xyz/install.sh | bash
$ git clone https://github.com/stormyy00/harbor.git && cd harbor && bash install.sh
Advanced options
Specific version
HARBOR_VERSION=2.0.0 curl -sSL https://harbor.fluxlinux.xyz/install.sh | bash
Custom directory
HARBOR_INSTALL_DIR=/usr/local/bin curl -sSL https://harbor.fluxlinux.xyz/install.sh | bash
Uninstall
curl -sSL https://harbor.fluxlinux.xyz/install.sh | bash -s -- --uninstall

Zero Dependencies

Compiles to vanilla Node.js — no runtime, no packages

🐍

Python Syntax

If you know Python, you already know Harbor

🌐

Built-in Server

Define HTTP APIs in just a few lines

📦

Modules

Import, export, and organize code with ease

What it looks like

  hello.hb
# Variables & f-strings
name = "Harbor"
print f"Welcome to {name}!"

# Functions
def greet(who):
    print f"Hello, {who}!"

greet("World")

# Classes — no 'new', no 'self' in params
class Dog:
    def init(name, breed):
        self.name = name
        self.breed = breed

    def speak():
        print f"{self.name} says Woof!"

rex = Dog("Rex", "Lab")
rex.speak()

# Built-in web server
server 3000:
    get "/":
        respond {"message": "Hello!"}

Requirements

Node.js 14+ (to run output)
macOS / Linux / WSL
curl or wget
Rust (auto-installs if needed)