I have a directory of files like so:

  • accordance-temporary-downloads
  • accordance-temporary-downloads.md
  • add-to-dock-from-commandline
  • add-to-dock-from-commandline.md
  • dock-settings-via-defaults-write
  • dock-settings-via-defaults-write.md
  • favicon.gif
  • favicon.ico
  • images/
  • index.html
  • index.mmd

(and so on)

The files without the .md extension are HTML files generated from the .md (Markdown) files.

Right now there are only a few files there, but I hope to grow it to include many (not sure how many, but let's say hundreds rather than thousands).

What I would like to do is create a small search engine which will search through the HTML files for a word/phrase and show links to the results. Only files without an extension should be searched.

(For now there are no sub-folders which need to be searched. In fact, sub-folders should be ignored.)

I've been looking for a solution, but haven't had any luck. I have been looking for a PHP solution, but without MySQL. I can't help but imagine someone has already made something like this and I don't want to reinvent it. (Also I haven't done any PHP coding myself for more years than I care to admit, and I was never particularly good at it.)

Can someone recommend a solution ?

UPDATE: I am watching to create a search engine for files on a remote server, specifically at http://notes.luo.ma/ not on my local machine. See http://stevenf.com/notes/ for an example of what I'm wanting to do (but I don't want to use a Wiki, I just want to use separate files).

link|improve this question
What type of search engine you want to create? I mean, is it just a desktop search in files or rather an engine accessible from outside? – Alois Mahdal Jan 22 at 19:36
If you really want to implement a SE to your page, maybe you might want to look at stackoverflow? – Alois Mahdal Jan 22 at 19:38
feedback

closed as off topic by Mokubai, RedGrittyBrick, DragonLord, Nifle, studiohack Jan 27 at 19:13

Questions on Super User are expected to generally relate to computer software or computer hardware, within the scope defined in the faq.

1 Answer

You might want to install Google Desktop. That does the job for you.

link|improve this answer
That is discontinued... – soandos Jan 22 at 23:34
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.