Code Monkey home page Code Monkey logo

strava-kudos's Introduction

Strava Kudos Giver 👍👍👍

Python 3.9 Github Actions

A Python tool to automatically give Strava Kudos to recent activities on your feed. There are a few repos that uses JavaScript like strava-kudos-lambda and strava-kudos.

The repo is set up so that the script runs on a set schedule via Github Actions. Github suggests in their docs to not run cron jobs at the start of every hour to avoid delays so minute30 was chosen here. Feel free to change it to whenever you want. There is also a max_run_duration parameter which is 9 minutes by default so that we don't exceed the monthly Github Action free tier minutes when the action is triggered a few times a day.

🏃 Usage

  1. Fork the repo
  2. Setup the environment variables in secrets
  3. Give kudos automatically!

Alternatively, you can run the script manually with

python3 give_kudos.py

🛠️Setup

Playwright

Playwright is used, so be sure to follow instructions to install it properly.

Environment Variables

Set the environment variables for your email and password as follows:

export STRAVA_EMAIL=YOUR_EMAIL
export STRAVA_PASSWORD=YOUR_PASSWORD

🔬Testing

Manual testing was done in Python 3.9.10.

Contributions

Let me know if you wish to add anything or if there are any issues!

ForTheBadge built-with-love

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.