Skip to content

AI-powered game engine that simplifies the creation of visual novels

Notifications You must be signed in to change notification settings

kcoopermiller/ore.ai

Repository files navigation

Ore AI

HuggingFace Model

preview.mp4

Stack

Getting started

To use, simply clone this repo by running the following commands:

Note: This app uses the Nix package manager

Run the following commands:

git clone https://github.com/kcoopermiller/ore.ai
cd ore.ai
bun install
npx wrangler login
bun run setup

That's it. You're ready to go! Next time, you can just run bun run dev and start developing.

When you're ready to deploy, run bun run deploy to deploy to Cloudflare.

Setup

An automatic setup script is provided, but you can also manually set up the following:

  1. Create a Cloudflare account and install the Wrangler CLI.
  2. Create a D1 database under "Workers and Pages" in the Cloudflare dashboard, or run bunx wrangler d1 create ${dbName}
  3. Create a .dev.vars file in apps/web with the following content:
AUTH0_CLIENT_ID=
AUTH0_CLIENT_SECRET=
AUTH0_ISSUER=
OPENAI_API_KEY=
FAL_KEY=
GLIF_API_KEY=
NEXTAUTH_SECRET=
  1. Create a wranlger.toml file in apps/web from the provided wrangler.toml.example file. Replace name, database_name and database_id with your own values.
  2. In apps/web, run this command to make migrations to setup auth with database: bunx wrangler d1 execute ${dbName} --local --file=migrations/0000_setup.sql. This creates a local version of the database and creates the appropriate tables.
  3. Run remote migration for the production database - same command but replace --local with --remote: bunx wrangler d1 execute ${dbName} --remote --file=migrations/0000_setup.sql
  4. Bun bun run dev to start the development server.
  5. Run bun run deploy to deploy to Cloudflare.

About

AI-powered game engine that simplifies the creation of visual novels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published