Skip to content

Streamlines the configuration and management of proxy tunnels, leveraging HA Tunnel Plus for services like HTTP, Git, VSCode and SSH. πŸ–§

License

Notifications You must be signed in to change notification settings

RajaRakoto/ha-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ha-proxy πŸ–§

forthebadge forthebadge forthebadge forthebadge forthebadge

Git Gitub

Ha proxy is a script designed to streamline the configuration and management of proxy tunnels, leveraging HA Tunnel Plus for services like HTTP, Git, VSCode, and SSH.

  • Make sure to set the required environment variables in the $HOME/.ha_env file.
  • Ensure that the necessary dependencies akory, xxd, jq, git, xclip, corkscrew, gedit and bat are installed.

Disclaimer: This is provided for informational purposes only. Use this script responsibly and at your own risk. The author is not responsible for any misuse or damage caused.


πŸ“Œ Usage

Run the following command to install ha-proxy (Linux only):

curl https://raw.githubusercontent.com/RajaRakoto/ha-proxy/master/setup > setup && chmod +x setup && ./setup

Uninstall ha-proxy (Linux only):

sudo rm -r "$HOME/.ha_env" /usr/local/bin/ha-proxy

πŸ“Œ Features

πŸ“œ Start proxy configuration: Starts automatic proxy configuration for HTTP, Git, VSCode, and SSH.

ha-proxy --start

πŸ“œ Stop proxy configuration: Unsets all proxy configurations.

ha-proxy --stop

πŸ“œ Check current proxy status: Displays the current status of proxy configurations.

ha-proxy --status

πŸ“œ Restart proxy configuration: Restarts proxy configuration by stopping and then starting it.

ha-proxy --restart

πŸ“œ Copy proxy information: Copies proxy information to the clipboard.

ha-proxy --getProxy

πŸ“œ Copy encoded proxy information: Copies encoded proxy information to the clipboard.

ha-proxy --getProxyEncoded

πŸ“œ Copy proxy server information: Copies proxy server information to the clipboard.

ha-proxy --getProxyServer

πŸ“œ Copy encoded proxy server information: Copies encoded proxy server information to the clipboard.

ha-proxy --getProxyServerEncoded

πŸ“œ Check script: Checks for required variables and dependencies.

ha-proxy --check

πŸ“œ Set env variables: Sets environment variables using a text editor.

ha-proxy --env

πŸ“œ Generate new SSH key: Generates a new SSH (private|public) key.

ha-proxy --ssh

πŸ“œ Fix env file: Repair .ha_env file by regenerating it again in your home.

ha-proxy --fix

πŸ“œ Display script version: Display the current version of ha-proxy.

ha-proxy --version # or -v

πŸ“œ Display help message: Displays a help message with usage examples.

ha-proxy --help # or -h

About

Streamlines the configuration and management of proxy tunnels, leveraging HA Tunnel Plus for services like HTTP, Git, VSCode and SSH. πŸ–§

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages