Node Flaschen Taschen thing
Trying to make a simple thing for people to send stuff to the big light thing at Noisebridge.
and come see it and interact in person.
Elephant image from https://pixabay.com/en/three-d-3d-abstract-art-elephant-1781590/
For some examples of how to use this module look in the tests directory, I think the tests/singular.js file should even run if you don't have imagemagick installed already.
But i don't think npm will let you install the package without imagemagick so make sure you have that installed.
So you can:
npm install flaschenode
And if there are no errors you should be ready to start interacting with the flaschen-taschen.
Basically it gives you an object and you create a datagram as a Buffer as the data attribute and then send it to the flaschen-taschen.
To see if everything works you should just to install this and then run copy one of the example scripts into your directory and hack on it.
So to just send a simple image:
var flaschen = ;var imagemagick = ;var fs =var file = "./node_modules/flaschenode/elephant.jpeg"//flaschen.hostname = 'localhost';// layers go from 1-15 so uncomment the following and you'll be on top//flaschen.layer = 15;const footer = flaschenvar srcData = fs;var content = imagemagickvar totlen = footerlength + contentlength;var allcon = Bufferflaschendata = allcon;// Send the data to the flaschen-taschenflaschen