Skip to content

DalisonCPU/github-roast

 
 

Repository files navigation

GitHub Roast

SvelteKit, Cloudflare Pages, Cloudflare D1, OpenAI gpt-4o-mini

Setup

  1. Create a new Cloudflare D1 database
  2. npx wrangler d1 import <database_name> --remote ./database.sql
  3. npx wrangler d1 import <database_name> --local ./database.sql
  4. npm run dev

Deployment

  1. on Cloudflare Pages, deploy new app
  2. Framework Preset -> SvelteKit
  3. Use Connect Git instead of manual upload
  4. the first deployment will fail, you need to update production ENV with encrypted value (this is CF Pages bug)

About

Spicy GitHub Roast 🔥

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.9%
  • Svelte 29.2%
  • HTML 2.6%
  • Other 1.3%