Hi all! Last weekend while working on an app I got a bit frustrated that there was no easy way to view and change data in my Pod. So my side project for this week was a small app that let’s you do just that
With Penny, you can browse the files in your Pod, upload new ones, and most importantly, see and change the data in there. The goal is to help developers understand how to model their data in a Pod, and to debug issues when writing their own. In other words, this is a developer tool, i.e. not intended for regular users.
Are you able to incorporate mashlib data browser so that we can actually see the file?
Integrating mashlib is not trivial and I doubt that it would look good, but I just added the ability to preview images and text files. Hopefully that covers some of your needs
(I might add the ability to edit data as raw Turtle as well at some point, but that’s not something I tend to do often, so probably not any time soon.)
Hi RCD, good to hear you’ve tried it out! Unfortunately, as you’ve experienced, the app permissions process is currently still somewhat cumbersome in the software used on inrupt.net and solidcommunity.net. There’s some documentation on how to fix that here. If you share the name of your Pod, I can probably give you some more detailed help as well, in case that doesn’t solve it for you.
I’ll do the figuring out part below
Doesn’t have to be you implementing it; it can be anyone from our open-source community (I could try myself as well). Maybe the below explanation could become an issue on the Penny repo with a “good first issue” tag.
Why configure Databrowser/Penny/… for the Community Solid Server?
A Solid pod by itself, strictly speaking, does not offer a person-focused UI. It stores documents, which you can access with Solid apps.
That’s why it makes sense to configure some kind of default UI, such that people can access their own pod more directly.
Penny seems to be a great app for that purpose, because it works with any kind of documents. Offering it as a default experience can be great for (developer) users of the CSS, and great for Penny as well, because it can become a go-to UI for the CSS, just like Databrowser has been for NSS.
How to start Penny on CSS?
It’s really simple; no programming is required! Start from the Databrowser configuration, and change:
The databrowser does one additional bit of integration: it immediately loads the currently requested resource.
For example, if I visit Databrowser as a standalone app, it will as me what resource to browse. This is what Penny also does.
If I start Databrowser in integrated mode, it will directly load the resource through which it was requested (https://drive.verborgh.org/public/ in this case).
Doing so is optional, and would require a couple of lines of programming to load the current resource.
@RubenVerborgh I am interested in seeing how this all works out, can you put the pieces together so we can all see as an example of what your proposing. It sounds like a great idea.
Thanks for the detailed description Ruben. One question:
Is there a way to just point to a directory of assets? Since their names change whenever their content changes to make sure the old versions aren’t loaded from the cache.
And as a note to self for creating the issue: one additional step would be to set up CD to publish to npm as well.
Is there any way to integrate this with shex, or other Shapes?
Only comment I have is the UI itself uses very large elements, which makes it hard to read larger data sets since it causes a ton of scroll. Tighter UI might benefit this, especially since it’s a dev tool and not intended for a community audience.
@Vincent I’m not sure if you reset anything, but it appears to be working now. I wasn’t sure if it was a simple cookie issue at first.
All–is there any documentation on setting up VSCode? I’m set up for QT6 on Ubunutu 20.04 but have yet to circle back to web development. Solid would be a fantastic exercise to get up to speed with.
I’ve got two requests for being able to collapse Things already, which I think would help here. (Edit: collapsing is now supported.)
As for shapes: if they’re defined as RDF, you can modify shapes on your Pod already. Of course, a friendlier shape-specific interface could be added at some point (likewise for ACLs), but I don’t expect to get around to that any time soon unfortunately.