Skip to content
/ nyx Public

An experimenting async web server written in Nim. 用 Nim 写的实验性异步 web 服务器。

Notifications You must be signed in to change notification settings

l04m33/nyx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's this?

It's Nyx, my experiment on Nim. It's basically a static web server, written with the asyncdispatch module, and serves the current directory ('.') once started. It also contains a tiny framework for writing dynamic web applications.

How's it going?

Most basic server features, like request encapsulation and response generating, are implemented. But due to a bug in Nim itself, connection errors (EPIPE and alike) may be swallowed by the async event loop.

I've patched Nim to correctly handle connection errors. Until the patch is accepted by the Nim folks, you can get the patched version here.

What's the plan?

Well I don't have a plan, so please don't expect regular updates or anything. But if you think it's funny enough, feel free to tell me or fork it yourself.

License

This piece of software is licensed under the terms of the MIT license.

About

An experimenting async web server written in Nim. 用 Nim 写的实验性异步 web 服务器。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages