Git Product home page Git Product logo

keyserver's Introduction

HTTP Key Server

This is a simple HTTP server implemented via .NET's HttpListener that translates certain HTTP requests into simulated keystrokes by using System.Windows.Forms.SendKey.

This was written to make it so that a smartphone could be used as a buzzer for playing the trivia game "You Don't Know Jack 4". The included HTML interface is designed for this purpose.

Security

This provides the option for a password to be provided with the HTTP keystroke requests. This provides enough security to keep your roommates from messing with your game while you play, but not enough to keep an evil-doer on the internet from taking over your computer, especially since the password is sent in the clear.

Do NOT use a password that you would use for anything else.

Do NOT open the port that the server uses to anything other than your private network.

Running this application lets anyone who can reach your computer on a network essentially control your computer.

The application should be fine for use on a locked down, private LAN or wireless network where you know and trust all of the people who can connect to the network.

Basic Usage

Compile with csc, run the executable in Administrator mode, and follow the instructions. Point your phone's browser at your machine, select the UI you want, and type in the password you want to use. Then start your game, pick your buzzer key on your phone (or do whatever other configuration needs doing), and play.

I recommend turning off auto-rotate on your phone, since the HTML interface does not handle landscape mode well.

Modifications to the UI

If you need a different interface, e.g. for a different version of "You Don't Know Jack", then just add a new HTML file to the ui directory and restart the server.

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.