lizardbyte / retroarcher Goto Github PK
View Code? Open in Web Editor NEWWIP: Game streaming server / front-end.
License: GNU Affero General Public License v3.0
WIP: Game streaming server / front-end.
License: GNU Affero General Public License v3.0
Adding 32 bit packages would probably be good to allow support for more systems.
Retro gamers often use older hardware to play games which may not support 64 bit architectures. I do not know how well game streaming on a 32 bit host would work; however as the new RetroArcher is intended to be plugin based, there may be cases where there is no game streaming.
I believe that just using a 32 bit version of python may be enough to create a proper package. https://github.com/actions/setup-python
Additionally, we can add other architectures to the docker image.
Flask is a WSGI based framework. This doesn't allow asynchronous calls and can be slow.
While RetroArcher does not require many simultaneous connections or calls, let's investigate replacing it with an ASGI framework. While the app is still relatively small it will be easier to replace.
No response
quart appears to be mostly a drop in replacement for Flask.
Add tasktry icon, similar to Tautulli. pystray
is a library that makes it easy to add a system tray icon.
I would like to add a basic resource monitor the web ui of RetroArcher. The idea is to be something similar to what is shown in Plex's dashboard, but with relevant information related to RetroArcher.
Option 1:
Plotly
Option 2:
Pygal can help us generate the graphics as svg. These are interactive... Individual lines can be toggled on and off. Additionally you can hover over a point of interest to see the exact value.
This is a basic tutorial for using pygal
. Note that the javascript file urls need to be changed to 'github.io' instead of 'github.com'. https://towardsdatascience.com/interactive-data-visualization-in-python-with-pygal-4696fccc8c96
And from the pygal
documentation; how to embed directly in the html code
Use npm
and package.json
to install javascript libraries at build time instead of including them in the repository.
See here: https://stackoverflow.com/a/45968868/11214013
And here: https://stackoverflow.com/a/51371641/11214013
Supporting Docker/containers will be beneficial to the project, and bring in many more users.
Reference RetroArcher/discord-bot or RetroArcher/reddit-bot for initial setup.
pyamdgpuinfo
is only available for Linux. We can provide AMD gpu stats on non Linux systems using pyadl
.
No response
It would probably still be ideal to use pyamdgpuinfo
on Linux since it maintained more regularly.
Having the version number within the python code will be very useful.
--version
argument will print version detailsThe web ui is opened before flask is started, and on unix this causes a loading error. It probably should cause an error on Windows as well, but there is probably just enough delay where it doesn't.
UI is displayed in browser.
These lines should be moved to after the starting of flask.
https://github.com/RetroArcher/RetroArcher/blob/nightly/retroarcher.py#L193-L195
Unix
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.