TransforMap / data.transformap.co

Here you find a Node.js daemon to serve the public TransforMap web service.
https://data.transformap.co
GNU Affero General Public License v3.0
7 stars 2 forks source link

Taiga Task 426 : Deployment of FLOSS document management system #45

Open almereyda opened 7 years ago

almereyda commented 7 years ago

Refering to #426 Deployment of FLOSS document management system.

This pull request combines commits which provide a media management engine to the data service.

almereyda commented 7 years ago

@acorbi Please feel free to extend the description of this PR, if you see additional aspects which need to be present for merge.

almereyda commented 7 years ago

This is slowly evolving, also see https://hack.allmende.io/ecobytes-20170621-mms-research?both#17092017

almereyda commented 6 years ago

I am currently reorganising my thoughts around adding to IPFS and updating the media metadata with the mimetype, hash and a url (generated from a URL template).

If we switched from the node-fileupload approach to multer, IPFS support could be implemented and logically separated as a Multer storage engine and benefit a wider community of developers. _handleFile and _removeFile would then be mapped to pin (implied on add) and unpin actions with the IPFS daemon. It also allows for adding a ReadableStream instead of a Buffer, which improves memory handling.

The public and private IPFS daemons may as well be linked to each other by an ipfs-cluster.