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
features = ["search", "dark-mode"] // A list

^ 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? Pick the collection that matches where you are β€” from first steps to full-scale configs.


Next steps

  • ➑️ Get Started
    Install the CLI and create your first YINI file.
  • ➑️ Quick Tutorial
    A 5-minute walkthrough of the core YINI concepts.

New to YINI? Start with the 5-minute tutorial.