WitchServer
The witch Web server, Written in golang
This is a work-in-progress. So code might be a bit messy.
I will only release the working, stable versions of of witch.
If you want to try the unstable, you will have to build it.
Why is it named witch, welp https://randomwordgenerator.com/
How to build witch
Windows / Mac / Linux
cd witch
go get -u github.com/gen2brain/dlgs
go build ./witch.go
The server will look for a index.html
file when "/" is acessed so make sure to have that created
Nothing happens if you dont, you just get a error
Benchmarks
Tested on template : https://templatemo.com/tm-565-onix-digital
Its a big templates with lots of content to loade
Server |
Speed |
Witch |
2.19s |
Nginx |
3.11 |
ToDo List
- Basic File loading and routeing
- custom routes based on json file
- php? or altertive
- HTTPS!
- Status gui
- templateing based on json
This list is bond to grow, and fast.
So if there is a missing feature it will be on here soon