Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meltingice/camandrop

Easy and automatic image filters using CamanJS, watch folders, and NodeJS.
https://github.com/meltingice/camandrop

Last synced: 24 days ago
JSON representation

Easy and automatic image filters using CamanJS, watch folders, and NodeJS.

Awesome Lists containing this project

README

        

CamanDrop

About the Project


Easily apply preset filters from CamanJS to any image! Watches a special folder and automatically converts any image placed in the desired filter folder.

Note: this is alpha software and was hacked together in an hour or so. It may or may not work as intended. Improvements will come over time.

How to Use

First, edit the config.json file to your liking. The only thing you will probably have to change is the folder variable, which is the base folder for CamanDrop. If the folder doesn't exist, it will be created automatically.

Then run CamanDrop from the bin folder by simply doing:


./CamanDrop start

which will start CamanDrop in daemon mode. You can also do:


./CamanDrop no-daemon

to start CamanDrop without daemonizing. This will print to the console debugging messages from Caman and CamanDrop. If you close the console window, it will quit CamanDrop unless it's daemonized.

Once CamanDrop is running, drag and drop any images into any of the folders created under the filters subdirectory and the images will be rendered. The rendered image will be put into renders/ and the original will be moved to originals/.

Dependencies


First and foremost, you must have NodeJS installed.

All of these NodeJS modules are available via npm:

* canvas
* caman
* watch
* daemon-tools