On Github leophys / libreant_slides
For more info:libreant.rtfd.org
Two years ago some people began to meet in Rome, in a local squat, inside Sapienza university. There were exciting times and a new hacker space was born.
Insomnialab is now two years old and is currently located inside the walls of Forte Prenestino, after the eviction of the squat.
In the Sapienza squat we contributed to the beginning of a project, called Proprietà Pirata. The goal was to overcome the limits imposed by the copyright enforcement, primarily inside the university classes. We realized that a lot of infoshops and in self-organized places (autonomous libraries, etc.) would benefit from an easy-to-use and federative software.
We realized that there existed some FOSS solution:
Pretty self-explanatory
{"id":"book", "description":"simple book", "properties": [{ "id": "category", "description": "book format", "required": true, "type": "enum", "values": ["scientific","novel","children"] }, { "id": "title", "description": "a required property", "required": true }, { "id": "actors", "description":"people who contributed to the creation of the work" }], "allow_upload": true}
Let's try it!
We use Babel to allow for localization.
An example can be looked in the html skeletons
{%trans%}Sorry, no books matching your query{%endtrans%}
GET /api/v1/volumes/<volume-id> GET /api/v1/volumes/?q=staceppademinchia&size=2&from=5 POST /api/v1/volumes/ PUT /api/v1/volumes/<volume-id>/attachments/<attachments-id> GET /api/v1/volumes/<volume-id-id>/attachments/<attachments-id>/file
Usage: libreant [OPTIONS] launch libreant daemon Options: --version Show the version and exit. -s, --settings file from wich load settings -d, --debug operate in debug mode -p, --port port on which daemon will listen --address address on which daemon will listen --fsdb-path path used for storing binary file --es-indexname index name to use for elasticsearch --es-hosts .. list of elasticsearch nodes to connect to --preset-paths .. list of paths where to look for presets --agherant-descriptions .. list of description urls of nodes to aggregate --help Show this message and exit.
We designed libreant to be:
Easy as a fork
git clone https://github.com/insomnia-lab/libreant
We have been trying also to document appropriately the code!