No description
Find a file
eternal-flame-AD 5ffbf3bcf8
Relax some size-critical dependency versions
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-13 11:24:08 -06:00
.vscode init 2024-11-13 05:23:22 -06:00
src Relax some size-critical dependency versions 2024-11-13 11:24:08 -06:00
submodules init 2024-11-13 05:23:22 -06:00
.gitignore init 2024-11-13 05:23:22 -06:00
.gitmodules init 2024-11-13 05:23:22 -06:00
build.rs init 2024-11-13 05:23:22 -06:00
Cargo.lock Relax some size-critical dependency versions 2024-11-13 11:24:08 -06:00
Cargo.toml Relax some size-critical dependency versions 2024-11-13 11:24:08 -06:00
LICENSE init 2024-11-13 05:23:22 -06:00
README.md Relax some size-critical dependency versions 2024-11-13 11:24:08 -06:00
rust-toolchain init 2024-11-13 05:23:22 -06:00
wrangler.toml follow JS promise model in cf-worker build 2024-11-13 10:49:30 -06:00

Yumechi-no-kuni-proxy-worker

This is a misskey proxy worker for ゆめちのくに (Yumechi-no-kuni) instance. Runs natively on both local and Cloudflare Workers environments!

Work in progress! Currently to do:

  • Content-Type sniffing
  • SVG rendering
    • Font rendering (likely will not run on Cloudflare Workers Free plan)
  • Preset image resizing
  • Opportunistic Redirection on large video files
  • RFC9110 compliant proxy loop detection with defensive programming against known vulnerable proxies
  • HTTPs only mode and X-Forwarded-Proto reflection
  • Cache-Control header
  • Rate-limiting on local deployment (untested)
  • Read config from Cloudflare
  • Handle all possible panics

Demo

Avatar resizing

Preview at:

https://yumechi-no-kuni-proxy-worker.eternal-flame-ad.workers.dev/proxy/avatar.webp?url=https://media.misskeyusercontent.com/io/274cc4f7-4674-4db1-9439-9fac08a66aa1.png

Image:

Syuilo Avatar resived.png

SVG rendering

(font rendering disabled due to size restrictions)

https://yumechi-no-kuni-proxy-worker.eternal-flame-ad.workers.dev/proxy/static.webp?url=https://upload.wikimedia.org/wikipedia/commons/a/ad/AES-AddRoundKey.svg

AES-AddRoundKey.svg