Giter Site home page Giter Site logo

github's Introduction

Made by Latest version youtube Github

About this tool

I scripted this tool to automate because we need to upload different files to our GitHub repository from time to time.Then executing a comment and uploading it is a lot of trouble and a lot of time wasted. For this, I created this script so that we can do the work in a very short time.

Screenshot_2024-04-08-15-48-39-941_com offsec nhterm

Install in Linux Distro

Linux

wget -O install.sh https://raw.githubusercontent.com/mashunterbd/github/main/install.sh && chmod +x install.sh && bash install.sh

Requirements

To use it you must need the API token of your GitHub Account.
dependency: git

Uges

┌──(root㉿kali)-[/]
└─# github --help

It is basically an automatic tool through which you can create a repository and upload your files there remotely and delete them if you want. In this case only your account should have API token.


Usegs:

 github [option]


 -push: Publish all files in your current directory to your GitHub account.

 -del: Delete any repository in your account.

 --help: Display uses.

 -v: Check for version.

How can I get my API token

To get your API token from your GitHub account, you can follow these steps:

Log in to GitHub: Go to the GitHub website (https://github.com/) and log in to your GitHub account if you haven't already.

Go to Settings : Click on your profile picture in the top-right corner of the page, then click on "Settings" from the dropdown menu.

Navigate to Developer Settings: In the left sidebar of the Settings page, click on "Developer settings".

Generate a New Token: In the Developer settings page, click on "Personal access tokens" from the left sidebar, then click on the "Generate new token" button.

Configure Token: Enter a description for your token to remember its purpose. Then, select the scopes (permissions) for the token based on what you need it for. Make sure to only grant the permissions necessary for your intended use.

Generate Token: After configuring the token, click on the "Generate token" button at the bottom of the page.

Copy Token: Once the token is generated, copy it to a safe place. This is the only time you'll be able to see the token, so make sure to copy it securely.

Store Token Securely : Treat your API token like a password and store it securely. Do not share it with anyone and avoid committing it to public repositories.

That's it! You now have your API token from your GitHub account, which you can use for various purposes such as accessing GitHub's API or authenticating with GitHub services.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.