Skip to content

🤖 A script that automates my GitHub project creation routine using PyGithub

License

Notifications You must be signed in to change notification settings

luka1199/project-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Automation

A script that automates my GitHub project creation routine using PyGithub.

screenshot

What it does

  • Creates a private or public GitHub repository with project name and description
  • Creates the project in the specified directory
  • Adds a README.md with the project name and description to the project
  • Adds an empty .gitignore to the project
  • Commits README.md and .gitignore
  • Opens the project in Visual Studio Code

Installation

Clone

Clone this repo to your local machine using

git clone https://github.com/luka1199/project-automation

Dependencies

Run pip install -r requirenments.txt to install the dependencies.

Setup

The config.yaml will be created after running python create.py for the first time.
Alternatively you can run cp config_default.yaml config.yaml to create the config manually.

You can use the config.yaml to save your GitHub credentials and multiple project locations.

Format of the config:

credentials:
  username: ''
  password: ''
  access_token: ''

paths:
  path1: ''
  path2: ''
  path3: ''

You can change the names of the paths and add as many as you like.

How to run the script

python create.py

About

🤖 A script that automates my GitHub project creation routine using PyGithub

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published