Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

3rd Party Android App

Featured Replies

I decided to explore the possibility of writing my own Android application for Unraid. This was more of an opportunity for me to explore some areas of Android that I hadn't played around with, along with building a new app from scratch. Development was pretty quick/rapid and was able to throw together something that I personally liked. It's now mostly functional, but the key areas missing are not really programming challenges, but more challenges with continuing to try and reverse engineer the API to extract the necessary information from an Unraid server (since there isn't any official supported API).

 

Where is the best place to ask for help? Just ask the individual / specific questions in the forums? I've also not decided if i'd actually release the app for others - I guess it will depend on any interest there is in it. I'd probably want to seek permission though to make sure the Unraid team area happy with it first.

 

Some of the types of questions I hate:

  • What is the correct way to extract the "csrf_token" for the server? And how often should I refresh it?
  • Is there a way to update/obtain share sizes individually? I've been playing around with the "/webGui/scripts/share_size" script exectued via "/update.htm" followed by grabbing the generated "/state/x" file - but it doesn't seem to be correct?

 

In case people are interested in seeing some screenshots, here's a few (slightly out of date)...

 

Home.thumb.jpg.dce34f3f989473e60c920a9b141908f0.jpgDisks.thumb.jpg.9d3198ed3b72348ce30cb6605ac3401f.jpgShares.thumb.jpg.02e7b59eaf6615efce4cd4a8e304abff.jpgDocker.thumb.jpg.3c8f9f75ea32d63db9bdf066f38f4218.jpg

Awesome, I hope you get direct help from the dev team I hope as well you release the app for the whole community.

2 hours ago, IanB said:

What is the correct way to extract the "csrf_token" for the server? And how often should I refresh it?

From /var/local/emhttp/var.ini.  It's changed on every reboot of the server.

  • Author
1 hour ago, Squid said:

From /var/local/emhttp/var.ini.  It's changed on every reboot of the server.

 

Thanks @Squid! I totally missed that, accessible via "/state/var.ini".

  • Author

@Squid Don't suppose you know an easy way to obtain the `Uptime` from the server? I had hoped to also find it in the same var.ini file, but doesn't seem to be present...

  • Author
12 hours ago, Squid said:

Only by running uptime

 

Sorry @Squid, not sure I follow. I'm basically trying to programmatically determine the same details presented here by the Web interface:

 

1817397290_2019-04-16at12_14.png.4b2d5cbcdb7defa717b1b01cb8559d38.png

 

Thanks in advance

  • Community Expert
24 minutes ago, IanB said:

 

Sorry @Squid, not sure I follow. I'm basically trying to programmatically determine the same details presented here by the Web interface:

 

1817397290_2019-04-16at12_14.png.4b2d5cbcdb7defa717b1b01cb8559d38.png 

 

Thanks in advance

That is a subset of the information returned by the CLI level 'uptime' command.  Perhaps you had not realised that 'uptime' is a standard command?

 

  • 3 months later...
  • Author

Does anyone know if Unraid do any request limiting for clients? I've been making good progress with my application but finding that when it initially loads, it can be pretty slow. Debugging it shows that there is an unexpected delay when making a number of requests to the server. If I delay (myself) between the requests, the response are very fast...

 

Sequential
==========
[IABI]: getting /state/var.ini...
[IABI]: finished getting /state/var.ini... 2918
[IABI]: getting /Dashboard...
[IABI]: finished getting /Dashboard... 65720
 - 2.332s

Sequential (Reverse Order)
==============================

[IABI]: getting /Dashboard...
[IABI]: finished getting /Dashboard... 65720
[IABI]: getting /state/var.ini...
[IABI]: finished getting /state/var.ini... 2918
 - 2.228s

Sequential (Delay between requests)
===================================

[IABI]: getting /Dashboard...
[IABI]: finished getting /Dashboard... 65720
 - 0.267s

[IABI]: getting /state/var.ini...
[IABI]: finished getting /state/var.ini... 2918
 - 0.143s

Individual
==========

[IABI]: getting /state/var.ini...
[IABI]: finished getting /state/var.ini... 2918
 - 0.165s

...

[IABI]: getting /Dashboard...
[IABI]: finished getting /Dashboard... 65720
 - 0.306s

 

Any help would be appreciated

Edited by IanB

  • 6 months later...
  • Author

Sorry, I haven’t had time in a while. Due to no official API, the Unraid updates have broken what I previously had working. Hopefully I’ll have time soon but my job keeps me busy 😅

  • 3 weeks later...
  • Author

I've been able to actually update the app and have it mostly working. There is still some issues I need to iron out, as well as potentially some UX nits that I would clean up first if I was to launch this.

 

Is there anyone at Unraid that I can (or should?) talk too regarding this app? I'm still in two minds what to do with it (it was a hobby project), but it could provide some value to users. I would be happy to share details of the app, a video or even an APK for feedback/thoughts from the team.

 

@Squid Sorry for the ping, but do you know who would be best to contact and how?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.