th1nkful / miniflux-to-reader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

miniflux-to-reader

Grabs the saved articles from your Miniflux account and saves them into Reader (from Readwise). Once saved, the script will remove from saved in Miniflux too to clean up and reduce processing on future runs.

Motivation

I use Unread on iOS to process the RSS feeds I follow and wanted an easy way to save to Reader that cut out Instapaper while still being easy to save.

Deployment

To deploy this:

  • Create a Cloud Function in GCP
  • Copy the settings in cloudbuild.yaml (line 6 is specific to my deployment)
  • Generate a Readwise token
  • Generate a Miniflux token
  • Add tokens to setup steps (yes, this isn't ideal but for a quick POC I wasn't going to take the time to setup a connection to Secret Manager which isn't natively supported in Cloud Functions)
  • Deploy!
  • Create a Cloud Scheduler cron to run as often as you need
  • Use the HTTPS url for the Cloud Function as the action

About

License:MIT License


Languages

Language:JavaScript 95.5%Language:Shell 4.5%