Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/turbotobias/boilerplate
Cloudflare
https://github.com/turbotobias/boilerplate
bun cloudflare-ai cloudflare-durable-objects cloudflare-r2 cloudflare-vectorize cloudflare-workers hono llama3
Last synced: 12 days ago
JSON representation
Cloudflare
- Host: GitHub
- URL: https://github.com/turbotobias/boilerplate
- Owner: turbotobias
- Created: 2025-01-20T08:01:53.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2025-01-22T06:47:58.000Z (12 days ago)
- Last Synced: 2025-01-22T07:34:15.333Z (12 days ago)
- Topics: bun, cloudflare-ai, cloudflare-durable-objects, cloudflare-r2, cloudflare-vectorize, cloudflare-workers, hono, llama3
- Language: TypeScript
- Homepage:
- Size: 487 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Attempt at a cloudflare-first backend for end-to-end speed, reliability, and developer velocity
> ___ please write above 👆, below is auto-generated from `./list-rules-ai.yaml` 👇 ___
## (generated)
features and capabilities:
- A Cloudflare-first backend for speed, reliability, and developer velocity
- Distributed realtime from PostgreSQL to backend workflows to frontends
- AI everything
- Automate everything
- Test everythingtechnology stack:
- postgresql (Main database hosted on Docker at fly.io)
- zero sync (Sync engine between Postgres, Cloudflare Durable Objects, and browsers; docs: https://zero.rocicorp.dev/docs/zero-schema)
- cloudflare services: workers (microservices)
- cloudflare services: workers_ai (function calling)
- cloudflare services: ai_gateway (maybe?)
- cloudflare services: vectorize (embeddings)
- cloudflare services: r2 (unstructured data storage)
- cloudflare services: images (resize, optimize, transform images from R2)
- cloudflare services: queues (async tasks/workflows)
- cloudflare services: hyperdrive (Postgres connection pool)
- typescript
- effect (All custom code/business logic: error handling, piping/workflows, tracing/logging)
- bun (Package manager and testing framework)code quality guidelines:
- Rely on existing code
- Only write new code when absolutely necessary
- Write testable code
- Reliability and error-free code is paramount
- Efficiency and performance are secondary to reliability
- Write code that is clear for both AI and humans
- Maintain 100% type safety
- Fix type errors until there are none
- Type casting only allowed in justified edge cases
- Stick to package.json dependencies
- Only deviate from dependencies when there's significant benefit
- Ask for clarification before proceeding with unclear taskscode style rules:
- Naming conventions: variables => snake_case, properties => snake_case, functions => snake_case, files => kebab-case
- Custom types => PascalCase prefixed with "T" (e.g. TImage)
- External dependencies => default casing
- Comments: ai_generated => prefix with (ai)directory specific rules:
- src/** => use Bun as test runner, write 100% Cloudflare Workers compatible code, no Bun-specific code
- script/** => use Bun exclusively for tests, write 100% Bun code, strictly no Node.js codecore principles:
- Begin with foundational observations
- Keep exploring until a solution emerges naturally from the evidence
- Continue reasoning indefinitely when uncertain
- Question every assumption and inference
- Acknowledge and explore dead ends
- Frequently revise and backtrack as needed
# (generated)features and capabilities:
- A Cloudflare-first backend for speed, reliability, and developer velocity
- Distributed realtime from PostgreSQL to backend workflows to frontends
- AI everything
- Automate everything
- Test everythingtechnology stack:
- postgresql (Main database hosted on Docker at fly.io)
- zero sync (Sync engine between Postgres, Cloudflare Durable Objects, and browsers; docs: https://zero.rocicorp.dev/docs/zero-schema)
- cloudflare services: workers (microservices)
- cloudflare services: workers_ai (function calling)
- cloudflare services: ai_gateway (maybe?)
- cloudflare services: vectorize (embeddings)
- cloudflare services: r2 (unstructured data storage)
- cloudflare services: images (resize, optimize, transform images from R2)
- cloudflare services: queues (async tasks/workflows)
- cloudflare services: hyperdrive (Postgres connection pool)
- typescript
- effect (All custom code/business logic: error handling, piping/workflows, tracing/logging)
- bun (Package manager and testing framework)code quality guidelines:
- Rely on existing code
- Only write new code when absolutely necessary
- Write testable code
- Reliability and error-free code is paramount
- Efficiency and performance are secondary to reliability
- Write code that is clear for both AI and humans
- Maintain 100% type safety
- Fix type errors until there are none
- Type casting only allowed in justified edge cases
- Stick to package.json dependencies
- Only deviate from dependencies when there's significant benefit
- Ask for clarification before proceeding with unclear taskscode style rules:
- Naming conventions: variables => snake_case, properties => snake_case, functions => snake_case, files => kebab-case
- Custom types => PascalCase prefixed with "T" (e.g. TImage)
- External dependencies => default casing
- Comments: ai_generated => prefix with (ai)directory specific rules:
- src/** => use Bun as test runner, write 100% Cloudflare Workers compatible code, no Bun-specific code
- script/** => use Bun exclusively for tests, write 100% Bun code, strictly no Node.js codecore principles:
- Begin with foundational observations
- Keep exploring until a solution emerges naturally from the evidence
- Continue reasoning indefinitely when uncertain
- Question every assumption and inference
- Acknowledge and explore dead ends
- Frequently revise and backtrack as needed