YARMan Web (BETA)
-
first commit of some kind of a dashboard functionallity:
-
@BuZz said in RetroPie WebGUI + Metadata Editor (BETA):
How about just using something like the built in php webserver?
I am not very familiar with the integrated webserver. If it supports all the stuff like apache does, we can also implement that. Currently I am more focusing on the application itself instead of the setup in retropie. I will try to figure out how the integrated one could be used but would really appreciate any help on that.
-
@herb_fargus @BuZz is it possible to pull https://retropie.org.uk/news/ with some kind of newsfeed / xml?
-
@daeks should be able to with RSS no?
-
Please tell how I (=a client side JavaScript) can query your application to get gamelist data over either json or xml.
-
@herb_fargus rss would be fine, but havent seen it?
-
@Arcuza said in RetroPie WebGUI + Metadata Editor (BETA):
Please tell how I (=a client side JavaScript) can query your application to get gamelist data over either json or xml.
There is currently no API available for that purpose, but we could add one. Basically you would need some custom php file including the config.php then you can trigger it with custom.php?emulator=snes&filename=Aladdin.sfc
-
@daeks said in RetroPie WebGUI + Metadata Editor (BETA):
@herb_fargus @BuZz is it possible to pull https://retropie.org.uk/news/ with some kind of newsfeed / xml?
:-)
-
I'd like to try this. How do I access this from my browser? I followed the instructions on https://github.com/daeks/RetroPie-WebGui.
-
@J.Beau http://retropie/ or http://ip_of_your_device/
-
@daeks Tried it, but didn't work (in Safari). Am I missing something?
-
@J.Beau said in RetroPie WebGUI + Metadata Editor (BETA):
@daeks Tried it, but didn't work (in Safari). Am I missing something?
I checked the bash script and it looks like that there was a small mistake inside the sed commands. Think you need to fix it manually with
sudo nano /etc/apache2/envvars
and changeexport APACHE_RUN_USER=$user export APACHE_RUN_USER_GROUP=$user
to your userid used (default: pi). After that restart apache with
sudo service apache2 restart
. I already fixed that on the github version of the script. -
I would love these features in a web based management:
- File system manager
- Configuration editor
Do you have these in plan?
-
@Arcuza yes, I want to copy all the functions which are currently available on the retropie/recalbox manager.
Currently my planned feature list includes- System Monitoring Dashboard (mostly done already)
- Browse and start/stop games from web frontend (design like the attract mode)
- Rom Management (Uploading, etc.)
- Rom Relations (find duplicates, find related games)
- Bios Management (Uploading etc.)
- Savegame Management
- Scraping (currently thinking on gamesdb, screenscraper.fr and google)
- Metadata Editor (done except automatic cleanup of gamelist/media objects)
- (Support of no-intro DAT files)
- Configuration Editor
- Log Viewer (maybe also some kind of "fetch all support infos for retropie forum" automatically)
- Raspberry / ES Management (Restart ES and reboot PI)
- (ES Theme Support)
- (Loading Image / Splashscreen Management)
- Administration Panel for WebGUI (for example for adding new gamelist metadata fields manually or changing paths, etc.)
- (Technical point: move from xml to SQLite for the webfrontend cause of performance)
Points in brackets are more or less some "internal" points which I have in mind but not sure if I can implement how I want to have them. Anyhow, as I am currently developing alone it might take some time for all points to implement :)
I organised all the open points on github: https://github.com/daeks/RetroPie-WebGui/projects/
Contributions are welcome :) -
Omg - it would be awesone to have a "create support logs" option which also includes tge required details from the sticky.
Great work!
-
@daeks said in RetroPie WebGUI + Metadata Editor (BETA):
@J.Beau said in RetroPie WebGUI + Metadata Editor (BETA):
@daeks Tried it, but didn't work (in Safari). Am I missing something?
I checked the bash script and it looks like that there was a small mistake inside the sed commands. Think you need to fix it manually with
sudo nano /etc/apache2/envvars
and changeexport APACHE_RUN_USER=$user export APACHE_RUN_USER_GROUP=$user
to your userid used (default: pi). After that restart apache with
sudo service apache2 restart
. I already fixed that on the github version of the script.That worked, kinda. It shows me the Apache2 Debian Default Page. We're getting closer :)
-
Wow, this looks awesome! I do have the question, though, which is whether having Apache running in the background takes a meaningful toll on the Pi's performance and memory or not.
But I'm keeping an eye on this. Using Sublime so far:p
-
@J.Beau great :) how does the content of
/var/www/html/
look like? maybe you should rerun the script after update. The content from the repro should be locatated at/var/www/html/
(assuming you are using a PI3) -
@pjft said in RetroPie WebGUI + Metadata Editor (BETA):
Wow, this looks awesome! I do have the question, though, which is whether having Apache running in the background takes a meaningful toll on the Pi's performance and memory or not.
@BuZz already suggested to switch to the php integrated webserver, but I am no bash guru :). Starting the process in the background, pushing output somewhere, etc...
as far as I figured out it could be started with
php -S "$(hostname -I):8001" -t "/var/www/html" > /dev/null 2>&1 &
-
@daeks said in RetroPie WebGUI + Metadata Editor (BETA):
@J.Beau great :) how does the content of
/var/www/html/
look like? maybe you should rerun the script after update. The content from the repro should be locatated at/var/www/html/
(assuming you are using a PI3)After some tinkering, I removed everything and followed the instructions again. It's working great in Safari now :) Thanks!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.