Lush is a shell that is accessible over HTTP instead of through a terminal
emulator.
It is not technically a (login) shell but it aims to provide the functionality
of logging in to a server with ssh.
The goal of lush is to reinvent interaction with an operating system. Currently
there are two major players: the command line and graphical shells. Lush is a
third option that leverages the webbrowser as the UI.
Download and install:
$ go get github.com/hraban/lush
To run the program find the executable (somewhere in $GOPATH/bin/) and launch
it. E.g.:
$ ${GOPATH%%:*}/bin/lush
Also works on Windows provided you installed Go and Git (which is surprisingly
easy using the official installers).
Installing Go on Windows (7)
Alright I just drank coffee so I can finally write this part without passing out from boredom.
The caffeine is kicking in and life is great.
Listen up the deal here is that to install Go on Windows you have to do two things: run the installer and set a GOPATH. I'm not gonna explain why just how. Let's get this over with.
Go installer:
- Go to https://code.google.com/p/go/downloads/list
- Select the MSI installer that matches your system: 32- or 64-bit (so it ends in windows-386.msi OR windows-amd64.msi).
- If you selected the 32 bit version it's time for an upgrade man it's 2013 for pete's sake
- Download and run that bad boy. Just click next next next. (wait I gotta run the installer here I forgot how it works)
- frig it wont run because i already have Go installed what's up with that?! okay lemme uninstall go then
- argh I can NEVER find that add / remove programs icon in the configuration panel. in fact i can never find anything in there. it's like trying to find the g-spot while piloting a russian jet-fighter upside down
- ... this uninstaller is taking forever.
- Okay in that installer click next next next install
- wait for the heat death of the universe
- ...
- is defragmenting still a thing?
- yay done
GOPATH:
- create a new directory called go3d next to where go is installed (c:\Go by default). e.g. c:\go3d
- open the "environment variables" dialog (windows 7: control panel -> System -> Advanced system settings -> "Advanced" tab -> Environment Variables)
- create a new "user variable": name GOPATH, value C:\go3d
- victory! hail cthulhu ^(;,;)^
go tool in PATH:
- open the "environment variables" dialog
- find the PATH (or Path) variable in the System variables
- edit it and append this to the value: ;C:\go\bin (note the ; to separate it from the previous path. that's a : on UNIX systems btw. you know, in case you were wondering, "gee I wonder what character is used as a separator for entries in the PATH environment variable on UNIX systems", or something along those lines)
- reboot? not sure but probably maybe. I think koen needs to reboot so probably others as well. after changing the Path on windows I mean.
- now you can just type
go in the command window as all instructions everywhere just assume you can (why this is not done by the installer baffles me)
after all this, when you use go get it will put stuff in C:\go3d.
install lush
open a command window and type:
go get github.com/hraban/lush
It will download lush (to c:\go3d\src\github.com\hraban\lush) and install it (as c:\go3d\bin\lush.exe).
Run lush by double clicking the .exe! Create a shortcut to your desktop for easy access.
To update lush:
go get -u github.com/hraban/lush
Thats it.
afterword
The code is available on github at https://github.com/hraban/lush
Feel free to contact me for more info
Hraban Luyat
hraban@0brg.net
2013