Skip to content

Add Cloudflare Worker proxy#25

Open
ichiroc wants to merge 1 commit intomainfrom
free-request
Open

Add Cloudflare Worker proxy#25
ichiroc wants to merge 1 commit intomainfrom
free-request

Conversation

@ichiroc
Copy link
Owner

@ichiroc ichiroc commented Mar 8, 2026

Summary

  • Introduce a Cloudflare Worker proxy so users can use ChatGPT2Scratch without setting their own API key
  • Add https://stretch3.champierre.com to the allowed origins list
  • Add CI workflow for deploying the Cloudflare Worker

Test plan

  • Verify the extension works without an API key via the Cloudflare Worker proxy
  • Verify the extension works when accessed from https://stretch3.champierre.com
  • Verify existing CoderDojo Japan access path still works
  • Verify users can still set their own API key and use OpenAI directly

🤖 Generated with Claude Code

Cloudflare Worker をプロキシとして追加し、ユーザーが OpenAI API キーを
セットしなくても拡張を利用できるようにした。
ユーザーが自分のキーをセットした場合はそちらを優先する。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ichiroc ichiroc changed the title Add Cloudflare Worker proxy and allow stretch3.champierre.com origin Add Cloudflare Worker proxy Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant