Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jchannon/PoGo
- Owner: jchannon
- License: mit
- Created: 2015-10-24T19:38:20.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-04T11:13:30.000Z (over 7 years ago)
- Last Synced: 2024-06-22T09:40:20.453Z (6 months ago)
- Language: Go
- Homepage:
- Size: 4.56 MB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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)