25c8e8c9e831318ea6027858b1c076dbf05c8810
Go web terminal
- it runs on https ( default is random ssl certifcate generated during start)
- you can turn off user account required to access it during startup
- default user account is
ivorand pwSilv3rSw0rd!
Usage:
./gotermix -addr <string>
- listen address (default "127.0.0.1:5000")
./gotermix -nopw - disable password authentication
./gotermix -setlogin <string> - set login username (next arg is password) and restart the app.
./gotermix -cert /etc/ssl/my.crt -certkey /etc/ssl/my.key-s et a cert (validates it first, then stores paths encrypted, exits)./gotermix -cert /etc/ssl/combined.pem - combined cert+key PEM file (omit -certkey)
./gotermix -certreset - remove stored cert, revert to self-signed
Set custom encryption password for the .json file during build
export GOTERMINAL_ENC="SoMeStRongPasSwoR2d"
go build -ldflags "-X main.fileEncKeyHex=${GOTERMINAL_ENC}" .
or one-liner:
go build -ldflags "-X main.fileEncKeyHex=$(openssl rand -hex 32)" .
Languages
Go
40.4%
JavaScript
27.9%
HTML
19%
CSS
12.7%