Giter Site home page Giter Site logo

swipswaps / tinypilot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tiny-pilot/tinypilot

0.0 1.0 0.0 8.53 MB

Use your Raspberry Pi as a browser-based KVM.

Home Page: https://tinypilotkvm.com

License: MIT License

Python 46.93% CSS 3.28% JavaScript 13.89% HTML 26.87% Shell 9.03%

tinypilot's Introduction

TinyPilot

CircleCI License Reddit

Overview

Turn your Raspberry Pi into a browser-based KVM.

TinyPilot demo

Features

  • Video capture (HDMI/DVI/VGA)
  • Keyboard forwarding
  • Mouse forwarding
  • Fullscreen mode
  • Paste text from clipboard
  • Support for QWERTY and AZERTY keyboard layouts

Pre-requisites

  • Raspberry Pi OS Stretch or later
  • python3-venv

Hardware requirements

All-in-one kits are available from tinypilotkvm.com.

See "TinyPilot: Build a KVM Over IP for Under $100" for a more detailed tutorial on how to assemble these parts to create a TinyPilot.

Simple installation

You can install TinyPilot on a compatible Raspberry Pi in just two commands.

curl \
  --silent \
  --show-error \
  https://raw.githubusercontent.com/mtlynch/tinypilot/master/quick-install | \
    bash - && \
  sudo reboot

The installation process:

  • Creates a service account for TinyPilot with limited priviliges.
  • Installs TinyPilot as a systemd service so it runs automatically on every boot.
  • Installs TinyPilot's dependencies.

When your Pi reboots, you should be able to access TinyPilot by visiting your Pi hostname in the browser. For example, if your device is named raspberrypi:

Other installation options

Options

TinyPilot accepts various options through environment variables:

Environment Variable Default Description
HOST 0.0.0.0 Network interface to listen for incoming connections.
PORT 8000 HTTP port to listen for incoming connections.
KEYBOARD_PATH /dev/hidg0 Path to keyboard HID interface.
MOUSE_PATH /dev/hidg1 Path to mouse HID interface.
KEYBOARD_LAYOUT QWERTY Keyboard layout on target computer. Options are: QWERTY, AZERTY, NORWEGIAN.
DEBUG undefined Set to 1 to enable debug logging.

Upgrades

The installation script is idempotent, so you can upgrade to the latest stable release of TinyPilot and its dependencies by just re-running the quick install script.

Diagnostics

If you're having trouble with TinyPilot, you can run /opt/tinypilot/dev-scripts/dump-logs to print logs for all the software components related to TinyPilot. This log is useful if you file a bug report.

You can read more details about the logs in the wiki.

Security considerations

TinyPilot does not support authentication. You should only use TinyPilot on networks that you trust. Anyone who accesses the TinyPilot URL can shutdown or restart your Pi and type arbitrary commands into the device to which your Pi is connected.

If you need authentication, the simplest solution would be to adjust your Nginx configuration (included by default with the installation) to require HTTP Basic Authentication.

Support

If this project is useful to you, consider making a financial contribution to support its development:

Detailed project updates

If you're interested in seeing what's happening with the project at a granular level, weekly updates appear every Friday on What Got Done:

See also

Mailing list

For news about major TinyPilot releases and other updates about the project, sign up for the TinyPilot mailing list:

tinypilot's People

Contributors

djclueless avatar dougrathbone avatar elohmeier avatar kjpett2 avatar liuliu avatar mtlynch avatar raiju avatar

Watchers

 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.