Giter Site home page Giter Site logo

ciumabok / daily-commit-of-shame Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adrocodes/daily-commit-of-shame

0.0 0.0 0.0 70 KB

Deploy to Vercel and enjoy a daily commit for free - look good for your next interview. Just hope they don't look too close

JavaScript 2.15% TypeScript 97.85%

daily-commit-of-shame's Introduction

Daily Commit of Shame

You vs the guy she tells you not to worry about

It is time to become the other guy. This simple Next app will run a CRON job every night at 11:00pm (roughly, Vercel doesn't guarantee on time execution on lower pricing tiers), if you haven't made a commit it will create a issue for you on a repo. Since issues count as commits you will never miss another day, but they are public, so everyone will know your shame.

Setup

  1. Fork this repo.
  2. Update the vercel.json CRON to be 11PM UTC in your timezone. Just change the 0 13 * * * to be the time you want. It is currently set up to run at 11PM AEST.
  3. Create a Personal Access Token with the repo scope (classic token is fine). The expiration time is up to you. Make sure you copy with somewhere.
  4. Go to Vercel and create a new project, connect it to your forked repo.
  5. Set the environment variable GITHUB_TOKEN to the token you created in step 2.
  6. Set the environment variable GITHUB_REPO to the repo you want to commit to. This would be the name of your fork repo.
  7. Set the environment variable GITHUB_OWNER to the owner of the repo you want to commit to. This is usually your username.
  8. Deploy the project.
  9. Pray it still works.

daily-commit-of-shame's People

Contributors

adrocodes avatar

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.