All Projects → mattn → Clask

mattn / Clask

Licence: mit
Web micro-framework like flask in C++.

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Clask

Echo
High performance, minimalist Go web framework
Stars: ✭ 21,297 (+19260.91%)
Mutual labels:  micro-framework
Mcp Panthor
A thin PHP microframework built on Slim and Symfony
Stars: ✭ 11 (-90%)
Mutual labels:  micro-framework
Chubbyphp Framework
A based PSR-15 microframework that also sets maximum flexibility with minimum complexity and easy replaceability of the individual components, but also of the framework.
Stars: ✭ 69 (-37.27%)
Mutual labels:  micro-framework
Atreugo
High performance and extensible micro web framework. Zero memory allocations in hot paths.
Stars: ✭ 661 (+500.91%)
Mutual labels:  micro-framework
Gimlet
A micro web application framework for OpenResty written in Moonscript inspired by Martini & Sinatra.
Stars: ✭ 23 (-79.09%)
Mutual labels:  micro-framework
Picobox
Dependency injection framework designed with Python in mind.
Stars: ✭ 35 (-68.18%)
Mutual labels:  micro-framework
Jodd
Jodd! Lightweight. Java. Zero dependencies. Use what you like.
Stars: ✭ 3,616 (+3187.27%)
Mutual labels:  micro-framework
Jooby
The modular web framework for Java and Kotlin
Stars: ✭ 1,309 (+1090%)
Mutual labels:  micro-framework
Path.swift
Delightful, robust, cross-platform and chainable file-pathing functions.
Stars: ✭ 839 (+662.73%)
Mutual labels:  micro-framework
Yarf
Yet Another REST Framework
Stars: ✭ 62 (-43.64%)
Mutual labels:  micro-framework
Klein
werkzeug + twisted.web
Stars: ✭ 770 (+600%)
Mutual labels:  micro-framework
Then
🎬 Tame async code with battle-tested promises
Stars: ✭ 908 (+725.45%)
Mutual labels:  micro-framework
Nanohttp
A very micro HTTP framework.
Stars: ✭ 47 (-57.27%)
Mutual labels:  micro-framework
Fff
A testing micro framework for creating function test doubles
Stars: ✭ 396 (+260%)
Mutual labels:  micro-framework
Unity Animator Helpers
A micro-framework for changing Unity 3D's Animator parameters with ScriptableObject(s). Designed to make going from custom scripts to Animator parameters easy. Works with 2D or 3D projects.
Stars: ✭ 89 (-19.09%)
Mutual labels:  micro-framework
Picoweb
Really minimal web application framework for the Pycopy project (minimalist Python dialect) and its "uasyncio" async framework
Stars: ✭ 361 (+228.18%)
Mutual labels:  micro-framework
Integrant
Micro-framework for data-driven architecture
Stars: ✭ 866 (+687.27%)
Mutual labels:  micro-framework
Cuba
Rum based microframework for web development.
Stars: ✭ 1,385 (+1159.09%)
Mutual labels:  micro-framework
Mini
Just an extremely simple naked PHP application, useful for small projects and quick prototypes. Some might call it a micro framework :)
Stars: ✭ 1,308 (+1089.09%)
Mutual labels:  micro-framework
Siler
⚡ Flat-files and plain-old PHP functions rockin'on as a set of general purpose high-level abstractions.
Stars: ✭ 1,056 (+860%)
Mutual labels:  micro-framework

clask

C/C++ CI

Very Very Experimental Web micro-framework like flask in C++.

DO NOT USE THIS IN PRODUCTION

Usage

#include "clask/core.hpp"

int main() {
  auto s = clask::server();
  s.GET("/", [](clask::request& req) {
    return "OK!";
  });
  s.GET("/foo", [](clask::response& resp, clask::request& req) {
    resp.set_header("content-type", "text/html");
    resp.write("he<b>l</b>lo");
  });
  s.run();
}

TODO

  • Unescape paths in request
  • Unescape query parameters in request
  • Implement keep-alive
  • Serve static file
  • Responses oriented classes such as JSON

License

MIT

This product contains following third-party libraries:

  • picohttpparser written by kazuho

Author

Yasuhiro Matsumoto (a.k.a. mattn)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].