xiaoyong / voodoo

a PICB file search engine based on mlocate

Home Page:http://voodoo.xiaoyong.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Voodoo -- Search PICB

Voodoo is a web application that can help you locate files by name and save you from the hell of find when the target directory is fairly large. It is specifically serving some privately shared directories in PICB, but you can easily extend and apply it to any system.

Features

  • Search by file category
  • Multiple target directories support
  • Case sensitive/insensitive setting
  • Regular expression support

Technical Details

Back End

The database used is powered by mlocate, which is shipped in most Linux distributions (e.g. Arch Linux, Debian, RHEL, Ubuntu). It periodically maintains a directory tree database which is used to locate files efficiently. In the same way, the database used by Voodoo is produced using updatedb coming within mlocate. It is updated daily as a cron job.

Front End

The web server side scripting was previously in Perl CGI (see bin/voodoo.pl). Now it is moved to Sinatra in Ruby. jQuery is used to facilitate client side scripting.

Deployment

Voodoo is currently running on OpenShift developed by Redhat Inc. Go to http://voodoo.xiaoyong.org/ for a glimpse.

About

a PICB file search engine based on mlocate

http://voodoo.xiaoyong.org/


Languages

Language:Perl 36.3%Language:Ruby 27.5%Language:CSS 19.2%Language:Shell 10.8%Language:JavaScript 6.2%