Skip to content

brycedorn/apod-color-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apod color search 🪐

Search for APOD photos by color! Consists of three parts:

web

A Svelte app to provide search interface. Uses vanilla-colorful for color picker.

api

Deno-based API that retrieves APOD information from database for images that match the given hex value. Uses Redis to store & retrieve query results.

src

Rust utility to analyze and process images. Used to populate database with historical data, now scheduled to run monthly to process new APODs.

  1. Fetches APOD metatada via apod-api.
  2. Analyzes image to get highest-frequency non-grayscale colors.
  3. Saves result to Postgres.

Runs via GitHub Actions UI to then trigger additional workflows. This was used to leverage GitHub Actions to batch process a large amount of images concurrently & remotely.