GithubHelp home page GithubHelp logo

ykankaya / vermeer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jlord/vermeer

0.0 1.0 0.0 9.01 MB

#vermeergoals

Home Page: jlord.us/vermeer

License: Other

HTML 4.40% JavaScript 95.16% CSS 0.43%

vermeer's Introduction

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.

vermeer's People

Contributors

jlord avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.