Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jchannon/PoGo

This tool imports Twitter favourites into Pocket.
https://github.com/jchannon/PoGo

Last synced: 4 months ago
JSON representation

This tool imports Twitter favourites into Pocket.

Awesome Lists containing this project

README

        

# PoGo

Written in Golang, this tool imports Twitter favourites into Pocket.

### Instructions

* Get yourself a Twitter access token and secret from http://dev.twitter.com
* Get yourself a Pocket access token from https://getpocket.com/developer/
* Execute the app `go run main.go --consumerkey [TWITTER KEY] --consumersecret [TWITTER SECRET] --pocketapikey [POCKETAPIKEY]`

**Notes:**

This will read tweets marked as favourites. If the tweet contains no links in the tweet, it will add the link to the tweet into Pocket. If the tweet contains a link it will add that to Pocket **only** if the URL has no file extension **OR** if the URL has a `.html, .aspx, .md` extension or if the host name is `github.com`. If the tweet contains a link to something other than the above condition it will be logged to the console that it has not been added to Pocket.
![](http://blog.jonathanchannon.com/images/blogpostimages/pogo.png)