About Carbon

A high-performance HTTP/HTTPS server written in C for Linux systems with modern web capabilities.

Carbon is designed for developers who value speed, security, and simplicity. It combines traditional web server reliability with cutting-edge features like HTTP/2, WebSocket support, and advanced security measures.

performance

High Performance

Epoll-based async I/O, zero-copy file transfers, thread pooling, and memory-mapped file caching for maximum speed.

security

Secure by Default

SSL/TLS support, rate limiting, security headers (CSP, HSTS), input sanitization, and buffer overflow prevention.

protocol

Modern Protocols

Full HTTP/2 implementation with ALPN, RFC 6455 compliant WebSocket support, and secure WebSocket (wss://) connections.

cache

Optimized Caching

Memory-mapped file cache for files up to 10MB, buffer pooling, and gzip compression for text content.

protection

DDoS Protection

Per-IP rate limiting (500 req/min), dynamic CPU-based adaptive limiting, and comprehensive input validation.

developer friendly

Developer Friendly

Linux-style configuration files, comprehensive logging, debug mode, and MIME type auto-detection.

Built With

OpenSSL

SSL/TLS encryption and ALPN support

nghttp2

HTTP/2 protocol implementation

libmagic

Automatic MIME type detection

System Requirements

  • Operating System: Linux (kernel 2.6.27+)
  • Compiler: GCC 4.8+ or Clang 3.4+
  • Memory: Minimum 512MB RAM (1GB recommended)
  • Storage: 50MB for installation
  • Dependencies: OpenSSL, libmagic, nghttp2, zlib

Open Source & Community

Carbon is licensed under the MIT License and welcomes contributions from the community.

View on GitHub Get in Touch