Code Monkey home page Code Monkey logo

screen-share's Introduction

screen-share

A set of scripts to stream your terminal to the web browser.

Features

  • ephemeral hidden service support
  • password protected
  • read-only

Future

This project is a quick blueprint, I may change some things in the future.

For example:

  • I don't like bash, but it was written in bash, so this is an issue I may address in the future.
  • It is not feature rich
  • CLI sucks a little-bit

Presenter requirements

Viewer requirements

Also you may want to give a try to the gotty terminal client to view other people terminal inside your terminal instead of browser.

How to use

You will need two terminal tabs.

  • one for tor service
  • second for gotty

In the first tab run:

Add -e flag to run ephemeral hidden service(this means that old host keys will be discarded on another start).

./tor/start

It will start tor and configure ephemeral hidden service for you. It will output something similar to:

Apr 10 11:10:10.000 [notice] Bootstrapped 100%: Done
Started hidden service aqyx3ccgqtqcvhnj.onion

Now start a tty script which will load gotty and generate random password:

You may specify user and password with environment variables TTY_USER and TTY_PASSWORD.

./tty/start tmux a -t tty

Now when client connects tmux a -t tty will be executed.

Last step is:

  • Start tmux
  • And rename your session to tty C-b :, type rename session tty

You done.

gotty requires javascript in tor browser to work.

Send your .onion hostname, user and password to your friends so they could see you.

screen-share's People

Contributors

corpix avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.