This is a project that provides tooling that takes an OKH-LOSH RDF manifest as input, and generates a bundle from it, which includes a copy of the original manifest file and all of the files that the manifest describes.
There are two version of the tooling: a graphical user interface (GUI) and a command line interface version.
There is a version of the tool that allows the user to extract a project's file from a manifest using a GUI.
This is available for the following platforms:
The Windows and MacOS version haven't been digitally signed yet so you will need to override the default OS behaviour to allow the files to run.
- For Windows install override, see change app recommendation settings in Windows to allow for "OKH Project Porter" install.
- For macOS intall override, navigate to macOS General Security & Privacy Settings to allow for "OKH Project Porter" install.
The command line tool can extract the project's files either as a folder on the file system or a zip file, each respectively containing the manifest file and all the files linked to by it.
Either with a local manifest-file:
wget https://gitlab.opensourceecology.de/verein/projekte/losh-rdf/-/raw/main/RDF/wikifactory.com/@rwbowman/openflexure-microscope/project.ttl
python3 src/man2bndl.py project.ttl bundle/
or with a URL
python3 src/man2bndl.py \
https://gitlab.opensourceecology.de/verein/projekte/losh-rdf/-/raw/main/RDF/wikifactory.com/@rwbowman/openflexure-microscope/project.ttl \
bundle/
Though, the output can not only be a folder like in the above examples,
but also a ZIP file;
the .zip
suffix is required in this case:
python3 src/man2bndl.py project.ttl bundle.zip