Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.16 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.16 KB

groka

your own personal google

simple frontend/backend which mades web fulltext search engine out of Groonga server.

install

  1. install Groonga
  2. create new database - groonga -n /path/to/db
  3. start groonga http server - groonga -d --protocol http /path/to/db
  4. copy config.sample.php to config.php and change what you want
  5. add something to index - php cmd/add.php http://example.org/
  6. run php -S localhost:80 and search for something

scripts in cmd dir

  • add.php - adds URL specified as argument to index
  • multiadd.php - adds URLs from STDIN to index
  • getlinks.php - get all links from specified URL
  • remove.php - removes URL from index
  • setup.php - setups groka database

name?

It's named after The Groke from Moomins books. Initialy chosen because of name similarity to Groonga, but it has deeper meaning.

As Google is evil, trying to make your own Google may be consideret evil too. But Groka only looks evil, it's actually innocent - as in Moomins books.