GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dmorgan81/kittenbot: Daily AI Generated Kittens

BranchesTags
Open more actions menu

Latest commit

 

History

93 Commits
93 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
infra
infra
 
 
internal
internal
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.terraform.lock.hcl
.terraform.lock.hcl
 
 
.terraformignore
.terraformignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 
prompts.auto.tfvars
prompts.auto.tfvars
 
 
root.tf
root.tf
 
 

Repository files navigation

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.

About

Daily AI Generated Kittens

kittenbot.io

Topics

aiawsaws-cloudfrontaws-lambdaaws-s3dezgogogolangkittensterraform

Resources

Readme
ISC license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.