Skip to content

managarm/redir-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

redir-server provides a web interface to inspect and redirect the server's attached USB devices. This allows for inspection of the devices' descriptors and running usbredirect to allow for a qemu on a different machine to pass through the USB device (from the server) as if it were attached to that machine.

Setup

For the server keys configuration, create a data/config.toml:

GITHUB_CLIENT_ID = '<your GitHub OAuth2 client ID>'
GITHUB_CLIENT_SECRET = '<your GitHub OAuth2 client secret>'
DATABASE_URI = 'sqlite:///<path to the sqlite db>'
TEMPLATES_AUTO_RELOAD = true

SECRET_KEY = '<your secret app key>'

For the configuration of other settings, create a data/config.yml:

usb:
  ignored:
  - vendor: "1d6b"

To set up the venv, install the dependencies and to run the development server instance, do:

pipenv install
pipenv run flask run --reload --host 0.0.0.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published