Skip to content

jonkeane/photo-site

Repository files navigation

photo-site

A Hugo static site for displaying photography portfolios with Flickr integration.

Netlify Status

Architecture

This site uses build-time static generation rather than runtime JavaScript galleries:

  • Go CLI tool fetches Flickr photoset metadata via REST API
  • Raw JSON responses stored in data/flickr/photosets/
  • Hugo generates one HTML page per photo
  • Images served directly from Flickr CDN

Development

Install netlify-cli with brew install netlify-cli and then:

netlify dev

Which will also simulate edge functions, etc.

Alternatively, hugo directly:

hugo serve

Flickr API Integration

To fetch photoset metadata, you need a Flickr API key:

  1. Get key at https://www.flickr.com/services/apps/create/
  2. Export as environment variable: export FLICKR_API_KEY=your-key-here
  3. Run importer: flickrimport (or go run ./cmd/flickrimport)
  4. For private photos, you'll need to setup OAuth export FLICKR_CONSUMER_KEY=your-key-here, export FLICKR_CONSUMER_SECRET=your-secret-here and then flickrimport -initOAuth

About

A site for displaying photos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published