2017 © Pedro Peláez
 

library js-search

A client side search engine for use on static pages.

image

cebe/js-search

A client side search engine for use on static pages.

  • Tuesday, November 22, 2016
  • by cebe
  • Repository
  • 5 Watchers
  • 118 Stars
  • 158,896 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 19 Forks
  • 3 Open issues
  • 5 Versions
  • 7 % Grown

The README.md

js-search

This is a client side search engine for use on static pages., (*1)

It uses a pre-compiled search index to add a fulltext search to static HTML pages such as github pages or offline API documentation. The index is built by a PHP script using a similar yet much more simplified and dump approach than the popular search engine Lucene., (*2)

To see how it looks like, check out the demo., (*3)

Installation

PHP 5.4 or higher is required to run the index generator., (*4)

Installation is recommended to be done via composer by adding the following to the require section in your composer.json:, (*5)

"cebe/js-search": "~0.9"

Alternatively run composer require "cebe/js-search"., (*6)

Usage

TODO., (*7)

See example.html for an implementation., (*8)

Generate the index

Using the command line tool:, (*9)

vendor/bin/jsindex <path-to-your-html-files>

This will generate a jssearch.index.js file that you have to include in the HTML header., (*10)

The Versions

22/11 2016

dev-master

9999999-dev

A client side search engine for use on static pages.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

22/11 2016

0.9.3

0.9.3.0

A client side search engine for use on static pages.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

07/05 2015

0.9.2

0.9.2.0

A client side search engine for use on static pages.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

26/04 2014

0.9.1

0.9.1.0

A client side search engine for use on static pages.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

25/04 2014

0.9.0

0.9.0.0

A client side search engine for use on static pages.

  Sources   Download

MIT

The Requires

  • php >=5.4.0