Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
A Rails engine supporting the discovery of web archives.
Ruby Other
  1. Ruby 99.3%
  2. Other 0.7%
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update template to reflect archivesunleashed/aut@ef6ea36 May 6, 2018
app Update RuboCop to 0.62.0. Jan 2, 2019
bin init Aug 3, 2017
config Rubocop coding standards. Aug 16, 2017
lib 0.8.3 May 13, 2019
solr author should be multi-valued: https://github.com/ukwa/webarchive-dis… Oct 15, 2018
spec [ruby] Upgrade rubocop-rspec to version 1.36.0 (#85) Sep 29, 2019
tasks Upgrade rubocop to version 0.61.1 (#50) Dec 12, 2018
vendor/assets/javascripts Resolve #6 #7 Aug 17, 2017
.eslintrc More alignment with Arclight Aug 16, 2017
.gitignore Update to engine_cart 2.2.0 & work around for rails/rails#35153 Mar 25, 2019
.rspec More alignment with Arclight Aug 16, 2017
.rubocop.yml Update dependencies; rubocop, blacklight_range_limit. May 13, 2019
.solr_wrapper Change Solr core name back to 'blacklight-core'. Aug 16, 2017
.travis.yml Update Ruby versions in TravisCI config. Oct 15, 2019
CHANGELOG.md Update CHANGELOG May 13, 2019
CODE_OF_CONDUCT.md Add CoC Nov 2, 2017
CONTRIBUTING.md [skip travis] Update CONTRIUBUTING.md. Jan 6, 2019
Gemfile Update responders to version 3.0.0 (#74) Jun 23, 2019
LICENSE.txt init Aug 3, 2017
README.md Add Warclight paper. Oct 6, 2019
Rakefile Add engine_cart Aug 3, 2017
package.json Update eslint-config-airbnb-base to version 14.0.0 (#82) Aug 11, 2019
template.rb Update range_limit in template. Mar 24, 2019
warclight.gemspec Update rubocop to version 0.75.0 (#86) Oct 1, 2019

README.md

Warclight

Build Status codecov Gem Version Contribution Guidelines LICENSE Depfu

A Project Blacklight based Rails engine that supports the discovery of web archives held in the WARC and ARC formats. It allows faceted full-text search, record view, and other advanced discovery options.

The following article provides a nice overview:

Ruest, Nick, Milligan, Ian, and Lin, Jimmy. Warclight: A Rails Engine for Web Archive Discovery. Proceedings of the 2019 IEEE/ACM Joint Conference on Digital Libraries (JCDL 2019), June 2019, Urbana-Champaign, Illinois.

Requirements

Installation

Add this line to your application's Gemfile:

gem 'warclight'

And then execute:

$ bundle

Or install it yourself as:

$ gem install warclight

For further details, see our Creating, installing, and running your Warclight application documentation.

Usage

Warclight is designed to work with web archive data that is indexed via the UK Web Archive's webarchive-discovery project. A guide on indexing is available here.

Development

Warclight development uses solr_wrapper and engine_cart to host development instances of Solr and Rails server on your local machine.

Run the test suite

Ensure Solr and Rails are not running (ports 8983 and 3000 respectively), then:

$ bundle exec rake

Run a development server

$ bundle exec rake warclight:server

Then visit http://localhost:3000. It will also start a Solr instance on port 8983.

Run a console

You can also run bin/console for an interactive prompt that will allow you to experiment.

Release a new version of the gem

To release a new version:

  1. Update the version number in lib/warclight/version.rb
  2. Run bundle exec rake release, which will create a git tag for the version, push git commits and tags, build the gem file (e.g., gem build warclight.gemspec) and push the .gem file to rubygems.org (e.g., gem push warclight-x.y.z.gem).

Contributing

Bug reports and pull requests are welcome on Warclight -- see CONTRIBUTING.md for details.

License

The gem is available as open source under the terms of the Apache License, Version 2.0.

Acknowledgments

This work is primarily supported by the Andrew W. Mellon Foundation. Other financial and in-kind support comes from the Social Sciences and Humanities Research Council, Compute Canada, the Ontario Ministry of Research, Innovation, and Science, York University Libraries, Start Smart Labs, and the Faculty of Arts and David R. Cheriton School of Computer Science at the University of Waterloo.

Any opinions, findings, and conclusions or recommendations expressed are those of the researchers and do not necessarily reflect the views of the sponsors.

This project drew inspiration from the Arclight and UKWA's Shine, and would like to thank those creators and contributors.

You can’t perform that action at this time.