Skip to content

AI Town — Generative AI agents in a virtual world on Cloudflare Workers + Containers

Notifications You must be signed in to change notification settings

HeyMegabyte/aitown.megabyte.space

Repository files navigation

AI Town

Deployment wrapper for AI Town on Cloudflare Workers + Containers.

Quick Start

Command Description
npm run deploy Deploy to Cloudflare
npm run dev Run locally
npm run logs Tail worker logs
npm run health Check health endpoint

Architecture

Client -> Cloudflare Edge -> Worker (fetch handler)
                              |
                         Container (node:20-bookworm)
                              |
                         Port 8080 -> AI Town

Configuration

Setting Value
URL https://aitown.megabyte.space
Image node:20-bookworm
Port 8080
Postgres no
Redis no

Troubleshooting

  1. Check worker status: wrangler tail --name aitown
  2. Verify DNS: dig aitown.megabyte.space
  3. Health check: curl https://aitown.megabyte.space/__health
  4. Container logs: Check Cloudflare dashboard -> Workers -> aitown

About

AI Town — Generative AI agents in a virtual world on Cloudflare Workers + Containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors