gras

2.0.3 • Public • Published

Gras

Generate random albums

Overview

Using a fun little method used a few years ago, this generates random albums.

Your mileage may vary.

Where does it come from?

Artist Name

Artist name is based on a random wikipedia page, using Wikipedia's Special:Random page. It removes any disambiguation from the title to ensure that you don't end up with names like "John Doe (Politician)".

Album Name

Album names are based on a random quotation from The Quotations Page random page. The original rules stated that it should be the last quote, which is what is being used here. But I don't see why that could change at some point.

Artwork

Artwork is based on the third image from Flickr's interesting https://www.flickr.com/explore/interesting/7days page. It's scaled and cropped to fit the given space.

Generating the image

The image is generated with node-canvas, and is rendered to mimic an album release within Spotify.

There is a lot of work that could be done here to clean it up, but I don't see this project being used enough that someone feels the need to add something like an iTunes Music generator etc.

Readme

Keywords

none

Package Sidebar

Install

npm i gras

Weekly Downloads

11

Version

2.0.3

License

MIT

Last publish

Collaborators

  • karlbright