YINI Code Examples

Minimal, common and real-world configuration examples in the YINI format.

Explore practical configuration examples written in the YINI configuration format, ranging from simple beginner-friendly examples to larger real-world configurations.

A quick/minimal example

Hello world

^ App
name  = "Nebula"
debug = false

^ Server
host = "127.0.0.1"
port = 8080

A bit fuller example

@yini

^ App
name     = "Nebula"
isDebug  = false
logPath  = "./logs/nebula.log"
features = ["search", "dark-mode"] // A list (array)

^ Server
host   = "0.0.0.0"
port   = 8080
limits = { rpm: 1200, burst: 60 }  // An inline object

Explore example pages/collections

Not sure where to start? Begin with the Core YINI examples, then explore the collection that matches what you need — from focused syntax examples to full-scale configs.

Next steps