Aero
Aero is a high-performance web server with a clean API for web development.
Installation
go get github.com/aerogo/aero/...
Usage
Run this in an empty directory:
aero -newapp
Now you can build your app with go build or use the more advanced run tool.
Features
- Makes it easy to reach top scores in Lighthouse, PageSpeed and Mozilla Observatory
- Optimized for high latency environments (mobile networks)
- Has a strict content security policy
- Calculates E-Tags out of the box
- Finishes ongoing requests on a server shutdown
- Supports HTTP/2, IPv6 and Web Manifest
- Automatic HTTP/2 push of configured resources
- Supports session data with custom stores
- Provides http and https listener
- Shows response time and size for your routes
- Can run standalone without nginx babysitting it
Optional
- layout as a layout system
- pack to compile Pixy, Scarlet and JS assets in record time
- run which automatically restarts your server on code/template/style changes
- pixy as a high-performance template engine similar to Jade/Pug
- scarlet as an aggressively compressing stylesheet preprocessor
- nano as a fast, decentralized and git-trackable database
- api to automatically implement your REST API routes
- markdown as an overly simplified markdown wrapper
- http as an HTTP client with a simple and clean API
- log for simple & performant logging