Standard Finishing


No announcement yet.

Antfarm - a simple file automation framework written in Node

  • Filter
  • Time
  • Show
Clear All
new posts

  • Antfarm - a simple file automation framework written in Node

    Hi guys,

    For some time, I've been working on a little personal project to make file automation a little simpler. To summarize, you can use this to create hotfolders, download and move files to FTP or Amazon S3, and even trigger advanced workflows with HTTP requests. It's designed to be used for programmers but is very simple to get running and incorporate your own code.

    Here is an antfarm workflow that sorts PDFs from other filetypes with a hotfolder:

    const    Antfarm = require('antfarm'),
             af = new Antfarm();
    let hotfolder_a = af.createFolderNest("/var/hotfolders/a");
    let pdf_folder = af.createFolderNest("/var/out/pdf");
    let other_folder = af.createFolderNest("/var/out/others");
    let tunnel = af.createTunnel("Simple pdf sorting workflow");;, nest) => {
       if(job.extension == "pdf"){
       } else {
    Get it and read the documentation here:

    I'm happy to discuss antfarm or give automation advice in this thread or in Open Automation.
    Last edited by gabrielp; 12-15-2016, 01:28 PM.
CanonKBAAvantiSmartsoft (Presswise)DuploEnfocusXerox4Over

Canon Embellishment White Paper


Print Embellishment Goes
Straight To The Bottom Line

InfoTrends reported that interviews with more than 100 print customers demonstrated an appetite and willingness to pay premiums of 24% to 89% for special effects, over CMYK-only printing. They also indicated embellishment could apply to a significant portion of their work. Embellishment options can include hot foil stamping, spot gloss UV, embossing, debossing, letterpress, diecut shapes, lamination, duplex, triplex, gold foil, silver foil, copper foil, white foil, black foil, clear foil, etching, and laser cutting techniques. Download The Free White Paper.

CanonSmartsoft (Presswise)AvantiKBAAvantiEnfocusGraph ExpoDuploXeroxChili publish4Over

What's Going On


There are currently 6127 users online. 94 members and 6033 guests.

Most users ever online was 10,745 at 04:03 PM on 10-10-2019.