项目作者: fawind

项目描述 :
🎨 Artsy New Tab pages for the masses
高级语言: JavaScript
项目地址: git://github.com/fawind/picasso.git
创建时间: 2016-09-21T11:01:46Z
项目社区:https://github.com/fawind/picasso

开源协议:

下载


Picasso

Art masterpieces in your browser tabs. Picasso replaces Chrome’s default New Tab page with a wide selection of art masterpieces and shows you a new painting every day.
The images are provided by Wikiart.


Picasso Preview

Installation Chrome Web Store

Install the current version from the Chrome Web Store.

Project Structure

The project is split in three parts:

  1. Chrome extension:
    • Fetches a batch of image urls from the server and stores them in a queue using the local storage.
    • The next N images are cached by converting them to data URIs.
    • If the queue gets too small, new image urls are fetched.
  2. Server:
    • Given an offset, the server returns the next batch of images.
    • An image contains the image url and its metadata.
  3. ImageSelection:
    • Fetches images from Wikidata and filters the results based on aspect ratio and size.
    • Results are saved in a CSV file and used by the server.