https://github.com/vibecc/create-vibe
npx create-vibe-static
https://github.com/vibecc/create-vibe
npx package vibe
Last synced: 26 days ago
JSON representation
npx create-vibe-static
- Host: GitHub
- URL: https://github.com/vibecc/create-vibe
- Owner: vibecc
- License: mit
- Created: 2024-06-26T21:21:28.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-14T17:03:49.000Z (about 1 year ago)
- Last Synced: 2025-08-28T22:29:41.165Z (about 1 month ago)
- Topics: npx, package, vibe
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vibe 🍃
**User-friendly and compact C++ Web Framework**
![]()
## Table of Contents
1. [Installation](#installation)
- [cmake](#cmake)
- [npm](#npm)
2. [Usage](#usage)
3. [Compile](#compile)
4. [Examples](#examples)
5. [Support](#support)
6. [Contribution](#contribution)
7. [License](#license)## Installation
To install Vibe
### cmake
```shell
$ git clone https://github.com/vibecc/core
$ cd Vibe
$ cmake .
$ cmake --build .
$ make install
```### npm
#### ready to use
```shell
$ npm create vibe-static
```## Usage
To use Vibe in your project, include the header files and link the static library in your C++ compiler.
```cpp
#includeint main() {
Router router;
router.setPort(8080);router.get("/",{[&](Query &web) {
web.send("Hello World");
}});router.listen();
}
```## Compile
#### compile your project
```bash
$ 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
## 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](LICENSE).