Skip to content

GitHub authentication script that stores and loads your credentials for easy cloning of private repositories.

License

Notifications You must be signed in to change notification settings

ISdeek89/github-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Auth: Simplified Authentication for Private Repositories

GitHub Auth
Release GitHub


Table of Contents

  1. Introduction
  2. Features
  3. Installation
  4. Usage
  5. Contributing
  6. License
  7. Contact

Introduction

GitHub Auth is a simple shell script designed to streamline the process of authenticating with GitHub. It helps you save and load your credentials securely, making it easier to clone private repositories without repeated logins.

By using GitHub Auth, you can focus on your coding tasks instead of managing authentication issues.

You can download the latest version of the script from the Releases section. After downloading, execute the script to get started.


Features

  • Easy Authentication: Quickly authenticate to GitHub with your personal access token (PAT).
  • Secure Storage: Store your credentials safely using base64 encoding.
  • User-Friendly: Simple command-line interface that requires minimal setup.
  • Compatibility: Works seamlessly with both public and private repositories.
  • Lightweight: Minimal dependencies and fast execution.

Installation

To install GitHub Auth, follow these steps:

  1. Download the Script: Go to the Releases section and download the latest version of the script.

  2. Make the Script Executable: Open your terminal and navigate to the directory where you downloaded the script. Run the following command to make it executable:

    chmod +x github-auth.sh
  3. Move the Script to Your Path: Optionally, you can move the script to a directory in your PATH for easier access:

    mv github-auth.sh /usr/local/bin/github-auth

Now, you can run the script from anywhere in your terminal.


Usage

Using GitHub Auth is straightforward. Here’s how to get started:

  1. Run the Script: Execute the script by typing:

    github-auth
  2. Enter Your Credentials: The script will prompt you for your GitHub username and personal access token (PAT). Make sure you have generated a PAT from your GitHub account settings.

  3. Clone a Repository: Once your credentials are stored, you can clone any private repository without entering your credentials again. Use the following command:

    git clone https://github.com/yourusername/private-repo.git
  4. Loading Credentials: If you need to load your credentials again, simply run the script:

    github-auth
  5. Check Stored Credentials: You can view your stored credentials at any time. The script will display them in an encoded format for security.


Contributing

We welcome contributions to GitHub Auth! If you would like to contribute, please follow these steps:

  1. Fork the Repository: Click on the "Fork" button at the top right of the repository page.

  2. Clone Your Fork: Clone your forked repository to your local machine:

    git clone https://github.com/yourusername/github-auth.git
  3. Create a Branch: Create a new branch for your feature or bug fix:

    git checkout -b feature/your-feature-name
  4. Make Changes: Implement your changes and test them thoroughly.

  5. Commit Your Changes: Commit your changes with a clear message:

    git commit -m "Add feature: your-feature-name"
  6. Push Your Changes: Push your changes to your fork:

    git push origin feature/your-feature-name
  7. Create a Pull Request: Go to the original repository and create a pull request. Describe your changes and why they are necessary.


License

This project is licensed under the MIT License. See the LICENSE file for details.


Contact

For questions or feedback, feel free to reach out:


Thank you for using GitHub Auth! We hope it simplifies your GitHub experience. For the latest updates and releases, check the Releases section again.

About

GitHub authentication script that stores and loads your credentials for easy cloning of private repositories.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages