bofhwits-feed
Supposedly go makes it really easy to make web services with just net.http, so I decided to try to completely rip off
Comradephate's Unicorn/Sinatra version. Honestly, there isn't a whole lot to it.
This takes posts in a mysql database created by bofhwits and serves them to web clients.
It's a goal to add some filtering ability, a search, and potentially a "worst poster" type dealy with stats or something. It's
probably pretty easy because it's all in a database.
Also, I don't really know enough about databases to say anything for sure, but issuing a query for every row on every request seems
wasteful and I should maybe consider some sort of "caching". Maybe create an index? Maybe google will tell me. 🤷
Installing
- Install Go (>= 1.6)
- If you haven't installed go before, do read that page a bit. $GOPATH and $GOROOT and such are kind of
non intuitive.
go get github.com/amauragis/bofhwits-feed
- Set up the configuration file to point to your bofhwits database.