Are you a beginner programmer, who wants to boost your GitHub? Or maybe you are tired of recruiters asking why your GitHub is not active? Or maybe you just want your GitHub to look like this?
Worry not, this Airflow project will help you to mimic the activity in your GitHub profile by generating a random number of commits on a daily basis.
- Fork this repo
- Clone the repo to your local machine
- Create directories for airflow in your working directory:
mkdir -p ./logs ./plugins
- Rename the airflow image in docker-compose.yaml from "extending_airflow:latest" -> "apache/airflow:2.5.3" (this is needed for the docker hub to download the correct airflow image)
- Initialize the db:
docker compose up airflow-init
- Rename your image back from "apache/airflow:2.5.3" -> "extending_airflow:latest"
- Run this command to extend your airflow image:
docker build . --tag extending_airflow:latest
- Start containers for our application:
docker compose up -d
- Create new private repo in your GitHub and add empty .txt file there
- Create .env file in dags/ and edit it to include your data
- Open airflow webserver in your browser and log in with (login: airflow, password: airflow)
- Run "mimic_activity_dag"
- Set up the account in GCP
- Create a Composer instance
- Add "create_activity_dat_composer.py" to the DAG folder
- Add variables from the .env file to Airflow's variables list
- Run "mimic_activity_dag_composer"
Congrats, now your GitHub will stay active forever!