Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

tlwr/some-gallery-thing

Repository files navigation

some gallery thing

GitHub Workflow Status GitHub Workflow Status License Contributors Last commit

As a person who looks at art, I want to see what is on in my local area, so I can go see art.

workflow

  1. GHA runs a CI pipeline which compiles TS to scrape gallery websites
  2. GHA compiles TS code into JS bundle
  3. GHA uses wrangler to upload events JSON to Cloudflare KV
  4. GHA uses wrangler to deploy JS bundle to Cloudflare workers
  5. Cloudflare worker hosts some-gallery-thing.toby.codes

development

  1. install nodejs LTS
  2. npm install
  3. npm run watch
  4. open localhost:8080

deployment

  1. Manually using wrangler publish

Or

  1. Push to main via GitHub actions

Or

  1. Every two hours via GitHub actions

structure

src is where the rest of the source code goes. src/public is where assets (CSS and images) live.

src/controllers is the directory where the visual components live.

This project uses typescript, jest, and sass.

Types are defined in src/types. Examples and static data goes in src/data.

Releases

No releases published

Packages

No packages published

Languages