Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flimzy/ale
Micro web framework for Go
https://github.com/flimzy/ale
Last synced: about 17 hours ago
JSON representation
Micro web framework for Go
- Host: GitHub
- URL: https://github.com/flimzy/ale
- Owner: flimzy
- License: mit
- Created: 2016-10-06T10:19:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-24T19:23:51.000Z (almost 7 years ago)
- Last Synced: 2025-01-09T09:46:39.227Z (4 days ago)
- Language: Go
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Ale is a minimalistic web framework written in Go.
## Why?
Why does the world need another web framework?
It doesn't.
I'm a strong believer in the Go philosophy of not using extraneous frameworks, and building everything yourself from scratch.
On the other hand, I write multiple web applications, and I don't want to duplicate all the boilerplate code in every one. So this package is simply *my* web framework scaffolding. I make no attempt to make this useful for anyone else. I publish it on GitHub for my own personal convenience, and on the off chance that someone else might also find it useful. But I make no guarantees, or necessarily even any effort, to make this product meaningful or useful for anyone other than me, in my own situation.
## Why the name?
There's a trend toward naming Go web frameworks after cocktails. I hate cocktails. But I like beer. And "Ale" is shorter than "Belgian Tripel", which is my favorite style, and seems catchier than either "Red" or "IPA", which tie it for length.
## What does it do?
Ale is designed to make writing 12-factor apps easier, and this informs many assumptions.
Ale simplifies a few tedious tasks I was tired of repeating in my web apps:
* Reading configuration from the environment
* Logging to stdout
* Debugging to stdout when the 'debug' build flag is used
* Port binding
* Graceful shutdownTODO:
* Simple handling of html/template
## What does it not do?
Anything not on the list above, Ale does not attempt to do.
## What license?
Ale is released under the MIT license. See the LICENSE.txt file for details.