Automatically generate GitHub activity!

Overview

Commit Bot

Automatically generate GitHub activity!

We've all wanted to be the developer that commits every day, but that requires a lot of work. Let's automate it! This bot will automatically generate commit(s) everyday, and push them to your GitHub account, allowing you to get that green contributions graph! (Check out the Disclaimers section below for more information.)

Truthfully, I wouldn't use this. No one cares about your commits. I just got bored one day and decided to make it for fun.

Requirements

  • Python 3
  • Linux OS or Windows WSL (Basically, anything that has crontab installed)

Configuration

  • LOG: If you'd like the script to log, set this to True. [Default: True]
  • LOG_FILE: The file to log to. [Default: commit_bot.log]
  • NO_COMMIT_CHANCE: The chance that the bot will not commit. (Value between 0 and 1.) [Default: 0.1]
  • MAX_COMMITS: The maximum number of commits to generate. [Default: 8]
  • CRON_JOB_TIME: The time to run the cron job. [Default: "0 12 * * *"]
  • OUTPUT_FILE: The file to write the output to. (The file that is commited to GitHub) [Default: commit_bot.txt]

Usage

  • Create a private (or public, if you want everyone to see for some reason) repository on GitHub. (Initialize the repository)
  • Clone the newly created repository to your machine.
    • Ensure that you're able to execute git commands within the directory. As this is required for the script to work. (This may require you to log in to your GitHub account within the directory so that you are able to execute git commands.)
  • Download this script and place it in the repository's directory.
  • Run the script with python3 commit_bot.py.
    • The first time the script is run, it will create a cronjob that runs the script at the configured time. (This is done automatically. Once the cronjob has been created, the script will not edit it. If you'd like to change the time, you'd need to either delete the cronjob manually and edit the time in the script configuration, or edit the cronjob manually)

Contributions

If you've found a bug, you can go ahead and create an issue.
If you've improved the resource, feel free to make a pull request!

License

Copyright © 2022 RickyBGamez.
This project is GNU GPL v3.0 licensed.

Disclaimers

  • I'm not responsible for any damages that may occur. This includes, but is not limited to, any damages caused by the script, any damages caused by the script's configuration, or any damages caused by the script's usage. (Even though this is literally impossible, but, someone will find a way.)
  • This script was designed purely out of my own personal interest, since I got bored during a week off. (I'm not using this script, for anyone curious.)
You might also like...
An easy to use burndown chart generator for GitHub Project Boards.

Burndown Chart for GitHub Projects An easy to use burndown chart generator for GitHub Project Boards. Table of Contents Features Installation Assumpti

GitHub English Top Charts

Help you discover excellent English projects and get rid of the interference of other spoken language.

Python script for writing text on github contribution chart.
Python script for writing text on github contribution chart.

Github Contribution Drawer Python script for writing text on github contribution chart. Requirements Python 3.X Getting Started Create repository Put

Tweets your monthly GitHub Contributions as Wordle grid
Tweets your monthly GitHub Contributions as Wordle grid

Tweets your monthly GitHub Contributions as Wordle grid

Visualise top-rated GitHub repositories in a barchart by keyword
Visualise top-rated GitHub repositories in a barchart by keyword

This python script was written for simple purpose -- to visualise top-rated GitHub repositories in a barchart by keyword. Script generates html-page with barchart and information about repository owner, description, create date and update date.

OpenStats is a library built on top of streamlit that extracts data from the Github API and shows the main KPIs
OpenStats is a library built on top of streamlit that extracts data from the Github API and shows the main KPIs

Open Stats Discover and share the KPIs of your OpenSource project. OpenStats is a library built on top of streamlit that extracts data from the Github

Create Badges with stats of Scratch User, Project and Studio. Use those badges in Github readmes, etc.

Scratch-Stats-Badge Create customized Badges with stats of Scratch User, Studio or Project. Use those badges in Github readmes, etc. Examples Document

Python script to generate a visualization of various sorting algorithms, image or video.
Python script to generate a visualization of various sorting algorithms, image or video.

sorting_algo_visualizer Python script to generate a visualization of various sorting algorithms, image or video.

Generate a roam research like Network Graph view from your Notion pages.
Generate a roam research like Network Graph view from your Notion pages.

Notion Graph View Export Notion pages to a Roam Research like graph view.

Releases(1.1)
Owner
Ricky
Ricky
Generate visualizations of GitHub user and repository statistics using GitHub Actions.

GitHub Stats Visualization Generate visualizations of GitHub user and repository statistics using GitHub Actions. This project is currently a work-in-

JoelImgu 3 Dec 14, 2022
Generate visualizations of GitHub user and repository statistics using GitHub Actions.

GitHub Stats Visualization Generate visualizations of GitHub user and repository statistics using GitHub Actions. This project is currently a work-in-

Aditya Thakekar 1 Jan 11, 2022
daily report of @arkinvest ETF activity + data collection

ark_invest daily weekday report of @arkinvest ETF activity + data collection This script was created to: Extract and save daily csv's from ARKInvest's

T D 27 Jan 2, 2023
Generate SVG (dark/light) images visualizing (private/public) GitHub repo statistics for profile/website.

Generate daily updated visualizations of GitHub user and repository statistics from the GitHub API using GitHub Actions for any combination of private and public repositories, whether owned or contributed to - no server required.

Adam Ross 2 Dec 16, 2022
Automatically Visualize any dataset, any size with a single line of code. Created by Ram Seshadri. Collaborators Welcome. Permission Granted upon Request.

AutoViz Automatically Visualize any dataset, any size with a single line of code. AutoViz performs automatic visualization of any dataset with one lin

AutoViz and Auto_ViML 1k Jan 2, 2023
Automatically Visualize any dataset, any size with a single line of code. Created by Ram Seshadri. Collaborators Welcome. Permission Granted upon Request.

AutoViz Automatically Visualize any dataset, any size with a single line of code. AutoViz performs automatic visualization of any dataset with one lin

AutoViz and Auto_ViML 299 Feb 13, 2021
A tool for automatically generating 3D printable STLs from freely available lidar scan data.

mini-map-maker A tool for automatically generating 3D printable STLs from freely available lidar scan data. Screenshots Tutorial To use this script, g

Mike Abbott 51 Nov 6, 2022
GitHubPoster - Make everything a GitHub svg poster

GitHubPoster Make everything a GitHub svg poster 支持 Strava 开心词场 扇贝 Nintendo Switch GPX 多邻国 Issue

yihong 1.3k Jan 2, 2023
paintable GitHub contribute table

githeart paintable github contribute table how to use: Functions key color select 1,2,3,4,5 clear c drawing mode mode on turn off e print paint matrix

Bahadır Araz 27 Nov 24, 2022
GitHub Stats Visualizations : Transparent

GitHub Stats Visualizations : Transparent Generate visualizations of GitHub user and repository statistics using GitHub Actions. ⚠️ Disclaimer The pro

YuanYap 7 Apr 5, 2022