CrowCpp
A Fast and Easy to use microframework for the web.
Crow is a C++ framework for creating HTTP or Websocket web services. It uses routing similar to Python's Flask which makes it easy to use. It is also extremely fast, beating multiple existing C++ frameworks as well as non C++ frameworks.
Blazingly Fast
Header Only
Typesafe handlers
Websocket Support
Easy to get started
#include "crow.h"
int main()
{
crow::SimpleApp app;
CROW_ROUTE(app, "/")([](){
return "Hello world";
});
app.port(18080).run();
}
CROW_ROUTE(app, "/json")
([]{
crow::json::wvalue x({{"message", "Hello, World!"}});
x["message2"] = "Hello, World.. Again!";
return x;
});
JSON Support Built-in
URL parameter support as well!
CROW_ROUTE(app,"/hello/<int>")
([](int count){
return crow::response(std::to_string(count));
});
Support Crow
Crow is provided free of charge courtesy of everyone who is donating their money, time, and expertise to keep it going.
Help us make something great!
Fund Crow
Develop Crow
Chat with us
Get Crow
Crow is everywhere, you just need to grab it!
.deb file
for Ubuntu/Debian based systems
AUR
for Arch Linux based systems
VCPKG
for Windows based systems
Homebrew
for MacOS based systems
Nixpkgs
for Nix based systems
Conan Center
for developers using the conan package manager
Header File
Download Crow directly from github
Learn Crow
The 1000 mile journey begins with a single step. Get started by installing Crow and building your first application. Or go through the guides if you're stuck somewhere.
Get Started
Guides
API Reference
Help us make something great!
Fund Crow Develop Crow Chat with usGet Crow
Crow is everywhere, you just need to grab it!
.deb file
for Ubuntu/Debian based systems
AUR
for Arch Linux based systems
VCPKG
for Windows based systems
Homebrew
for MacOS based systems
Nixpkgs
for Nix based systems
Conan Center
for developers using the conan package manager
Header File
Download Crow directly from github
Learn Crow
The 1000 mile journey begins with a single step. Get started by installing Crow and building your first application. Or go through the guides if you're stuck somewhere.
Get Started
Guides
API Reference
.deb file
for Ubuntu/Debian based systems
AUR
for Arch Linux based systems
VCPKG
for Windows based systems
Homebrew
for MacOS based systems
Nixpkgs
for Nix based systems
Conan Center
for developers using the conan package manager
Header File
Download Crow directly from github