Skip to content
This repository was archived by the owner on Oct 17, 2020. It is now read-only.

raelmax/city

Folders and files

NameName
Last commit message
Last commit date
Aug 25, 2016
Oct 5, 2016
Oct 5, 2016
Oct 5, 2016
Aug 30, 2016
Oct 5, 2016
Oct 5, 2016
Oct 5, 2016
Oct 9, 2016
Aug 26, 2016
Aug 23, 2016
Oct 5, 2016
Aug 25, 2016
Aug 25, 2016
Aug 25, 2016

Repository files navigation

City

A simple in memory feed aggregator service

Running local

You need a configuration file on yaml format with your feed title and a list of feed urls like:

title: "Test Config Title"
feeds:
    - "https://raelmax.github.io/rss.xml"

Then, download the binary on releases page and run:

./city -config=path/to/your/config.yaml -port=8000 -timeout=5

Access http://127.0.0.1:8000 from your browser.

Deploy to heroku

Just fork this repository and click on this button:

Deploy

Development

Get the city source code:

go get github.com/raelmax/city

Run tests:

go test

Future

  • Deploy to heroku
  • Improve test coverage
  • Pagination
  • Posts expiration
  • Database support(?)