Skip to content
Automated project initialization
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
gif updated demo.gif Jun 6, 2019
LICENSE Initial commit Jun 4, 2019 fixed license badge link Jun 15, 2019
requirements.txt Update setuptools from 40.6.3 to 41.0.1 Jun 9, 2019


made-with-python MIT license stability-experimental Code style: black

Alt Text

This will perform the following tasks:

  • Create a new project folder in your designated directory
  • Navigate into the folder
  • Initialize a git repository
  • Create a remote repository
  • Add remote to the local repository
  • Add a readme file
  • Perform initial stage, commit, push
  • Open the project folder in vscode


Clone the repository in your main project folder (where all of your project folders will reside).

git clone

Install PyGithub.

pip install --user PyGithub

Open bashrc via the following command:

sudo nano ~/.bashrc

Add the following lines to the end of the bashrc file. Replace the value of the PROJECT_PATH variable with your own value.

# github protomate
export PROJECT_PATH="your-own-project-path"           # e.g. /home/redowan/code/

function create() {
  python "${PROJECT_PATH}/protomate/src/" $1

Save the edit by ctrl+O and exit via pressing ctrl+x.

Source the bashrc file.

source ~/.bashrc

Run the App

To create a new project in your designated project folder, simply write:

create your-new-project-name

This should:

  • Prompt you to put your github credentials and repository name
  • Create a new local and remote git repository
  • Connect them and open vs code for you to start coding immediately
You can’t perform that action at this time.