Skip to content

Latest commit

History

History
177 lines (120 loc) · 3.78 KB

File metadata and controls

177 lines (120 loc) · 3.78 KB

Vix.cpp

Build real applications with modern C++.

Vix.cpp is a modern C++ runtime for building fast, reliable, production-ready applications.

Website · Docs · Registry · Engineering notes

Vix.cpp removes friction from C++ application development. It gives C++ a modern application workflow while keeping native performance, explicit control, and production-oriented architecture.

Vix is not just a web framework. It is a runtime foundation for backend services, AI agents, games, P2P systems, local-first applications, fast builds, templates, and production-ready C++ projects.

Install

Shell, Linux and macOS:

curl -fsSL https://vixcpp.com/install.sh | bash

PowerShell, Windows:

irm https://vixcpp.com/install.ps1 | iex

More installation options:

https://vixcpp.com/install

Quick start

Create server.cpp:

#include<vix.hpp>usingnamespacevix;intmain()
{
vix::App app;
app.get("/", [](Request &req, Response &res) {
res.send("Hello from Vix.cpp");
});
app.run(8080);
return0;
}

Run it:

vix run server.cpp

Open:

http://localhost:8080

Why Vix.cpp ?

C++ is powerful, but building real applications often means rebuilding the same foundation again and again.

Vix gives you that foundation:

  • run C++ files with vix run
  • create projects with vix new
  • build fast with vix build
  • build backend services
  • build WebSocket applications
  • build P2P systems
  • build AI agents
  • build game-oriented projects
  • use threadpool and async runtime modules
  • use KV, cache, database, ORM, middleware, crypto, validation, and template modules
  • generate production-ready backend projects
  • integrate backend projects with frontend apps such as Vue.js

Runtime modules

agent async cache cli conversion
core crypto db env error
fs game io json kv
log middleware net orm os
p2p p2p_http path process reply
sync template tests threadpool time
utils validation webrpc websocket

Vix.cpp is designed as an application runtime layer, not only as an HTTP server.

Built with Vix.cpp

Kordex

A JavaScript and TypeScript runtime layer built on Vix and Softadastra.

https://github.com/softadastra/kordex

Softadastra

A local-first and offline-first runtime foundation for reliable applications.

https://github.com/softadastra/softadastra

PulseGrid

Real-time service monitoring built with Vix.cpp.

https://github.com/softadastra/PulseGrid

Vix Game

Game-oriented project built on the Vix.cpp runtime foundation.

https://github.com/vixcpp/vix-game

Links

Contributing

Contributions are welcome.

Read the contribution guide:

https://docs.vixcpp.com/contributing

License

MIT License.