| Crates.io | avl-console |
| lib.rs | avl-console |
| version | 0.3.0 |
| created_at | 2025-11-23 08:15:09.784331+00 |
| updated_at | 2025-11-23 08:15:09.784331+00 |
| description | AVL Console - Advanced developer portal with AI Assistant, ML-powered monitoring and visual query builder |
| homepage | https://avila.cloud |
| repository | https://github.com/avilaops/arxis |
| max_upload_size | |
| id | 1946281 |
| size | 382,233 |
World-Class Developer Portal and Web Dashboard for AVL Cloud Platform
ποΈ Complete Control | βοΈ Intuitive UI | π Real-Time Monitoring | π Sub-10ms Latency
π Learn More:
- AI_ASSISTANT.md - Natural Language to SQL Guide
- ADVANCED_FEATURES.md - Complete Advanced Features Documentation
avl CLIβββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AVL Console Frontend (SSR) β
β Modern UI with WebSocket Real-Time Updates β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Axum REST API + WebSocket Server β
β Auth β’ Rate Limiting β’ CORS β’ Compression β’ Trace β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
ββββββββββββββββ¬βββββββββββββββ¬βββββββββββββββ¬ββββββββββ
β AvilaDB β Storage β Observabilityβ Billing β
β Explorer β Browser β Dashboard β Tracker β
ββββββββββββββββ΄βββββββββββββββ΄βββββββββββββββ΄ββββββββββ
# Add to Cargo.toml
[dependencies]
avl-console = "0.3"
use avl_console::{Console, ConsoleConfig};
#[tokio::main]
async fn main() -> anyhow::Result<()> {
// Load configuration from environment
let config = ConsoleConfig::from_env()?;
// Create and start console
let console = Console::new(config).await?;
console.serve("127.0.0.1:8080").await?;
Ok(())
}
# Start the console server
cargo run --example basic
# Or with custom configuration
AVL_CONSOLE_PORT=3000 cargo run --example basic
π₯οΈ Console: http://localhost:8080/dashboard
ποΈ AvilaDB: http://localhost:8080/databases
πΎ Storage: http://localhost:8080/storage
π Metrics: http://localhost:8080/observability
π° Billing: http://localhost:8080/billing
# Server
AVL_CONSOLE_BIND=127.0.0.1
AVL_CONSOLE_PORT=8080
AVL_CONSOLE_DEBUG=false
# Endpoints
AVL_AUTH_ENDPOINT=http://localhost:8001
AVL_AVILADB_ENDPOINT=http://localhost:8000
AVL_STORAGE_ENDPOINT=http://localhost:8002
AVL_OBSERVABILITY_ENDPOINT=http://localhost:8003
# Security
AVL_CONSOLE_SECRET=your-secret-key-change-in-production
AVL_CONSOLE_CORS_ORIGINS=http://localhost:8080
# Rate Limiting
AVL_CONSOLE_RATE_LIMIT=100 # requests per minute
use avl_console::ConsoleConfig;
let config = ConsoleConfig {
bind_address: "0.0.0.0".to_string(),
port: 8080,
debug: true,
rate_limit: 100,
max_ws_connections: 10,
..Default::default()
};
GET /api/health
{
"status": "healthy",
"version": "0.1.0",
"services": {
"aviladb": true,
"storage": true,
"observability": true
}
}
POST /api/auth/login
Content-Type: application/json
{
"username": "admin",
"password": "password"
}
GET /databases/list
Authorization: Cookie avl_session=xxx
POST /databases/{db_id}/query
Content-Type: application/json
{
"query": "SELECT * FROM users WHERE active = true"
}
# Run all tests
cargo test
# Run integration tests
cargo test --test integration_tests
# Run with logging
RUST_LOG=debug cargo test -- --nocapture
# Development build
cargo build
# Production build (optimized)
cargo build --release
# Build for specific target
cargo build --target x86_64-unknown-linux-gnu --release
FROM rust:1.75 as builder
WORKDIR /app
COPY . .
RUN cargo build --release
FROM debian:bookworm-slim
COPY --from=builder /app/target/release/avl-console /usr/local/bin/
EXPOSE 8080
CMD ["avl-console"]
docker build -t avl-console .
docker run -p 8080:8080 -e AVL_CONSOLE_SECRET=mysecret avl-console
Contributions are welcome! Please read our Contributing Guide.
git checkout -b feature/amazing)git commit -am 'Add amazing feature')git push origin feature/amazing)Licensed under either of:
at your option.
Part of the AVL Cloud Platform - Brazil's premier cloud infrastructure.
AVL Console - Complete control over your cloud infrastructure π