Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 22 02:02
    dependabot[bot] labeled #66
  • Sep 22 02:02
    dependabot[bot] opened #66
  • Sep 22 02:02

    dependabot[bot] on npm_and_yarn

    Bump nth-check from 2.0.0 to 2.… (compare)

  • Sep 21 17:37
    dependabot[bot] labeled #431
  • Sep 21 17:37
    dependabot[bot] opened #431
  • Sep 21 17:37

    dependabot[bot] on npm_and_yarn

    Bump tmpl from 1.0.4 to 1.0.5 … (compare)

  • Sep 21 11:52
    dependabot[bot] labeled #303
  • Sep 21 11:52
    dependabot[bot] opened #303
  • Sep 21 11:52

    dependabot[bot] on npm_and_yarn

    Bump tmpl from 1.0.4 to 1.0.5 … (compare)

  • Sep 16 15:12
    bourgeoa synchronize #297
  • Sep 16 15:12

    bourgeoa on auth-upgrade

    v3.5.6-alpha-d9bd19aa (compare)

  • Sep 16 14:23
    bourgeoa synchronize #65
  • Sep 16 14:23

    bourgeoa on auth-upgrade

    v2.4.11-alpha-d9bd19aa (compare)

  • Sep 16 13:45
    bourgeoa synchronize #420
  • Sep 16 13:45

    bourgeoa on auth-upgrade

    update @inrupt/solid-client-aut… (compare)

  • Sep 16 11:06
    bourgeoa synchronize #297
  • Sep 16 11:06

    bourgeoa on auth-upgrade

    v3.5.6-alpha-2b12f04c (compare)

  • Sep 16 08:59
    bourgeoa synchronize #65
  • Sep 16 08:59

    bourgeoa on auth-upgrade

    v2.4.11-alpha-2b12f04c (compare)

  • Sep 15 10:04
    bourgeoa synchronize #420
Fred Gibson
@gibsonf1
maybe it will catch on
Daniel B.
@DanielBakas
Thanks Fred! I wanted to know what the community thought first, maybe we can do something together to tackle this problem and therefore establish a precedent for specification :D
This way new developers will know where to place their apps inside pods
:D
Mark Foster
@mikcaweb
Is anyone working on any SDKs around Native Apps for Solid? Something like React Native, Flutter or others. https://expo.io/ looks interesting. Any thoughts?
vinnl
@vinnl:matrix.org
[m]

@mikcaweb (Mark Foster) I think @jaxoncreed's Liqid Chat app uses Expo: https://github.com/o-development/ochat-client/

It appears to have a couple of weird issues like scrolling being in the wrong direction on some platforms though.

LievenVDP
@LievenVDP
We are currently about to kick off development on an application which will use SOLID heavily. The application will have search and matching functionality and thus we will need to keep certain data cached on our end to perform these actions. I would like a way where i could register a url with a pod provider and the provider would call that url when access gets revoked (so i can clear the stored data we used for searching on our end), sort of like a simple webhook. The alternative is that i would have to test for connections every x time which seems like alot of overhead for such a simple thing. The other thing we would really love to see is a way to trigger pod registration through our application with an api or something where the service would then send the info back to us . We want all our users to use the pods but our fear is that without a seamless integration the use of SOLID would scare away alot of potential users.
We would be interested in helping develop these features Is there animo for these features (to us these seem like basic features most commercial implementations would need) and who would i need to talk to about this further? Are the pod providers using the open source code from the node-solid-server or are their seperate codebases going on?
vinnl
@vinnl:matrix.org
[m]

Hi @LievenVDP (LievenVDP), there's definitely lots of demand for the post-registration-redirect. For both things, it's probably best to bring it up for the specification, since otherwise app developers can't assume people's Solid servers will support it: https://gitter.im/solid/specification

Besides NSS, there's a more actively maintained (but not yet as feature complete) server implementation at https://github.com/solid/community-server

Other than that, inrupt.com uses Inrupt's proprietary server implementation. I think trinpod.us also has their own proprietary server implementation. And there's a PHP implementation and Nextcloud plugin at https://pdsinterop.org/.

(Hence, the importance of standardisation :) )

LievenVDP
@LievenVDP
hi @vinnl:matrix.org thanks for the info, ill move my question the specification channel then ;)
Mark Foster
@mikcaweb
@Vinnl Thanks I will reach out to @jaxoncreed
Daniel B.
@DanielBakas
Hi everyone! Couple of questions. Should our Solid applications consider multi-factor authentication or maybe just alternative forms of authentication? If so, where would all the data come from? Are there ways to create pods for users from our applications if they don't provide one?
vinnl
@vinnl:matrix.org
[m]
Multi-factor authentication is primarily a question for the user's Pod Provider, i.e. if I open an app and connect to my Pod at solidcommunity.net, then the screen at solidcommunity.net could ask me to authenticate using a second factor, or using an alternative form of authentication. As for creating a Pod from an app, see LievenVDP's question above - it's not possible yet, but you're not the first person looking for that :)
Daniel B.
@DanielBakas
Oh cool! Thanks @vinnl:matrix.org :D
It's a matter of time then (hopefully)
Daniel B.
@DanielBakas

Hi guys! Question here about shared resources. I'm interested in developing an app for the exploration of stories and narratives. We, as humans, share these stories. They don't belong to anyone in particular.

  • Where should these stories and narratives be stored (in whose's pod)?
    And
  • How could they be made available for everyone to own them collectively?

I think it would be very beautiful if we all owned the narratives we share :D

vinnl
@vinnl:matrix.org
[m]

That's up to your app to decide - where you think users would want them to be stored.

But I think you might want to talk to the Understory people, who I think have pretty similar ideas; See https://www.understory.coop/ and https://understory.garden/. (/cc @travis)

Daniel B.
@DanielBakas
Awesome!! Thanks for the reference @vinnl:matrix.org :D
Alastair Porter
@alastair
hi everyone. I'm working on a react app using solid-client-authn-browser. I'm following the instructions at https://docs.inrupt.com/developer-tools/javascript/client-libraries/tutorial/restore-session-browser-refresh/ in order to re-login the user on page refresh
I have a react function component with the useSession hook to get the current session. In my useEffect hook I see the call to handleIncomingRedirect happen, and in its callback I get the session (console.log(Logged in with WebID [${info.webId}]) shows something correct)
however, I understand that useEffect happens after my component is rendered, and so the value of session from useSession still indicates that the user is logged out
has anyone encountered something similar? I wonder if it'd be better if I manage state in the component myself rather than using the useSession hook, and this'd let me re-set the session? Or do I need to tell useEffect that this variable has changed somehow?
Alastair Porter
@alastair
(to answer my own question, I created my own state variable for the session, and set it in the refresh callback. This seems to trigger a re-render as expected). It'd be great if documentation of useSession or the restore session tutorial could be updated to indicate this
4kŸ"]ãcJ1Ž{æÓC–â^K^;‰<)åÄ7†”ùüÑIù =z–(:FE½«î! ùñ|ߝd›”ïʱ?
@sub2:matrix.org
[m]
Just checked out https://understory.garden/, made 4 private and turned 1 into public
all data made stored in POD provider https://solidweb.org/ Webapp: https://understory.garden/u/eaidter.solidweb.org
vinnl
@vinnl:matrix.org
[m]
@alastair (Alastair Porter) I'm not sure what the useSession docs are, but if you want your comments to reach the right people, there's a "Provide feedback" link in the bottom right-hand corner of the Inrupt docs. Would be great if you could provide your input via that :)
Alastair Porter
@alastair
@vinnl:matrix.org thanks, useSession is a react hook from https://github.com/inrupt/solid-ui-react, with documentation at https://solid-ui-react.docs.inrupt.com/?path=/story/hooks-usesession--page
Once I get my head around how this works I'll try and give some feedback on the docs
Alastair Porter
@alastair
oh, you know what. I was just looking through the source for solid-ui-react and I see that the <SessionProvider> does actually support this by use of a onSessionRestore prop (https://github.com/inrupt/solid-ui-react/blob/main/src/context/sessionContext/index.tsx#L83), but there's no mention of it at https://solid-ui-react.docs.inrupt.com/?path=/story/usage--page . opening an issue now!
vinnl
@vinnl:matrix.org
[m]
Great, thanks!
Alastair Porter
@alastair
in a few js apps I've seen people use new URL(webId).origin to get the pod url given a webid. is this a recommended way to do it? (as I suspect that it'd fail with an inrupt-hosted pod where the url is pod.inrupt.net/username), alternatively, is there a property on the webId that I can read to get the pod url that it's associated with?
Fred Gibson
@gibsonf1
@alastair to find out the storage location for a Solid webid, use the predicate: http://www.w3.org/ns/pim/space#storage
Alastair Porter
@alastair
oh, hah. my colleague @musicog asked this at the beginning of the month! I'm just looking through the chat history
thanks @gibsonf1
Daniel B.
@DanielBakas
Hi all!! Is there any method in the Solid Node.js libraries to request all containers inside a Pod or inside another container?
Like executing the ls command in a terminal or console
vinnl
@vinnl:matrix.org
[m]
Hi @DanielBakas (Daniel B.), I'm not sure which libraries you mean, but solid-client has getContainedResourceUrlAll
Jeff Zucker
@jeff-zucker
@DanielBakas with solid-node-client you can GET the container and then use rdflib to parse the ldp:contains relationships; or you can use solid-node-client with solid-file-client and simple do readFolder() which returns arrays of files and folders and their details; or you can use solid-shell and from the commend line basically do an ls with ./sol get foldername.
or, as @vinnl:matrix.org says, you can use solid-client with either solid-node-client or solid-client-node-authn as the fetcher
Daniel B.
@DanielBakas
Is the root directory of a pod a Container?
vinnl
@vinnl:matrix.org
[m]
Yes
Daniel B.
@DanielBakas
When I try to use getContainedResourceUrlAllwith the URI of the pod and a trailing slash (https://pod.inrupt.com/semantyk/) the console returns an error
vinnl
@vinnl:matrix.org
[m]
You don't pass it a URL, but the SolidDataset of that Container. So e.g.
const rootContainer = await getSolidDataset("https://pod.inrupt.com/semantyk/", { fetch: fetch });
const containedResourceUrls = getContainedResourceUrlAll(rootContainer);
Daniel B.
@DanielBakas
Is authentication needed to access this container?
vinnl
@vinnl:matrix.org
[m]
Probably, unless someone with access to it set it to be publicly accessible :)
1 reply
Juliette Carter
@JulietteCarter
Hi Solid friends,
I was wondering if anyone has had a go at creating a browser extension interacting with Solid Pods?
If so I’d be interested in a couple of things:
  • Browser support? (currently experiencing errors in Firefox while authenticating, but Chrome works fine. Not tested other browsers yet).
  • Best practices around user authentication? E.g. could a user session be stored centrally in the extension background script?
Jeff Zucker
@jeff-zucker
@JulietteCarter - browser extensions have been mentioned several times in the forum, see https://forum.solidproject.org/search?q=browser+extension
Juliette Carter
@JulietteCarter
aha thank you! will take a look :D
Sarven Capadisli
@csarven
@JulietteCarter https://github.com/linkeddata/dokieli implements WebExtension. It can be imported in Firefox and Chrome/Opera/Brave etc. Not sure what you mean by the sessions exactly but I suppose yes in that information can persist across tabs in a given browser session.
Sarven Capadisli
@csarven
@JulietteCarter I think what you may be looking for is browser.storage (or chrome.storage)
Juliette Carter
@JulietteCarter
Thanks for the info @csarven !
Re point 1: Should have specified, I was wondering if anyone had used the inrupt client libraries to authenticate in a browser extension?
Re point 2: browser.storage looks promising! Thanks!