Vishesh Handa's personal website

Baloo and NodeJs


I took some time to write some very basic nodejs bindings for Baloo. They are available on github and npm.

Example

It can be installed via npm install baloo

var Baloo = require('baloo');

var query = new Baloo.Query('keyword');
query.exec(function(results) {
    results.forEach(function(filePath) {
        console.log(filePath);
    });
});

I’m aware of a few people who have deployed Baloo on a server. I’m hoping this will help them. It also paves the way for some interesting web-based user interfaces for file-searching.