Skip to content

J0na555/pyAuto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

pyAuto β€” Automate Your Project Creation Workflow

pyAuto is a simple CLI tool that automates the tedious process of starting a new project. It creates a local project folder, initializes a Git repo, creates a remote GitHub repository, and opens the project in VS Code β€” all with a single command.


What It Does

  • βœ… Creates a local project folder
  • βœ… Creates a GitHub repository using your personal access token
  • βœ… Initializes Git in the local folder and connects it to the remote repo
  • βœ… Makes an initial commit with a README.md
  • βœ… Pushes to GitHub
  • βœ… Opens the project in VS Code
  • βœ… All in one go.

Folder Structure

pyAuto/
β”œβ”€β”€ pyauto.py       # Main Python script that handles repo creation
β”œβ”€β”€ create.sh       # Bash script that ties everything together
β”œβ”€β”€ .env            # Environment variables (not included in repo)

πŸ› οΈ Setup Instructions

  1. Clone the repo

    git clone https://github.com/J0na555/pyAuto.git
    cd pyAuto
  2. Install Dependencies You need Python, python-dotenv, and PyGithub:

    pip install python-dotenv PyGithub
  3. Create your .env file Inside the pyAuto directory:

    FILEPATH=/your/local/projects/directory/
    GITHUB_TOKEN=ghp_YourPersonalAccessTokenHere
    USERNAME=yourGitHubUsername
  4. Make the Bash script executable

    chmod +x create.sh

Usage

From your terminal:

./create.sh my-cool-project

This will:

  • Create a local directory: $FILEPATH/my-cool-project
  • Create a remote GitHub repo: https://github.com/<USERNAME>/my-cool-project
  • Initialize Git, make an initial commit, and push to main
  • Open the project in VS Code

Tired of repeating the same steps every time you start a project? pyAuto was built to cut setup time to seconds and let you focus on building.

About

project creation automator wit github integration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors