Languages: English · Русский · 简体中文
Ktav (כְּתָב, "writing") — a plain configuration format. JSON-shape, no quotes, dotted keys, native multi-line strings. One screen of rules; zero indentation traps.
port: 20082
banned_patterns: [
.*\.onion:\d+
]
upstreams: [
{
host: a.example
port: 1080
timeouts: {
read: 30
write: 10
}
}
]
motd: (
Welcome to the node.
Please behave.
)
Current stable: Ktav 0.6.0.
The format dog-foods itself: versions.ktav
is the machine-readable index of all versions, written in Ktav.
Be the config's friend, not its examiner. The config isn't perfect — but it's the best one.
The author has many ideas that could be broadly useful to IT worldwide — not limited to Ktav. Realizing them requires funding. If you'd like to help, please reach out at phpcraftdream@gmail.com.
All ktav-lang repositories are MIT-licensed.
