Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infomiho/dailyaicomics
Daily AI Comics using Wasp, ChatGPT and Stable Diffusion
https://github.com/infomiho/dailyaicomics
Last synced: 3 months ago
JSON representation
Daily AI Comics using Wasp, ChatGPT and Stable Diffusion
- Host: GitHub
- URL: https://github.com/infomiho/dailyaicomics
- Owner: infomiho
- License: mit
- Created: 2023-03-21T08:35:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-24T11:10:38.000Z (almost 2 years ago)
- Last Synced: 2024-04-13T14:58:14.949Z (9 months ago)
- Language: TypeScript
- Homepage: https://dailyaicomics.com
- Size: 39.1 KB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](http://wasp-lang.dev) to build the site and deploy it to Fly.io.
- We use [Replicate](http://replicate.com) to generate images
- We use [Cloudflare R2](https://www.cloudflare.com/en-gb/products/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:
```bash
docker run --name daily-ai-comics-postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres
```Make sure you have Wasp installed ([installing Wasp](https://wasp-lang.dev/docs#2-installation)), then run:
```bash
wasp db migrate-dev
```and then:
```bash
wasp start
```### Deploying to Fly.io
Make sure you have the Fly CLI installed, then run:
```bash
wasp deploy fly launch # first time
```where `` is some unique app name and `` is one of [Fly.io regions](https://fly.io/docs/reference/regions/).
```bash
wasp deploy fly deploy # subsequent times
```