Read and Learn again - Time to rediscover those saved and forgotten bookmarks.
reread.io is a service which sends you an email (everyday or weekly) containing your unread and/or archived Pocket links.
You can use it as a service at https://www.reread.io.
Alternatively, you can also host an instance of it on Heroku. Read the Setup that follows.
You might want to read the "Learnings from Building reread.io" too.
After you have deployed the app on Heroku, the following Elements would have been enabled:
- Heroku Hobby Postgres Database
- Heroku Hobby Redis
- SendGrid
heroku config:add POCKET_CONSUMER_KEY_V2=...
Read Step 1 of https://getpocket.com/developer/docs/authentication to obtain a Pocket API Key.
IMPORTANT! You will need modify
and read
permissions for your Pocket API key.
heroku config:add WWW_HOSTNAME=<reread-clone-name>.herokuapp.com
This is required for ActionMailer config.
Read our blog post to understand all these settings.
Otherwise, these are sane defaults:
heroku config:add DB_POOL=20
heroku config:add DB_REAPING_FREQUENCY=10
heroku config:add MAX_REDIS_CONNECTION=30
heroku config:add NUMBER_OF_WEB_DYNOS=1
heroku config:add NUMBER_OF_WORKER_DYNOS=1
We use PartyFoul for error tracking. Follow their README to get it setup.
ENV vars required:
heroku config:add PARTYFOUL_OAUTH_TOKEN=...
heroku config:add PARTYFOUL_OWNER=...
heroku config:add PARTYFOUL_REPO=reread
We use Skylight for basic app performance monitoring. Sign up and follow their instructions.
ENV vars required:
heroku config:add SKYLIGHT_AUTHENTICATION=...
Continuous Updates provided by deppbot - Automated Security and Dependency Updates.
This app also experiments with:
I see POCKET_CONSUMER_KEY_V1
and POCKET_CONSUMER_KEY_V2
? Why?
When this App was first created, it only required read
permission.
Hence the API key was created with read
only.
However, in order for the "Archive on Pocket" feature to work,
the App would require Modify
permission as well.
Unfortunately, Pocket doesn't allow updates to the access permissions for an App once it's been created,
so the only way to make it work is to create a new API key in Pocket with read
and modify
permissions.
Since there are users (at https://www.reread.io) who have signed in using the earlier API key (and they may not sign in again)
the App thus have to support using *_V1
for the old users and use *_V2
for the new users (or users who re-auth).
You only need *_V2
set if you are deploying a new instance of reread.
Please see the CONTRIBUTING.md file.
Please see the DEPLOYMENT.md file.
A huge THANK YOU to all our contributors! ❤️
Please see the LICENSE.md file.
We specialise in rapid development of high quality MVPs. Hire us to turn your product idea into reality.