Your phone is the terminal. Stream a Linux/Mac desktop to an iPhone over WebRTC through NAT, with audio and input. Open source, single binaries.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/network-computer.git
HTTPS
https://gitstable.com/git/askrobots/network-computer.git
SSH
ssh://git@gitstable.com:2222/askrobots/network-computer.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Dan Quellhorst Firefox policy: no WebRTC mDNS (a page using WebRTC made Firefox listen on UDP 5353) a1d92f3 1 month, 3 weeks ago History
nc-input-hook · 723 bytes · 13 lines
1#!/bin/sh
2# Apply the desk's keyboard layout to every keyboard on the display.
3# nc-host runs this after creating its virtual keyboard; nc-keyboard runs it
4# after a change. The client sends physical key positions, and X turns them
5# into characters with this layout, so it must match the client's keyboard.
6. /etc/nc/env 2>/dev/null || exit 0
7[ -n "$NC_KEYBOARD" ] || exit 0
8L=${NC_KEYBOARD%%:*}; V=${NC_KEYBOARD#*:}; [ "$V" = "$NC_KEYBOARD" ] && V=""
9export DISPLAY=:0
10setxkbmap -layout "$L" -variant "$V"
11for id in $(xinput list 2>/dev/null | awk '/slave keyboard/ { if (match($0, /id=[0-9]+/)) print substr($0, RSTART+3, RLENGTH-3) }'); do
12 setxkbmap -device "$id" -layout "$L" -variant "$V" 2>/dev/null || true
13done