Skip to content

infomiho/dailyaicomics

Repository files navigation

Daily AI Comics

Hey 👋 Thanks for checking out Daily AI Comics source. This is an experiment in using ChatGPT and Stable Diffusion to generate daily comics.

  • We use Wasp to build the site and deploy it to Fly.io.
  • We use Replicate to generate images
  • We use Cloudflare R2 for image storage

Running it locally

Copy env.example to .env.server and fill in the values.

You'll need a PostgreSQL running locally. You can use Docker to run one:

docker run --name daily-ai-comics-postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres

Make sure you have Wasp installed (installing Wasp), then run:

wasp db migrate-dev

and then:

wasp start

Deploying to Fly.io

Make sure you have the Fly CLI installed, then run:

wasp deploy fly launch <name> <region> # first time

where <name> is some unique app name and <region> is one of Fly.io regions.

wasp deploy fly deploy # subsequent times

About

Daily AI Comics using Wasp, ChatGPT and Stable Diffusion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published