nope.c is a C language-based ultra-light software platform for scalable server-side and networking applications. Think node.js for C programmers.
Just put your code inside the function void server(int client, const char * queryString, const char * method) in server.c and you are good to go.
Default port is 4242. Set environment variable 'PORT' to change it.
That's really it. The source comes with a simple example that prints "Hello World" to get your started.
Acknowledgements:
-
J. David Blackstone and Feng Shen, whose web servers have been repurposed to build this platform.
-
Mark Karpeles for the incredible number of bug fixes!
-
Fine folks at /r/programming for the honest and constructive feedback.