-
-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebUI to manage OrbitDB and databases #243
Comments
Excellent work going on here! it's pretty similar to the work I wanted to get rolling for Code for San Francisco, but never was able to get off the ground. As for this Web UI, building it out seems like it'd be dependent on a functioning HTTP server for the frontend to interact with (so long as you want the ui and api decoupled, which would make the most sense for this, imo, then it wouldn't matter what you build the frontend in: React, angular, jquery, swift, whatever), so would this be dependent on #233? Additionally, some additional requirements would need to be defined, like what devices this should be accessible on for the mvp, if there are any framework restrictions, etc. I'd be happy to take a look at helping out with coding in some spare time on the weekend, as well as code reviews during the week. |
@therebelrobot thanks for jumping in and sharing your thoughts! There's not much design for this yet, so I'd be happy with whatever the implementor decides to use here. Couple of personal preferences and thoughts around it:
Hope this helps! Let me know if you have more questions, suggestions, ideas or otherwise want to explore further 😄 Or if you have the motivation and time to work on this, I'd be more than happy to help you get started and otherwise. #orbitdb on IRC (Freenode) would be the best way to chat in real-time. |
Hello, @haadcode @RichardLitt I would like to work on this if you guys approve it! |
Awesome! Yeah, we'd love for you to help out. You're already an old hand from your other repo; if you need to ask general questions, Gitter (which it looks like you joined recently?) is probably the best place. :) All systems go. |
Thank you @RichardLitt! I'll begin to work based on the message that @haadcode wrote above if I have any question I'll let you know! Thanks!! |
@natachadelarosa Did you end up making any progress with this? |
@phillmac @RichardLitt I'm so sorry this just fell out completely for me. A lot of things happened, do you mind if I start again on this? |
Ah, good news @natachadelarosa! You don't have to start from scratch. Check out: https://github.com/orbitdb/orbit-db-control-center |
It's alright, @natachadelarosa! Thanks for following up, regardless. :) |
@natachadelarosa Life happens to all of us; I'm certainly no exception. 😁 One of the goals I had in mind was to create a front end for the http api as a sort of control panel, an alternative to running a full node in browser. I've not gotten very far at all with it . One of the intermediate goals was to create a drop in replacement for the orbit-db- package that was 100% compatible, instead backed by the api. I'd still like to have a go at both of these 😁 |
Sounds great @phillmac! I'll go with the HTTP API front-end! |
Ok so here's the state of things, orbitdb/orbit-db-http-api is quite outdated and has a few silly bugs in it. however it's mostly working. I really need to update it. and here: if they're any use to you. Here's an example with external ssl via lets'encrypt, certbot & nginx
Please do let me know what I can help with esp. if you run into a bug or something doesn't make sense |
Commenting on this issue to let anyone that might be interested: I am writing an RPC server for Orbitdb based on the ConnectRPC framework from Buff.build. It will be written in Typescript and should hopefully cover most use cases by providing native code clients for:
While also being accesible through Buf Studio to try, applications like Postman as well as normal HTTP/2 request using CURL or whatever http client. My hope is that after doing this is building a webui similar to the old OrbitDB Control Center. The RPC daemon is a necessary step towards this since OrbitDB instances can't share the same directory concurrently for locking issues reasons. This is the repo for the RPC daemon and the service declaration schema hosted on Buf.build. I am still in the early implementation since I had to create typings for the Orbitdb package manually since 1.0 had breaking changes with the community typings. Any advice, PRs, issues, etc is welcome. At some point I hope the orbitdb team makes it a package usable from @orbitdb/rpc or something similar, as well as the UI with @orbitdb/webui. Let's see where I can get to. |
OrbitDB should have a WebUI app through which OrbitDB instance can be managed.
This would include:
At the moment, as we don't have a daemon nor http server, this could simply be a browser app where OrbitDB is embedded. Later on, we can serve the WebUI via a daemon or http server and connect to and manage a "backend / server" instance of OrbitDB.
This is a fairly large task but also not hugely complicated and would be a great task for someone looking to contribute in a big and meaningful way! If you want to work on it, comment here.
The text was updated successfully, but these errors were encountered: