Skip to content

jlord/vermeer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

174 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screen shot 2016-08-08 at 9 43 13 am

#vermeergoals

This is a for-funsies site I made about my quest to visit all of the paintings by Vermeer known and shown.*

The site is pretty simple: four static pages, there isn't even a shared header 😱 but there is some fun data involved!

* Fun facts: there are probably some Vermeers out there that the world doesn't know about yet and there is at least one contested piece. There is also one that was stolen (therefore not publicly shown) and one that is privately owned (sometimes publicly shown).

Data

I have a record of paintings and visits in this Google spreadsheet. I use Sheetsee.js to render them on the page—but not even enough of it, because I decided that since the data doesn't update frequently it's not worth it to fetch from Google each time. So I should simplify the templating note to self.

To get the data I use a Node script to fetch the data from Google Spreadsheets via Tabletop.js when I want to update it: assets/js/index.js. This generates data.json. I then reorganize the data so that it's nicely formatted for the stats.html page with get-stats.js. This generates stats.json.

Viewing/Using the site

Here are the options for cloning, using and viewing this site locally.

#
# Clone repository
git clone https://github.com/jlord/vermeer
#
# Go into repository
cd vermeer
#
# Install dependencies
npm install
#
# Update data.json
npm run data
#
# Update stats.json
npm run stats
#
# View locally
open index.html

Thanks

Many thanks to the site Essential Vermeer which has been...essential...in my quest.

About

#vermeergoals

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors