Skip to content
This repository was archived by the owner on Aug 17, 2026. It is now read-only.
vermellccPublic archive

About

npx create-vibe-static

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Vibe 🍃

User-friendly and compact C++ Web Framework

vibe image

Table of Contents

  1. Installation
  2. Usage
  3. Compile
  4. Examples
  5. Support
  6. Contribution
  7. License

Installation

To install Vibe

cmake

CMake

$ git clone https://github.com/vibecc/core
$ cd Vibe
$ cmake .
$ cmake --build .
$ make install

npm

NodeJS

ready to use

$ npm create vibe-static

Usage

To use Vibe in your project, include the header files and link the static library in your C++ compiler.

#include <vibe/vibe.h>

int main() {

    Router router;
    router.setPort(8080);


    router.get("/",{[&](Query &web) {
        web.send("Hello World");
    }});


    router.listen();
}

Compile

compile your project

$ g++ -std=c++17  main.cpp -o server -L. -lvibe

Examples

In the examples/ folder (github repo), you'll find examples of how to use Vibe for different use cases, such as dynamic routes, form handling, etc.

Support

Linux

Contribution

Contributions are welcome! If you want to contribute to Vibe, please follow these guidelines:

  • Fork the repository.
  • Create a branch for your new feature (git checkout -b feature/new-feature).
  • Make your changes and commit meaningful messages.
  • Push your branch (git push origin feature/new-feature).
  • Create a pull request.

License

This project is licensed under the MIT License.

About

npx create-vibe-static

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages