Giter VIP home page Giter VIP logo

switch-lan-play-raspi's Introduction

Lan Play Switch WebUI for Raspberry Pi

Screenshot of GUI Small WebApp to manage Lan Play for Switch on a Raspberry Pi created with Flask. Compiled lan-play for ARM64 is included. It's still very much WIP. The goal is to have an executable file + a config file

Notes

FULL DISCLAIMER: I have almost no coding experience, I taught myself all of this while trying to find a solution, so this comes with no gaurantee.

After a lot of research and testing, I found that you must use v0.1.0 of the original switch-lan-play file in order for it to work on Raspberry Pi. Any newer version will not work. I have included my copy of that file in this git.

I have updated config.ini to reflect current active lan-play servers, the original one was very out of date. You can obviously still edit it to your personal needs.

I made some changes to the app code to replace the ping command with nc when looking up server activity. This runs much quicker and allows for checking specific ports for different IPs.

Config

You can add additional servers in the config.ini file. Currently only the servers are configurable.

Running

As Root:

git clone https://github.com/RareCandyMan/switch-lan-play-raspi.git
cd switch-lan-play-raspi
python3 -m venv myvenv
source myvenv/bin/activate
pip3 install -r requirements.txt
flask run --host <ip of raspberry>

It'll run on port 5000, so :5000 in your web browser.

Thanks to

arthurkoch for originally developing this web GUI: https://github.com/arthurkoch/switch-lan-play-raspi

spacemeowx2 for creating lan-play: https://github.com/spacemeowx2/switch-lan-play

switch-lan-play-raspi's People

Contributors

pfandipfandautomat avatar rarecandyman avatar

Stargazers

Daniel Hoherd avatar  avatar Alex avatar

Watchers

 avatar  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.