bofhwits-feed

command module
v0.0.0-...-cfb1e8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2016 License: MIT Imports: 10 Imported by: 0

README

bofhwits-feed Build Status

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

  1. 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.
  1. go get github.com/amauragis/bofhwits-feed
  2. Set up the configuration file to point to your bofhwits database.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL