Skip to content

keppy/WorldEnder.ai

Repository files navigation

pindragoon_httpss mj runQMNtGkQGbTQ_make_me_a_cool_image_for__19204f1e-2a26-41b0-9a60-0b01437fec14_0

WorldEnder.ai 🌎💥

A text-adventure RPG using structured outputs from LLMs as the backend to simulate the decline of humanity, the outcome of global catastrophes, and your quest to rebuild civilization.

Slides and Notebooks

Presentation Slides

Experiment Notebook

Presentation Notebook (with some teaching)

How to develop website

install python deps

poetry install --with api-server

install next.js deps

cd webui
yarn

regenerate typescript DTO types from pydantic DTOs

poetry run python tools/pydantic2ts.py --module webui/api-server/dtos.py --output webui/apps/website/lib/dtos.ts --json2ts-cmd ./webui/node_modules/.bin/json2ts

database

cd webui/storage
docker-compose up -d

api server

cd webui/api-server
poetry run fastapi dev main.py --reload --port 8080

web frontend

cd webui/apps/website
yarn install
yarn dev

at that point, the DB, api server, and web FE are all running, and you can make code changes and they will hot-reload

Copyright © 2024 James Dominguez

About

Predict the end of the world

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published