A production-ready, batteries-included C++ framework for building everything from games to financial apps โ in minutes, not months.
๐ Build faster. Ship sooner. Scale forever.
"From Hello World to Production in One Framework"
Conch is a modern, enterprise-grade C++ cross-platform framework that gets you from idea to deployed application at lightning speed. Whether you're building:
- ๐ฎ Games (Snake, interactive apps)
- ๐ฐ Trading Systems (HFT engines, stock simulators)
- ๐ฌ Real-Time Communication (Chat servers, meeting gateways)
- ๐ Network Services (TCP/UDP servers, WebSocket)
- ๐ Data Processing (Analytics, monitoring)
Conch has you covered with a battle-tested architecture, modern tooling, and zero boilerplate.
- โ Before Conch:
- Weeks spent on project setup
- CMake configuration hell
- Dependency management nightmares
- IDE incompatibilities
- No CI/CD templates
- โ With Conch:
- 5-Second Setup: Clone,
./build.sh, done. - Any IDE: VS2022, Xcode, CLion, VSCode โ all pre-configured
- Modern Dependencies: Conan 2.x handles everything automatically
- Production-Ready CI/CD: Jenkins, GitHub Actions, GitLab CI templates included
- Docker Ready: Multi-stage builds, docker-compose orchestration
- 5-Second Setup: Clone,
Conch is designed for the future of software development: Human + AI collaboration.
The framework's modular architecture and standardized structure make it the perfect environment for rapid, AI-assisted development:
- ๐น Modular by Design
Every component is self-contained and follows consistent patterns, making it easy for both humans and AI agents to:
- Understand project structure instantly
- Add new modules without breaking existing code
- Integrate third-party libraries seamlessly
- Scale from prototype to production
- ๐น AI-Agent Friendly
- Crystal-Clear Structure: Consistent naming, organization, and patterns across all modules
- Self-Documenting Code: Modern C++23 features and clear interfaces
- Automated Everything: Build, test, and deploy with single commands
- Intelligent Dependency Management: Conan handles complexity automatically
- ๐น Rapid Prototyping โ Production
Whether you're working solo, with a team, or collaborating with AI coding assistants:
- Describe what you want to build
- Generate modular components using AI or templates
- Integrate into the framework with minimal boilerplate
- Deploy with production-ready CI/CD pipelines
- ๐น From Idea to World-Class Product
- Day 1: Prototype your idea with AI-generated components
- Week 1: Refine and test with automated quality checks
- Month 1: Deploy to production with enterprise-grade infrastructure
- Beyond: Scale effortlessly with battle-tested architecture
๐ก Example AI Collaboration Workflow:
Human: "I need a WebSocket server for real-time notifications"
AI Agent: Creates src/servers/notification_server/
โโโ main.cpp (WebSocket server logic)
โโโ CMakeLists.txt (Auto-integrated)
โโโ tests/ (Unit tests included)
Result: Production-ready server in minutes, not days.
The future of development is collaborative, modular, and lightning-fast. Conch makes it happen.
Get running in 3 commands:
git clone https://github.com/ConchFeng/conch-cpp.git
cd conch-cpp
./build.shThat's it. You now have:
- โ HFT trading engine
- โ RTC meeting gateway
- โ Stock trading simulator
- โ Multi-client chat system
- โ Snake game (CLI + Qt GUI)
- โ Unit tests + benchmarks
All built, all tested, all running.
| Category | Application | Technology | Platforms |
|---|---|---|---|
| Games | Snake Game (CLI) | Terminal UI | macOS, Linux |
| Games | Snake Game (Qt) | Qt6 Widgets | Win, macOS, Linux |
| Finance | Stock Trading Simulator | Portfolio Mgmt | Win, macOS, Linux |
| Network | Chat Server | libuv TCP | Win, macOS, Linux |
| Network | Chat Client | Async I/O | Win, macOS, Linux |
| HFT | Trading Engine | High-Perf | Win, macOS, Linux |
| RTC | Meeting Gateway | WebRTC Ready | Win, macOS, Linux |
| Desktop | Pro Desktop App | Qt6 Cross-Plat | Win, macOS, Linux |
| Mobile | iOS Native App | UIKit | iOS only |
| Mobile | Android Native App | JNI | Android only |
Note
Snake CLI requires Unix terminal APIs and is not available on Windows. Windows users can use Snake Qt instead for a graphical experience.
- foundation: Logging, threading, utilities
- network: High-performance networking (libuv)
- quant_core: Quantitative finance models
- media_core: RTC/Meeting infrastructure
- ui_kit: Qt6 UI components
- โ Multi-IDE Support
- Visual Studio 2022 (Windows)
- Xcode (macOS)
- CLion (Linux)
- VSCode (All platforms)
- โ CI/CD Pipelines
- Jenkins (Declarative pipeline)
- GitHub Actions (Matrix builds)
- GitLab CI (Multi-stage)
- โ Containerization
- Dockerfile (Multi-stage production)
- docker-compose (Service orchestration)
- โ Documentation
- Doxygen (API docs with diagrams)
- Auto-generation scripts
- โ Testing
- GTest (Unit tests)
- Google Benchmark (Performance)
- Coverage reports (gcovr)
Clean, modular, scalable:
conch-cpp/
โโโ src/
โ โโโ libs/ # Reusable libraries
โ โโโ servers/ # Backend services
โ โโโ apps/ # End-user applications
โโโ tests/ # Unit tests + benchmarks
โโโ scripts/ # Build automation
โโโ .github/workflows/ # CI/CD pipelines
โโโ docker/ # Containerization
Run a Chat Server:
./run.sh chat_server
# Server listening on port 8888Connect Chat Clients:
./run.sh chat_client
# Start typing to chat!Trade Stocks:
./run.sh stock_trader
# $100K virtual portfolio, 8 US stocksPlay Snake:
./run.sh snake_cli # Terminal version
./run.sh snake_qt # Qt GUI versionAdd a new application in 3 steps:
- Create directory:
src/apps/my_app/ - Add
CMakeLists.txt(5 lines) - Run
./build.sh
Example CMakeLists.txt:
add_executable(my_app main.cpp)
target_link_libraries(my_app
PRIVATE foundation spdlog::spdlog)Done. Your app is integrated into the framework.
| Component | Technology |
|---|---|
| Language | C++23 |
| Build System | CMake 3.25+ |
| Package Manager | Conan 2.x |
| Desktop UI | Qt6 |
| Mobile (iOS) | Native (UIKit) |
| Mobile (Android) | Native (JNI) |
| Logging | spdlog |
| Networking | libuv |
| Testing | GTest |
| Benchmarking | Google Benchmark |
| Documentation | Doxygen |
| CI/CD | Jenkins, GitHub Actions |
| Containerization | Docker |
- โ Cross-Platform
- Windows, macOS, Linux (desktop)
- iOS, Android (mobile native)
- โ Enterprise Build System
- Conan 2.x dependency management
- CMake presets for all environments
- One-command builds
- โ Multi-IDE Support
- Pre-configured for 4 major IDEs
- Just open and code
- โ Automated Testing
- Unit tests with GTest
- Benchmarks with Google Benchmark
- Coverage reports with one command
- โ CI/CD Ready
- GitHub Actions workflows
- Jenkins declarative pipelines
- GitLab CI configurations
- โ Docker Deployment
- Multi-stage builds (small images)
- docker-compose orchestration
- Production-ready containers
- โ API Documentation
- Doxygen auto-generation
- Call graphs, UML diagrams
- One-command:
./scripts/generate_docs.sh
โ Startups: Ship MVPs in days, not months โ Enterprises: Production-ready architecture โ Indie Developers: Focus on features, not plumbing โ Students: Learn modern C++ best practices โ Game Devs: Cross-platform game framework โ FinTech: HFT/trading infrastructure built-in
- Quick Start Guide: See above โ
- API Documentation: Run
./scripts/generate_docs.sh - Contributing: See CONTRIBUTING.md
- Build Scripts: See scripts/
We love contributions! See CONTRIBUTING.md for:
- Code style guidelines
- Pull request process
- Development setup
- Testing requirements
MIT License - Use it, modify it, ship it. See LICENSE.
If you find Conch useful, give us a โญ on GitHub!
- Issues: GitHub Issues
- Discussions: GitHub Discussions
---
Built with โค๏ธ for the C++ community
Don't just code. Ship.