wanderer-moe / api

📦 The API for https://wanderer.moe/ — (v2 branch) created using Cloudflare Workers, R2, DO, Hono, Lucia Auth, Drizzle, Turso, Scalar & Resend
https://api.wanderer.moe
GNU General Public License v3.0
69 stars 2 forks source link
authentication cloudflare cloudflare-kv cloudflare-r2 cloudflare-workers drizzle durable-objects hono lucia-auth r2 resend turso typescript
![Banner] ![Quality] ![API Response] ![CDN Response] Source code for the API powering [**wanderer.moe**](https://wanderer.moe) — using **Cloudflare Workers** with **R2 Storage** for the CDN.

Usage

Wrangler

Configuration is in wrangler.toml - this includes the R2 Bucket.

Actions

API Reference

Games

Get all games

  GET api.wanderer.moe/games

Get game data

  GET api.wanderer.moe/game/${gameId}
Parameter Type Description
gameId string Required — game to get data for

Get a game's asset data

  GET api.wanderer.moe/game/${gameId}/${asset}
Parameter Type Description
gameId string Required — game to get data for
asset string Required — asset to get data for

Authors

License

api.wanderer.moe is licensed under the GNU Affero General Public License v3.0 - You must state all significant changes made to the original software, make the source code available to the public with credit to the original author, original source, and use the same license.