Manak / node-filesearch

NodeJS module to aid in file searching on Mac(uses Spotlight Search) & Windows(uses Everything Search)
3 stars 1 forks source link

I have some questions regarding your node module! #1

Open IGitSylvia opened 9 years ago

IGitSylvia commented 9 years ago

Hi,

I am currently developing a js based browser-based front-end bridge interface solution between Everything Search and about half a million of mixed files/folders. I think your module can perhaps provide me a more flexible and a likely faster json output for the search output results. However although I've written, implemented, and have hacked js throughout the years, I have to admit, Node/JS is not exactly my "kung fu", like it is with PHP. But I am willing to give it a sincerely try at it, since I have performance cost concerns about implementing a PHP json bridge solution. So allow me to ask you a few things:

1- Why did you create this module? Was it mainly to better manipulate the json output like I want to? Was it because you wanted the browser-based results to return the right icon?

2- Using your module, will I have full control of the json output?

3- Can you tell me more about the IconExtractor.exe? Is this yours or it open source? I would love to go over the documentation. Either way, in your module what does it do exactly? Will it extract and then cache the associated icons just Windows? I know PortableApps Platform does this for executable files with png2ico.exe (from http://www.winterdrache.de/freeware/utilities.html) and it works perfect.

4- Will I be able to control when to rebuild the icon extractions, perhaps and hopefully at the folder path level?

I sincerely thank you in advance for replying to me! Best wishes from San Francisco, California!

:)

Sylvia

Manak commented 9 years ago

Hi sylvia!

  1. I created this module for a project i built for pennapps which was essentially a cross-platform Alfred(see:http://www.alfredapp.com/). This particular module i wrote was so that i could allow the user to search through his/her filesystem for their files.
  2. Using my module you will have literally no control over the json output... So sorry about that :package:P
  3. The icon extractors were programs i wrote so i could display the icons of the respective files, across the file systems. I have actually misplaced the code for these and won't be able to provide you with anything. Moreover there is no other function than getting the system set icon for that particular file type.
  4. Well, i mean that could be added in but by default no, you won't be able to rebuild the icon extractions.

Sorry for the messy module :(

Manak