just published an update to my HyperCLI utility (https://www.npmjs.com/package/@mamund/hyper).
updated the OAUTH plugin to support mastodon.
still some work to do to clear up app vs user authorization but now the fun continues.
just published an update to my HyperCLI utility (https://www.npmjs.com/package/@mamund/hyper).
updated the OAUTH plugin to support mastodon.
still some work to do to clear up app vs user authorization but now the fun continues.
@pietercolpaert i wonder, too.
i scanned the docs and i couldn't find an example of a TREE hypermedia response anywhere. can you point me in the right direction?
there isn't any useful documentation yet for HyperLANG/HyperCLI (working on it right now) but authoring a plug-in that supports additional hypermedia formats is relatively simple, too.
i see Linked Data Event Streams referenced here. i doubt the CLI would work for a streaming service.
@mamund Linked Data Event Streams are actually just a TREE hypermedia document structure with immutable members. So the event stream is published using HTTP responses with hypermedia controls that indicate what part of the collection you can find when following the link ↓
Examples:
* In the repo: https://github.com/TREEcg/specification/tree/master/examples
* A live one with substring relations for municipalities: https://ddvlanck.github.io/Republish-LDES/gemeente-substrings/root.ttl
@pietercolpaert thanks for the pointers.
Hyper relies quite a bit on "structural hypermedia" in the responses. See https://github.com/webapicookbook/hyper/blob/main/scripts/cj-support.txt and https://github.com/webapicookbook/hyper/blob/main/scripts/siren-support.txt
when i scan the municipalities example, i cannot find the hypermedia -- IIRC, RDF foramts don't have structural hypermedia elements (like HTML, SIREN, etc.) but can have them added via applied vocabularies (ala Hydra).
so ..
i suspect that Hyper would need to support SPARQL or some other query language (to mirror Hyper's JPATH and XPATH support) as a start.
then, in order to find & use the hypermedia, Hyper needs (at least one) plug-in that understands response structures -- including the ability to find, fill, and activate hypermedia in the responses.
these steps are beyond my skills and i'd be happy to explore what it would take to help someone else bring these to the project.
@pietercolpaert all sounds good.
my sked is tight, too.
when i finally get around to considering RDF support, i might ping you for some advice/assistance.
cheers.