RealToken-Community / dashboard-v2

https://dashboard.realt.community/
4 stars 2 forks source link

RealT dashboard in Umbrel AppStore ? #20

Open anthony-robin opened 9 months ago

anthony-robin commented 9 months ago

Umbrel is an OS that runs on Raspberry PI allowing to locally self-host many open source applications available on the Umbrel AppStore.

A motivation to integrate the RealT dashboard would be better privacy regarding users personal informations (wallet address, wallet connect ...).

For example, Rotki allows users to manage all their different crypto wallets addresses into one application focusing on privacy by having their application available on the Umbrel AppStore.

What do you think about this idea for the RealT dashboard ? Do you think it could be worth considering one day ? I personally would love to have this option and would feel more confident regarding my wallet address or wallet connect not leaking any sensitive information !

Thank you :)

Kurtisone commented 9 months ago

I like the idea, but there are a problem !

API CALL, ask Sigri maybe a solution exist.

I already think about a localhost alternative but you need an API key, today we are cool with that but in a near future it'll be more restrictive.

Sigri44 commented 9 months ago

Ok for me, just need cache to don't call API at every refresh, but once a day is a good option.

anthony-robin commented 9 months ago

Awesome, I'm sure it would be a great addition to have it as self hosted !

I suspected the API key to be a potential issue so here are some reflexions and questions I had:

I also have other questions about the dockerization and construction of the project:

For information, here is the Umbrel documentation about how to submit an app. Is the current project structure compatible with Umbrel requirements ?

I never yet dockerized any app or submitted any app to Umbrel so I you have any experience on it, feel free to share your practice !

Thank you :)

Sigri44 commented 9 months ago

API is only for dev for moment. In the future i think yes, but think in 1 year, need many development time

Complicated, can restrict api on referer (uri), but can't deploy on all users. Or need a gateway (you keep a backend), and you share keys for users.

But we work with a system without API for customer (for the moment it's possible, but there is no many details in requests)

Yes all projects are build on docker, but you need to build with docker compose, it's not published on dockerhub (paid) Project is private because in development, but very soon go to public. Day cache is for RealT API, other endpoint (like coingecko) can reach once per hour or more i think. For information, actual dashboard-v2 make 10k calls per day, for none update for properties, so very dumby.. Hum think can't clone code from dashboard, need to dev for it, and for the moment can't have many time for it, many tasks in progress

anthony-robin commented 9 months ago

Thank you for the explanations !

It feels that dashboard v2 and/or API are still not yet mature to have an easy self-hosting solution. Let's take the time and be patient with development keeping this goal in mind :)

NandyBa commented 9 months ago

Note that it seems possible to run Docker on Umbrel just as it is to run it on Linux. The project already meets the requirements to be run as a Docker image with the dev config. So, I don't foresee any issues with running it on your own machine locally.