Skip to content

katzgrau/jerry-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jerry Picker

Jerry Picker is a tool for combing through and playing Grateful Dead tracks hosted on Archive.org. A handful of other artists are supported too, and you can add your own.

Top 7 Cool Use Cases (Search)

Use the search bar on the top right (on desktop) with search phrases like:

  1. Search by exact date: 1977-05-08
  2. Search by partial date: 1977-05 or 1965
  3. Search by venue: roosevelt stadium or woodstock
  4. Search for specific transitions: scar > fire
  5. Search for covers/collaborations: visions of johanna
  6. Listen to the evolution of tracks: china cat 1972 or china cat 1977, or china cat 1982
  7. In search results, click the filter icon (desktop only) for one-click search/filtering

Coming one day (in 5 years perhaps, see the changelog) - search by publisher, like Betty Cantor-Jackson

Running Locally

$ php -S 0.0.0.0:8080 # requires php 5+

Then open a browser to http://localhost:8080 and you'll see a rough approximation of a Spotify player.

Adding Artists/Track Data

You can add support for new artists (or more tracks for existing artists) by running the seed script. To add "Tedeschi Trucks Band" for example, you can just run:

$ php lib/seed "Tedeschi Trucks Band"

And it'll import track data and store them in assets/data/tedeschi-trucks-band.json

By default, it'll pull the information for up to 1000 shows, which for most bands exceeds the show count available on Archive.org anyway. But for the Grateful Dead, you might need to raise that limit with and optional second parameter:

$ php lib/seed "Tedeschi Trucks Band" 2000

Once this is done, you can start the server (see 'Running Locally' above) and just visit:

http://localhost:8080/tedeschi-trucks-band

The server basically just scans the assets/data directory and makes all band data available as a subdirectory with the "slugified" version of the band's name.

Building a Static Version

You can build a static version of the site which doesn't require PHP (which is how it's hosted on Github Pages).

For that, just run: php index.php build

That will place a static/html version of the site in the build/ directory with the timestamp of the build in its name.

Horn Tooting

The project uses three things that I think are pretty cool:

  1. index.php: index.php is a script/single-file framework for quickly building sites that can be served dynamically (eg, via a webserver like Apache) or build to static HTML. Yes, there are many static site generators out there, but this one is my own and I like it. It's somewhat like a single-file CodeIgniter without any data layer ability built in. It supports plugins ("bottlenecks") too.

  2. kucene: Kenny-Lucene is a javascript search algorithm for efficiently searching through thousands of tracks. Complete with a StandardAnalyzer, it's a reverse-index based full text search algorithm based on the Java Lucene project, which I worked with a while back. You'll find that in angular.js service form in assets/app.js

  3. bench: An angular service for timing javascript execution, derived from my only useful (but clever) contribution to StackOverflow.

Changelog

2025: Press Freedom-Inspired Update

Jerry Picker came up in conversation with Bruce Rosen, the First Ammendment attorney who saved our asses over at redbankgreen.com.

It's 2025, so I basically vibe-coded a few improvements that I never got around to:

  • Better determination of the actual show location + reseeding
  • Support for some basic mobile layout and behavior (way overdue)
  • A loading indicator so it was clear that a track was loading and the app wasn't hanging

2020: Easter-quarantine-induced-boredom-inspired-change series

  • Added 5 years' worth the new tracks from Archive.org, which includes an absurd number of Grateful Dead Tracks
  • Pushed the Slightly Stoopid, Jack Johnson, and Phish datasets to production.
  • Added an English word stemmer for better matches on tracks names (eg, a search for "vision of johanna" should match "visions of johanna")
  • Filtered English stop words out of searches
  • Realized I like this hack a lot more than I remember
  • Use newer / improved HTML audio player

Special thanks:

2015/2016:

Wrote most of it.

About

A better frontend search and player for Grateful Dead recordings hosted on Archive.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published