kittenbot

command module
v0.0.0-...-3ef3bdd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2026 License: ISC Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Kittenbot

The repo contains everything required for deploying kittenbot.io. You can also use this repo to create a clone for a different domain.

Requirements

To successfully deploy this you will need a few things:

  • A Dezgo API key and some credits in your account. Because we generate a single image a day those credits will last quite a while.
  • A Terraform Cloud account.
  • A registered domain. Currently this domain is assumed to be registered with AWS.

Design

At its core this is simply a static website hosted in S3 and served by CloudFront. CloudFront does most of the heavy lifting, including caching.

An EventBridge schedule invokes a lambda every day. The lambda makes a call to Dezgo to generate an image with the passed in prompt and model; the prompt and model are configured via Terraform variables. The lambda then templates out a new latest.html and uploads everything to S3. Finally the lambda creates a CloudFront cache invalidation for latest.html and the generated image.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL