πŸ”₯ F{{K JSON πŸ”₯ F..K ENV ❀️ HELLO TUSK

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

PHP

curl -sSL php.tuskt.sk | sudo bash
πŸ“š Docs
JavaScript

JavaScript/Node.js

curl -sSL js.tuskt.sk | sudo bash
πŸ“š Docs
Python

Python

curl -sSL python.tuskt.sk | sudo bash
πŸ“š Docs
Go

Go

curl -sSL go.tuskt.sk | sudo bash
πŸ“š Docs
Rust

Rust

curl -sSL rust.tuskt.sk | sudo bash
πŸ“š Docs
C#

C#

curl -sSL csharp.tuskt.sk | sudo bash
πŸ“š Docs
Java

Java

curl -sSL java.tuskt.sk | sudo bash
πŸ“š Docs
Ruby

Ruby

curl -sSL ruby.tuskt.sk | sudo bash
πŸ“š Docs
Bash

Bash

curl -sSL bash.tuskt.sk | sudo bash
πŸ“š Docs

All installations include the TuskLang CLI, language-specific SDKs, and VS Code extensions

πŸ“š View All Documentation

Universal Language Support

TuskLang works seamlessly across all major programming languages with optimized SDKs and native integrations.

TuskLang Universal Language Support - 9 languages + API with central TSK hub

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!

config.tsk - 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 πŸ”₯πŸ”₯πŸ”₯

TuskLang Syntax Flexibility - Choose your preferred syntax style
FUJSEN Executable Configuration - Write functions in config files

πŸš€ Executable Configuration (FUJSEN)

Your configuration files can now DO things. Write actual JavaScript functions in your config files. No compilation step needed.

payment.tsk
[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.

Cross-File References
# 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
Cross-File Communication - peanut.tsk magic for seamless config references
Performance Benchmarks - 85% improvement with .pnt binary format

⚑ Universal .pnt Binary Format

85% performance improvement. Compile your .tsk files to .pnt binary format for lightning-fast execution.

Binary Compilation
# Compile to binary for production
tsk binary compile config.tsk

# Your app loads 85% faster!
tsk binary execute config.pnt

Performance Gains:

Rust: 432K/sec β†’ 800K/sec 85% ⚑
Go: 270K/sec β†’ 500K/sec 85% ⚑
JavaScript: 108K/sec β†’ 200K/sec 85% ⚑
Python: 95K/sec β†’ 175K/sec 85% ⚑

πŸŽ›οΈ Advanced @ Operators

The secret sauce. Every @ operator optimized for .pnt binary format with modern integration patterns.

Advanced Operators
# 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
Advanced @ Operators - The secret sauce for intelligent configuration

πŸ’¬ 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
config.tsk
# 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

TuskLang Heartbeat - Self-optimizing configuration system
Alive β€’ Intelligent β€’ Connected

Built for Modern Infrastructure

Real-time auto-scaling and performance monitoring

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
Intelligent @ operators for dynamic configuration

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

TuskLang Architecture - Scalable and intelligent system design

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
                
50+ commands!

Pick Your Language

TuskLang is ready for your stack. Choose a language to explore its SDK and integration guide.

PHP
PHP
JavaScript
JavaScript
Python
Python
Go
Go
Rust
Rust
C#
C#
Java
Java
Ruby
Ruby
Bash
Bash