Automatically Post Strava Activities to Ghost

The Github project linked below enables you to automatically post your Strava activities on your Ghost blog. It comprises two cloud functions: one refreshes the Strava token every 5 hours to maintain a current connection, and the other is responsible for validating the API and managing the lifecycle of posting Strava activities (creation, update, and deletion) as blog posts, complete with appropriate tags for Rides vs Runs, etc.

While it likely is not great content as individual blog post entries it might be useful for those looking to compile a semi-regular newsletter that includes recent activities during that timeline. While utilizing the Strava embed feature isn’t strictly necessary, it’s been incorporated as a first step for simplicity. Friendly warning that it’s a bit of work to set up.