• Stars
    star
    758
  • Rank 59,918 (Top 2 %)
  • Language
    Ruby
  • License
    Other
  • Created about 15 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr) index.

Blacklight

CI Workflow

Blacklight is an open source Solr user interface discovery platform. You can use Blacklight to enable searching and browsing of your collections. Blacklight uses the Apache Solr search engine to search full text and/or metadata. Blacklight has a highly configurable Ruby on Rails front-end. Blacklight was originally developed at the University of Virginia Library and is made public under an Apache 2.0 license.

Installation

Add Blacklight to your Gemfile:

gem "blacklight"

Run the install generator which will copy over some initial templates, migrations, routes, and configuration:

rails generate blacklight:install

Documentation, Information and Support

Browser Compatibility

Blacklight assumes a modern browser with support for ES6. This means we explicitly do not support Internet Explorer 11.

Dependencies

Blacklight aims to support the currently supported versions of Ruby and the supported versions of Ruby on Rails. We aim to keep our test configuration up to date with these supported versions.

Contributing Code

Code contributions are always welcome, instructions for contributing can be found at CONTRIBUTING.md.

Configuring Apache Solr

You'll also want some information about how Blacklight expects Apache Solr to run, which you can find in Solr Configuration

Building the javascript

The javascript is built by npm from sources in app/javascript into a bundle in app/assets/javascripts/blacklight/blacklight.js. This file should not be edited by hand as any changes would be overwritten. When any of the javascript components in the gem are changed, this bundle should be rebuild with the following steps:

  1. Install npm
  2. run npm install to download dependencies
  3. run npm run prepare to build the bundle
  4. run npm publish to push the javascript package to https://npmjs.org/package/blacklight-frontend

Using the javascript

Blacklight ships with Javascript that can be compiled either by Webpacker or by Sprockets. To use Webpacker see the directions at https://github.com/projectblacklight/blacklight/wiki/Using-Webpacker-to-compile-javascript-assets

If you prefer to use Sprockets, simply run the install generator, which will run the assets generator. For details see https://github.com/projectblacklight/blacklight/wiki/Using-Sprockets-to-compile-javascript-assets

More Repositories

1

spotlight

Spotlight enables librarians, curators, and others who are responsible for digital collections to create attractive, feature-rich websites that highlight these collections.
Ruby
161
star
2

arclight

A Rails engine supporting discovery of archival material
Ruby
39
star
3

blacklight_advanced_search

Advanced search plugin for Blacklight
Ruby
25
star
4

blacklight_range_limit

Range facet/limit/profile plugin for Blacklight
Ruby
20
star
5

blacklight_oai_provider

OAI Provider Plugin for Blacklight
Ruby
19
star
6

blacklight-marc

MARC enhancements for Blacklight
Ruby
19
star
7

blacklight-gallery

Gallery views for Blacklight
Ruby
14
star
8

blacklight-maps

Map search results view for Blacklight
Ruby
14
star
9

blacklight-vue

Blacklight frontend for VueJS
Vue
10
star
10

blacklight-jetty

Blacklight Jetty Instance
XSLT
8
star
11

intro-to-blacklight-2020

Ruby
7
star
12

blacklight-oembed

OEmbed media views for Blacklight
XSLT
6
star
13

blacklight_folders

Allow grouping of blacklight bookmarks into user created reference folders
Ruby
6
star
14

blacklight_browse_nearby

A gem to provide a forward/backward browse from solr documents in Blacklight.
Ruby
5
star
15

demo.projectblacklight.org

Ruby
4
star
16

blacklight_cql

A plugin for Blacklight to provide CQL searching
Ruby
4
star
17

blacklight-solr-example-configs

Sample solr configuration/schema files to help you get started
4
star
18

customizing-blacklight

Jekyll site with content about customizing blacklight applications (for HydraConnect 2015)
CSS
3
star
19

blacklight-locale_picker

A dropdown locale switcher for Blacklight apps
Ruby
2
star
20

blacklight-access_controls

Provides access controls for Blacklight-based Rails applications.
Ruby
2
star
21

projectblacklight.github.com

Project Blacklight Primary Web Presence
SCSS
2
star
22

blacklight-data

Demo data files to test your Blacklight instance
2
star
23

blacklight-vue-demo

A sample project that uses blacklight-vue
JavaScript
2
star
24

intro-to-blacklight-2022

Ruby
1
star
25

intro-to-blacklight-2021

Ruby
1
star
26

blacklight_summit_demo

Ruby
1
star
27

code4lib_precon_demo

Code4Lib 2017 preconference demo application
JavaScript
1
star