Script to get your feed on Feedly for BitBar


I made a script to get your feed by Feedly for BitBar which can put anything in your menu bar on Mac.

feed_on_feedly


🐯 Get auth token

Open the following URL by browser:

(If you use Twitter or etc for user authorization, please change provider.)

https://cloud.feedly.com/v3/auth/auth?client_id=feedly&redirect_uri=http://localhost&scope=https://cloud.feedly.com/subscriptions&response_type=code&provider=google&migrate=false

After the authorization in Feedly, please copy a code(XXX) in redirected URL.

XXX in http://localhost/?code=XXX&state=

Execute a following command in your terminal:

(Please feel the upper code to a following XXX.)

$ curl -s -d 'client_id=feedly&client_secret=0XP4XQ07VVMDWBKUHTJM4WUQ&grant_type=authorization_code&redirect_uri=http%3A%2F%2Fwww.feedly.com%2Ffeedly.html&code=XXX' https://cloud.feedly.com/v3/auth/token

The upper command give you a access_token and refresh_token, So please use the access_token.

🗻 Set the script to BitBar

Please execute a following command in your terminal:

$ cd /path/to/bitbar-plugin/

$ wget https://raw.githubusercontent.com/morizyun/bitbar-plugins/features/add_feedly/Web/Feedly/feedly.rb -O feedly.1h.rb

Please enter the access_token which is received by Feedly to the feedly.1h.rb.

So you can see your feed on Feedly in your menu bar!

feed_on_feedly

🚕 Script

This is the script to get feed on Feedly.

🏈 Special Thanks

🖥 Recommended VPS Service

VULTR provides high performance cloud compute environment for you. Vultr has 15 data-centers strategically placed around the globe, you can use a VPS with 512 MB memory for just $ 2.5 / month ($ 0.004 / hour). In addition, Vultr is up to 4 times faster than the competition, so please check it => Check Benchmark Results!!