Universal Polyglot Runtime
Run JavaScript, TypeScript, PHP, Python, Ruby, Go, Zig, Rust, C, and C++ — all from a single runtime.
# Install globally via npm (macOS / Linux / Windows)
npm install -g klyron
# Or via curl (macOS / Linux / WSL)
curl -fsSL https://klyron.dev/install.sh | bash
# Or via PowerShell (Windows)
iwr -useb https://klyron.dev/install.ps1 | iex
# Or via Cargo
cargo install klyron-cli
# Verify installation
klyron --version
# Run your first script
klyron run hello.js- Polyglot Execution — Run 10 languages from a single runtime without manually installing separate interpreters
- Unified HTTP API — Write servers once using
Klyron.serve()that work across all languages - Built-in Package Manager — No need for npm, pip, gem; use
klyron installfor everything - Scaffolding System — Generate full-stack apps, APIs, microservices, and more with
klyron scaffold - Hot Reload — Watch mode with automatic restarts on file changes
- Bundling & Transpilation — Built-in bundler and transpiler for JS/TS
- Plugin System — Extend Klyron with native Rust plugins
- AI Integration — Built-in crate for LLM-powered features (
klyron_ai) - Docker Support — Seamless containerization
- Workspace Management — Monorepo support out of the box
klyron run hello.jsklyron run hello.ts// server.js
Klyron.serve({ port: 3000 }, (req) => {
return new Response("Hello from Klyron!", {
headers: { "Content-Type": "text/plain" },
});
});klyron run server.jsklyron scaffold my-app --template react
klyron scaffold my-api --template apiklyron install lodash
klyron install flask
klyron install requests| Language | Extension | Status |
|---|---|---|
| JavaScript | .js |
✅ |
| TypeScript | .ts |
✅ |
| PHP | .php |
✅ |
| Python | .py |
✅ |
| Ruby | .rb |
✅ |
| Go | .go |
✅ |
| Zig | .zig |
✅ |
| Rust | .rs |
✅ |
| C | .c |
✅ |
| C++ | .cc .cpp .cxx .hpp |
✅ |
# Clone and explore
git clone https://github.com/dextryayers/klyron.git
cd klyron/examples/01-hello-world
klyron run hello.jsCheck the examples directory for:
01-hello-world— Polyglot hello world in 8 languages02-http-server— HTTP server with Klyron's unified API03-react-app— Full React frontend04-laravel-app— Laravel PHP application05-next-app— Next.js full-stack app06-fullstack— Full-stack monolith07-microservices— Microservices architecture08-desktop— Desktop application
We welcome contributions from the community!
- Fork the repository
- Create a branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to your branch (
git push origin feature/amazing-feature) - Open a Pull Request
Please read our Contributing Guide for details on our code of conduct and development process.
git clone https://github.com/dextryayers/klyron.git
cd klyron
cargo build
cargo testThis project is licensed under the MIT License — see the LICENSE file for details.
klyron.dev · GitHub · Issues · Discussions