vitorbaptista / shellshare

Live terminal broadcasts
https://shellshare.net
Apache License 2.0
224 stars 23 forks source link

To make it work on Windows too (tested with PowerShell) #61

Closed dpshelio closed 4 years ago

dpshelio commented 4 years ago

This is a test I'm doing. So far I either need to depnd on psutil or run a command as shown in this stackoverflow question. It uses Start-Transcript.

vitorbaptista commented 4 years ago

Cool! Windows support is the most useful feature still missing on Shellshare. Does this work already?

dpshelio commented 4 years ago

It does now... but it's not as good as what script does. It's not realtime, it's only when you execute a command. Also, for some reasons, some outputs are working sometimes and not showing on others. :shrug: As it's know it requires psutil which needs to be installed, so the "short" how to use it would be not that short... but something like:

# Install python
pip install psutil
wget -OutFile shellshare https://get.shellshare.net
python shellshare

And I'm thinking now... as it is it also requires psutil to non Windows... so I may have to rethink the logic.

dpshelio commented 4 years ago

With @mikerenfro's help I've got it working the original one on gitbash. I've added the info on the wiki. I'll keep working on the PS after I run the next workshop.

vitorbaptista commented 4 years ago

Hey @dpshelio, sorry for the delay. Is this ready to be merged? As I can't test it, I'm not sure if there's anything missing. LGTM.

vitorbaptista commented 4 years ago

We now support Windows without Cygwin, thanks to @mikerenfro's PR https://github.com/vitorbaptista/shellshare/pull/63

edmundlaugasson commented 3 years ago

Cannot get shellshare 1.1.0 to work under MS Windows 10 :(