Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haarts/golang_news

The source powering Twitter account http://twitter.com/golang_news
https://github.com/haarts/golang_news

Last synced: 9 days ago
JSON representation

The source powering Twitter account http://twitter.com/golang_news

Awesome Lists containing this project

README

        

# @golang_news
This tiny piece of Go code powers the Golang News account at [Twitter](http://twitter.com/golang_news).

It checks [HackerNews](http://news.ycombinator.com), [Reddit](http://www.reddit.com/r/golang) and the official
[Go blog](http://blog.golang.org/) for new content.

## Build

`$ go build`

### Plugins

```shell
$ cd plugins/golang_news
$ go build -buildmode=plugin
```

## Run

Add your credential of your personal twitter bot to `settings.json`, look at
`settings.json.example` for, well, an example.

The settings file is expect to be in the same directory as the executable.

Finally run the binary with the first argument pointing to the plugin (`*.so`
file):

```shell
$ ./golang_news plugins/golang_news/golang_news.so
```