All Projects → iFuSiiOnzZ → minimal-http-server

iFuSiiOnzZ / minimal-http-server

Licence: other
Basic http server

Programming Languages

c
50402 projects - #5 most used programming language
Batchfile
5799 projects
shell
77523 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to minimal-http-server

matador
Take your appclication by the horns
Stars: ✭ 59 (+126.92%)
Mutual labels:  http-server, multiplatform
ErpNet.FP
ErpNet.FP is a light-weight cross-platform Http server facilitating printing to fiscal printers through simple JSON Api.
Stars: ✭ 75 (+188.46%)
Mutual labels:  http-server, multiplatform
quiki
a file-based web engine and server featuring a productive source language, markdown, image generation, categories, templates, and revision tracking
Stars: ✭ 20 (-23.08%)
Mutual labels:  http-server
smartacus-mqtt-broker
smartacus-mqtt-broker is a Java-based open source MQTT broker that fully supports MQTT 3.x .Using Netty 4.1.37
Stars: ✭ 25 (-3.85%)
Mutual labels:  http-server
blend2d-python
Cython wrapper for Blend2D
Stars: ✭ 13 (-50%)
Mutual labels:  multiplatform
squilu
A scripting language that accepts a subset of javascript and C/C++
Stars: ✭ 69 (+165.38%)
Mutual labels:  http-server
minigdx
Minimalist Game Framework using Kotlin Multiplatform
Stars: ✭ 136 (+423.08%)
Mutual labels:  multiplatform
mirror-http-server
A dummy HTTP server that responds whatever you told it to
Stars: ✭ 35 (+34.62%)
Mutual labels:  http-server
aqua
A minimal and fast 🏃 web framework for Deno
Stars: ✭ 219 (+742.31%)
Mutual labels:  http-server
tinyweb
Simple and lightweight HTTP async server for micropython
Stars: ✭ 182 (+600%)
Mutual labels:  http-server
fourinarow-app
An online version of the popular game four in a row, written in Flutter + Dart on the client and Rust on the server side.
Stars: ✭ 23 (-11.54%)
Mutual labels:  multiplatform
lighttpd-Link
A lighttpd powered lightweight web server for the Steam Link
Stars: ✭ 21 (-19.23%)
Mutual labels:  http-server
http4ts
Server as a Function http toolkit for TypeScript & JavaScript
Stars: ✭ 30 (+15.38%)
Mutual labels:  http-server
sheret
A tiny, simple static file web server.
Stars: ✭ 45 (+73.08%)
Mutual labels:  http-server
libmicrohttpd-http2
HTTP/2 support for libmicrohttpd
Stars: ✭ 21 (-19.23%)
Mutual labels:  http-server
yams
YAMS: Awesome MIPS Server
Stars: ✭ 17 (-34.62%)
Mutual labels:  http-server
phorklift
Phorklift is an HTTP server and proxy daemon, with clear, powerful and dynamic configuration.
Stars: ✭ 43 (+65.38%)
Mutual labels:  http-server
http-server-pwa
👾 http-server alike but for serving and rendering PWA: pwa-server
Stars: ✭ 14 (-46.15%)
Mutual labels:  http-server
vkhelpers
Vulkan c helper library
Stars: ✭ 25 (-3.85%)
Mutual labels:  multiplatform
go-import-server
HTTP server for canonical "go get" import path
Stars: ✭ 29 (+11.54%)
Mutual labels:  http-server

Minimal HTTP server

Minimal multi-platform, Windows and Linux, implementation of a light HTTP server in C.

Features

  • Accepts GET petitions
  • Multi-platform (Windows and Linux [easy to add a new ones by providing the services layer])
  • Multi-threaded user request (making use of the thread pool, twice as thread as hardware threads)

Folders structure

|->httpd
    |-> platform.h         Operating system services (abstraction layer)
    |-> functions.h        Main entry point for the user request
    |-> functions.c        Contains all the implementation needed to process the user request
    |-> headers.h          Minimal HTTP headers used by the server (200, 400, 500, etc)
    |-> headers.c          Implementation of the HTTP headers
|-> linux
    |-> build              Build script (it uses gcc)
    |-> build.c            Unity build file
    |-> server.c           Program entry point and abstraction layer definition
|-> win32
    |-> build.bat          Build script (cl.exe has to be loaded [vcvars.bat])
    |-> build.c            Unity build file
    |-> server.c           Program entry point and abstraction layer definition

How to build

[win32]  mkdir c:\webserver\src\
[win32]  cd c:\webserver\src\

[linux]  mkdir -p /home/<user>/webserver/src/
[linux]  cd /home/<user>/webserver/src/

git clone https://github.com/iFuSiiOnzZ/http.git .

[win32] cd win32
[win32] "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
[win32] .\build.bat --build-type=Release (or Debug)

[linux] cd linux
[linux] sh ./build.sh --build-type=Release (or Debug)

* the output it will be found ../../bin (c:\webserver\bin or /home/<user>/webserver/bin)
* you can use whatever path you want this are just an example
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].