An open API service indexing awesome lists of open source software.

https://github.com/skowtcc/api

📦 Old API for https://skowt.cc/ using CF Workers/R2/DO, Hono, Turso, Drizzle & Better Auth (cloudflare-old branch)
https://github.com/skowtcc/api

cloudflare cloudflare-r2 cloudflare-workers drizzle hono r2 turso typescript

Last synced: about 1 month ago
JSON representation

📦 Old API for https://skowt.cc/ using CF Workers/R2/DO, Hono, Turso, Drizzle & Better Auth (cloudflare-old branch)

Awesome Lists containing this project

README

          

> [!NOTE]
> this repo will either be archived or migrated as skowt transitions to a monorepo setup. out of goodwill, the current API will remain available as a reference, either here or in a `cloudflare-old` branch.

skowt.cc's backend/api

api subdomain: den.skowt.cc
cdn subdomain: pack.skowt.cc
bridge (cors proxy): bridge.skowt.cc

- better-auth for discord authentication
- turso for db
- r2 for storage
- hono as the backend
- ratelimiting with do
- fully typesafe openapi spec, using scalar to make it pretty
- hosted entirely on cf workers

this code is pretty much self documenting

types for frontend gen (u need to get the yaml file from ref):

`pnpm dlx typed-openapi "skowtcc-api.yaml" -o "api.zod.ts"`

licensed under GNU General Public License v3.0

authored by [@dromzeh](https://dromzeh.dev/)