Published on

Gallery Data

Authors
  • avatar
    Name
    Teddy Xinyuan Chen
    Twitter
Table of Contents

Datasette Instance

https://gallery-data.teddysc.me/

Full text search example: https://gallery-data.teddysc.me/gallery/dirs?_search=aisb&_sort=dir_path

image_view view with resnet50 classficiation labels: Persian cat

Convenience links:

JSON API

// https://github.com/tddschn/gallery-api/blob/master/src/constants.ts
export const GALLERY_IMAGES_API = 'https://gallery.teddysc.me/images.json'
export const GALLERY_BEST_PHOTOS_API = 'https://gallery-json-api.teddysc.me/best_photos.json'

Random Images API

https://gallery-api.teddysc.me/random

Used by: /random/photo

https://gallery-api.teddysc.me/random?best=true

Used by: /random/best-photo