@aruzaev/text-github
v1.0.0
Published
Do you **hate** using github on a boring old browser cloning the same repos over and over again? With Text Github you dont have to!!
Downloads
4
Readme
Text Github
Do you hate using github on a boring old browser cloning the same repos over and over again? With Text Github you dont have to!!
You need a Github API Token for this to work: text (classic tokens are best)
Then copy your new token and make a new environment variable
Windows
Open Environment Variables:
- Press Win + X and select "System".
- Click on "Advanced system settings".
- Click on "Environment Variables".
Add a New System Variable:
- Click "New" under "System variables".
- Set Variable name to GITHUB_TOKEN.
- Set Variable value to your GitHub token.
macOS/Linux
- Open Terminal.
- Edit your shell configuration file (e.g., .bashrc, .zshrc, or .bash_profile):
export GITHUB_TOKEN=your_personal_access_token
source ~/.bashrc # or ~/.zshrc, ~/.bash_profile depending on your shell
Install the Package Globally
After making these changes, install your package globally:
Build the package:
npm run build
Install globally:
npm install -g
Step 4: Run the CLI
Now you should be able to run your CLI globally with the GitHub token accessible:
thub -- search