Back to browse
GitHub Repository

Funxy is a general-purpose scripting language with static typing and type inference

44 starsGo

Funxy v0.6 – scripts that ship as standalone executables

by funbitty·Feb 13, 2026·2 points·0 comments

AI Analysis

●●SolidWizardryNiche Gem
The Take

Embedding bytecode, a VM, and static assets into one binary — plus a switch to drop back into an interpreter — is a clever distribution pattern that removes runtime dependencies. The Go-package binding via funxy.yaml and BusyBox-style multi-script bundling show attention to real-world tooling needs; the main question is ecosystem maturity and whether the lib surface grows fast enough to matter.

Target Audience

Backend developers, DevOps/SREs, CLI/tooling authors, sysadmins who need portable deployable scripts

Post Description

Hi HN,

New release: `funxy build` now produces standalone executables. (Previously I shared the Go embedding — this is the other direction: ship scripts as binaries.) You compile a script, get a binary — bytecode + VM + all deps baked in. No Funxy on the target machine.

```bash funxy build server.lang -o myserver scp myserver prod:~/ ssh prod './myserver' ```

Embedding: files, directories, glob patterns (`.html`), brace expansion (`.{js,css}`). Everything goes into the binary and is available via `fileRead`, `fileReadBytes`, `isFile` — the script doesn't know if it's disk or embedded.

```bash funxy build webapp.lang --embed templates,static --embed "assets/*.css" -o webapp ```

Dual-mode: the binary is also a full Funxy interpreter. By default it runs the embedded app. Pass `$` and it switches to interpreter mode — run any script, use `-pe` one-liners, same as regular `funxy`:

```bash ./myserver # runs embedded app ./myserver --port 8080 # flags via sysArgs ./myserver $ other.lang # interpreter ./myserver $ -pe '1 + 2' # eval mode ```

Cross-compile with `--host` (point to a funxy binary for the target platform).

[Releases](https://github.com/funvibe/funxy/releases) | [GitHub](https://github.com/funvibe/funxy)

Similar Projects

AI/MLMid

Standalone TurboQuant KV Cache Inference

Standalone KV cache compression script implementing TurboQuant with 1.55x ratio.

Big BrainShip It
g023
342mo ago