OmniFlux v2.0 Ready

The World's Simplest Procedural Language for API Backends

Build blazingly fast, reliable AI proxy servers, microservices, and databases without the complexity of modern OO stacks.

Frictionless, Secure & Type-Safe

OmniFlux offers clean, procedural flow with built-in networking, database, and encryption primitives out of the box.

  • No Imports Needed: Native database operations, HTTP requests, and cryptography are built straight into the core.
  • Procedural Flow: Clean, synchronous execution feel without callback hell or nested async promises.
  • Resilient Error Recovery: Guard any expression or task invocation with inline `on error` handlers.
auth_service.of
# Register new user with secure password hashing
POST "/api/auth/register" (req, res) {
    var email = req.body.email
    var password = req.body.password
    
    # Secure cryptographic hashing using built-in sha256
    var pass_hash = sha256(password)
    
    # Save user credentials securely to database
    var record = dbinsert("users", {
        email: email,
        password_hash: pass_hash,
        role: "user",
        created_at: time()
    }) on error (err) {
        # Fallback handling made easy
        respond with status 400 and json { error: err.message }
        return
    }
    
    respond with status 201 and json { success: true }
}

Native Cryptography

Secure API credential management and password verification using pre-compiled, strict-whitelisted native SHA-256 bindings.

Built-In JSON DB

No complex DB connection strings. Store and query user accounts, billing, and tokens using clean procedural querying commands.

Watch Mode Compilation

Instant server hot-reloading using `omniflux --watch`. The compiler rebuilds and boots the server in under 50ms.