Hype

Zero-Dependency App Dev

Write a Lua script. Build for your target platforms. Ship binaries that need zero dependencies. No runtime installs, no "missing library" headaches. Just executables that work.

🛠️ Quick How-To

1

Write your Lua file

(e.g., app.lua)

2

Run:

hype build app.lua -o mycoolapp
3

Done.

Send mycoolapp to anyone with that OS. No dependencies required.

🧳 Built for:

Hackers
Scripters
Tinkerers
Sysadmins
Engineers who want it just done already
Anyone tired of setting up environments for "just one script"
And maybe… the next wave of AI devs 👀

What's Inside

📦

Package Scripts

Transform Lua scripts into standalone executables for any platform

🌍

Cross-Platform Builds

Build for Linux, macOS, and Windows from one machine. Each platform gets its own binary.

🖥️

Built-in TUI

Create beautiful terminal applications with the integrated TUI library

🌐

HTTP Support

Build web servers and clients with full HTTP functionality

🗄️

Embedded Database

Key-value store with ACID transactions using BoltDB

Zero Dependencies

Final executables have no external dependencies

🔗 Get Started

🚀 Cross-Platform (Linux, macOS, Windows)

Auto-detects your OS and architecture

curl -sSL https://raw.githubusercontent.com/twilson63/hype/main/install.sh | bash

🐧 Linux

Dedicated Linux installer (x86_64, ARM64)

curl -sSL https://raw.githubusercontent.com/twilson63/hype/main/install-linux.sh | bash

🍎 macOS

For Intel and Apple Silicon Macs

curl -sSL https://raw.githubusercontent.com/twilson63/hype/main/install-mac.sh | bash

🔧 Manual Download

Download prebuilt binaries directly

📂 Source Code

Build from source or browse examples

Quick Start

🖥️ Simple TUI App

-- hello.lua
local app = tui.newApp()
local text = tui.newTextView("Hello from Hype!")
text:SetTitle("My First App")
app:SetRoot(text, true)
app:Run()
./hype build hello.lua -o hello
./hello

🌐 HTTP Server

-- server.lua
local http = require('http')
local server = http.newServer()

server:handle("/", function(req, res)
    res:json({ message = "Hello World!" })
end)

server:listen(8080)
print("Server running on :8080")
./hype build server.lua -o server
./server

🗄️ Database App

-- db.lua
local kv = require('kv')
local db = kv.open("./data.db")
db:open_db("users")

-- Store data
db:put("users", "john", "John Doe")

-- Retrieve data
local name = db:get("users", "john")
print("User: " .. name)

db:close()
./hype build db.lua -o db
./db

Usage

📦 Build Mode

Compile Lua scripts into standalone executables:

# Build for current platform
./hype build script.lua

# Specify output name
./hype build script.lua -o myapp

# Cross-compile for different platforms
./hype build script.lua --target linux
./hype build script.lua --target windows
./hype build script.lua --target darwin

⚡ Run Mode

Run Lua scripts directly for development:

# Run script directly
./hype run script.lua

# Pass command line arguments
./hype run script.lua -- arg1 arg2 arg3

📊 Command Line Arguments

Access arguments in your Lua scripts:

-- args.lua
print("Script name:", arg[0])
for i = 1, #arg do
    print("Arg " .. i .. ":", arg[i])
end

Performance

15,000+

HTTP requests handled
with 100 concurrent connections

Zero

External dependencies
in final executables

3 OS

Linux, macOS, Windows
from single source

~16MB

Average executable size
with full runtime included