ONO PREPROCESSOR
Universal AI-powered templating for cross-platform scripting
echo '[?ono find and safely terminate process on port 8080?]' | nc demo.onolang.com 8080
// Universal path handling
const configPath = "?ono generate cross-platform
config file path for app named 'myapp'?"
// Smart defaults that don't need system access
const dbConfig = "?ono create production database
configuration with security best practices?"
// Language-aware code generation
const apiClient = "?ono generate HTTP client class
with retry logic and proper error handling?"
// Universal regex patterns
const emailValidator = "?ono create robust email
validation regex with international domain support?"
How Ono Works
1
Include ONOs in your code
They remain syntactically valid and won't break your build or IDE.
... existing code ...
userdir="?ono get users home directory ?";
... more existing code ...
2
Process with ONO
Run the preprocessor to resolve directives for your target context
$ ono --context prod.yaml \
script.ono.sh > script.sh
3
Execute Anywhere
Run the generated script on any supported platform
$ ./script.sh
Why Developers Love Ono
Eliminate Platform-Specific Code
Write scripts once, run anywhere without conditional logic
Reduce Boilerplate
Automate repetitive configuration tasks
Future-Proof Scripts
AI updates output as platforms evolve