Heartbeat Configuration
Open source configuration language that thinks, learns, adapts, optimizes and scales.
50+
Commands
9
Languages
100,000+
Lines of Code
Install for Your Language
TuskLang works with your favorite programming languages. Choose your platform and get started in seconds.
PHP
curl -sSL php.tuskt.sk | sudo bash
JavaScript/Node.js
curl -sSL js.tuskt.sk | sudo bash
Python
curl -sSL python.tuskt.sk | sudo bash
Go
curl -sSL go.tuskt.sk | sudo bash
Rust
curl -sSL rust.tuskt.sk | sudo bash
C#
curl -sSL csharp.tuskt.sk | sudo bash
Java
curl -sSL java.tuskt.sk | sudo bash
Ruby
curl -sSL ruby.tuskt.sk | sudo bash
Bash
curl -sSL bash.tuskt.sk | sudo bash
All installations include the TuskLang CLI, language-specific SDKs, and VS Code extensions
π View All DocumentationUniversal Language Support
TuskLang works seamlessly across all major programming languages with optimized SDKs and native integrations.
9 Languages + API β’ Universal .pnt Binary Format β’ 85% Performance Boost
Why TuskLang?
Stop writing dead configuration files. Start writing configs that think.
Intelligent Operators
Use @ operators to make your config pull live data, optimize settings, and learn from usage patterns.
Parse-Style Queries
Query your database directly from config files. No SQL, no ORMs, just intuitive data access.
Web Endpoints
Any .tsk file can become an API endpoint. Your config IS your microservice.
Self-Learning
Configs that optimize themselves over time. Set it once, let it learn and improve.
PHP Heritage
Familiar <?tusk> syntax for PHP developers. Easy migration, powerful evolution.
Human First
Write configs that feel natural. Comments, flexible syntax, and no strict formatting rules.
The Revolutionary Features
These aren't just features. They're paradigm shifts that change how you think about configuration.
π¨ Syntax Freedom
Tired of being forced into rigid configuration formats? TuskLang breaks the rules. Use []
, {}
, or <>
syntax - your choice!
# Traditional INI-style
[database]
host: "localhost"
# JSON-like objects
server {
port: 8080
workers: 4
}
# XML-inspired
cache >
driver: "redis"
ttl: "5m"
<
π₯π₯π₯ ENV and JSON belong in the fiery pits of hell π₯π₯π₯
π Executable Configuration (FUJSEN)
Your configuration files can now DO things. Write actual JavaScript functions in your config files. No compilation step needed.
[payment]
process_fujsen: """
function process(amount, recipient) {
if (amount <= 0) throw new Error("Invalid amount");
return {
success: true,
transactionId: 'tx_' + Date.now(),
amount: amount,
recipient: recipient,
fee: amount * 0.025
};
}
"""
π Cross-File Communication
The peanut.tsk magic. Reference any config from any other config. Hierarchical inheritance with zero configuration.
# peanut.tsk - Global configuration hub
globals {
api_version: "v2"
company: "TuskLang Corp"
region: @env("AWS_REGION", "us-east-1")
}
# api.tsk - References global config
endpoint: @peanut.get("globals.api_version") + "/users"
region: @peanut.get("globals.region")
- β¨ Seamless cross-file references
- π Hierarchical inheritance
- β‘ Zero configuration needed
β‘ Universal .pnt Binary Format
85% performance improvement. Compile your .tsk files to .pnt binary format for lightning-fast execution.
# Compile to binary for production
tsk binary compile config.tsk
# Your app loads 85% faster!
tsk binary execute config.pnt
Performance Gains:
ποΈ Advanced @ Operators
The secret sauce. Every @ operator optimized for .pnt binary format with modern integration patterns.
# Every @ operator now optimized for .pnt binary format
config: @file("settings.pnt") # Load binary configs
users: @query("SELECT * FROM users") # Database queries
api_key: @vault("secret/api/key") # Secure secrets
cache: @redis("app:cache:main") # Redis integration
status: @http("GET", "/health") # HTTP requests
ml_result: @ai("classify", data) # AI/ML integration
graphql: @graphql("{ users { id name } }") # GraphQL queries
grpc: @grpc("UserService.GetUser", {"id": 123}) # gRPC calls
π¬ What Developers Are Saying
Real testimonials from developers who've experienced the TuskLang revolution
"Finally, a config language that doesn't treat me like a child"
- Senior DevOps Engineer
"Cut our configuration complexity by 60% while adding database integration"
- Lead Developer
"The @ operators are pure magic - my configs are now actually intelligent"
- Full Stack Developer
"Database queries in config files? GENIUS. Why didn't anyone think of this before?"
- Backend Architect
See the Magic
Traditional config files are static. TuskLang configs are alive, pulling real-time data and optimizing automatically.
- β¨ Dynamic values with @ operators
- π Live database queries
- π§ Self-optimizing parameters
- π Instant API endpoints
- π Built-in metrics and learning
# Traditional static config
workers: 4
cache_ttl: 3600
db_pool: 20
# TuskLang intelligent config
workers: @optimize('cpu_workers', 4)
cache_ttl: @learn('optimal_cache', 3600)
db_pool: @if(@env == 'prod', 50, 10)
# Live data from your database
active_users: @Query('users')
.where('status', 'active')
.count()
# Cached expensive operations
stats: @cache('5m', {
total: @Query('orders').sum('amount')
average: @Query('orders').avg('amount')
})
Configuration with a Heartbeat
Self-optimizing config files that learn, adapt, and think
π₯π₯π₯ Tired of being forced into rigid configuration formats? TuskLang breaks the rules! π₯π₯π₯
47%
Avg. cost reduction
3x
Faster deployments
0
Manual tuning
Built for Modern Infrastructure
For DevOps Teams
Stop guessing optimal configurations. Let your systems tune themselves.
- π― Auto-scaling database pools
- π Real-time performance metrics
- π Zero-downtime config updates
- π‘οΈ Automatic failover handling
For Developers
Write configs once. Let them evolve with your application.
- π» Familiar PHP-style syntax
- π Instant API endpoints
- π§© Parse-style database queries
- π Self-documenting configs
The Tusk Way is the Right Way
Experience the future of configuration management
Tusk CLI: Power at Your Fingertips
The tsk CLI gives you instant access to database management, development tools, AI-powered analysis, cache control, service orchestration, and binary operationsβall from your terminal.
Database Operations
tsk db status # Database connection status tsk db migrate # Run pending migrations tsk db rollback --steps 1 # Rollback migrations tsk db backup production # Backup database tsk db restore backup.sql # Restore from backup tsk db console # Interactive SQL console
Development Tools
tsk serve --hot-reload # Dev server with hot reload tsk compile --watch # Watch mode compilation tsk lint config.tsk # Lint configuration tsk format --fix # Auto-format .tsk files
AI Integration
tsk ai analyze # Analyze config for issues tsk ai optimize # Get optimization suggestions tsk ai security # Security vulnerability scan tsk ai explain "query" # Explain complex configs tsk ai generate schema # Generate from description
Cache Management
tsk cache clear all # Clear all caches tsk cache warm api # Pre-warm API cache tsk cache status # View cache statistics
Service Control
tsk services start all # Start all services tsk services health # Health check tsk services restart api # Restart specific service
Binary Operations
tsk binary compile *.tsk # Compile all .tsk to .pnt tsk binary validate file.pnt # Validate binary integrity tsk binary info file.pnt # Show binary metadata tsk binary benchmark # Performance comparison