Open-Source Systems Infrastructure Tooling
Sajon
Go 1.22+ · MITCreated & Engineered by Asadur Rahman · Open-Source Infrastructure Compiler
“Synthesizing multi-cloud infrastructure, schema migrations, and CI/CD pipelines into declarative code.”
Traditional infrastructure-as-code (IaC) tools often require verbose JSON/HCL configurations, heavy runtime daemons, and complex state file locking mechanisms. For agile development teams, provisioning a simple managed database and running schema migrations involves multiple disjointed dashboards.
Sajon solves this by introducing a domain-specific declarative language (.saj) compiled directly to cloud provider APIs using Go 1.22+. In under 2 seconds, Sajon validates the AST, provisions managed PostgreSQL clusters on Supabase or Neon, executes SQL migrations, guarantees zero orphaned resources, and exports encrypted connection parameters.
AUTHENTIC SAJON DECLARATIVE SPECIFICATION (app.saj)
v1.2.0 Compiler Engine// Multi-Cloud Infrastructure Definition
ARCH cloud_env {
provider = "supabase"
region = "ap-south-1"
}
RESOURCE user_db {
type = "postgres"
pool = 20
}
MIGRATE schema_v2 {
source = "./migrations/init.sql"
}
$ sajon up --env=production
✔ Lexer & AST validated: 0 syntax errors [8ms]
✔ Supabase cloud database provisioned
✔ Table 'users' & 'listings' schema migrated
✔ Guard check passed: 0 orphaned resources
✔ sajon.env generated with encrypted DATABASE_URL
★ Compilation complete in 1.48s
Compiler Capabilities & Architecture
Written in Go 1.22+
Single zero-dependency binary compiling natively on Linux, macOS, and Windows with negligible memory footprint.
Multi-Cloud Adapters
Native provisioning drivers for Supabase PostgreSQL, Neon serverless DB, and AWS RDS instances.
Zero-Orphan Safety Guard
Deterministic reconciliation ensures that failed deployments cleanly rollback without leaving stranded cloud resources.