Home

Awesome

Spyglass

Spyglass provides a simple search interface for Solr using EmberJS.

Update: March 2019 - We are no longer maintaining this Gem. Please contact epugh@opensourceconnections.com if you would like to take over this project.

Spyglass comes with many of the search components you need to create a lightweight search interface right out of the box.

For a little more background until we get a project page up go here.

Trying Spyglass

  1. Download the Spyglass binary from the releases tab.
  2. Edit the example js/app.js and index.html files to point to your Solr instance.
  3. Open the page in your browser, or deploy it to your own site.

Installing Spyglass

Running Spyglass locally allows you to easily customize the interface, and sets up a good development environment for your project.

To build Spyglass from source you will need:

  1. NPM installed
  2. Bower: npm install -g bower
  3. Grunt: npm install -g grunt-cli

Then:

  1. Navigate to the grunt folder within your cloned Spyglass repository.
  2. Run bower install
  3. Run npm install
  4. Great, now run grunt server to launch Spyglass and automatically start compiling your changes in real-time.

Now that you are set up you can also run grunt build to generate a distribution version of your app.