It would depend on the requirements. There are several Open Source programs, some will index locally, some won't. There are also evernote tools for command line such as GeekNote.
Oddly, if its public. I have had clients use a wiki; or even Wordpress. (has mobile sharing app)...