Skip to content

v10101a/remote-printer

Repository files navigation

Portal project for shanghai(cedar kitchen) <> nyc(boshi's) game exchange

A slower-internet, long-distance, terminal-based messaging system

  • /terminal is the preferred version
  • /web has a webUI and uses a socket.io server instead of MQTT, made just for testing (not maintained)

Requirements

  • Node.js (v16+)
  • Python 3
  • Webcam (USB or built-in)
  • Terminal-friendly computer
  • Note: If deploy on a Raspberry Pi, the Pi needs to support Node.js

Installation

# Clone the repo
git clone https://github.com/sandpills/remote-printer.git
cd remote-printer

# Install Node.js dependencies
npm install

# Install Python dependencies
pip install opencv-python pillow numpy paho-mqtt

Running the chat

# Start the NYC side:
node terminal/chat-nyc.js

# Start the Shanghai side:
node terminal/chat-sh.js
  • Type to chat, enter to send
  • Type and send "/exit" to quit
  • Type and send "/p" to capture an image and send over to the other side as ASCII (only available when both are online)

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors