Livspect Cloudflare Form
EmDash プラグイン:お問い合わせフォームのバックエンド。Cloudflare Turnstile によるスパム対策と、Workers のネイティブな Cloudflare Email Sending バインディング経由で送るブランド仕様の HTML メール通知を備えます。柔軟なフィールド、ブランドの設定、送信内容の保存に対応します。
プラグイン
Livspect Cloudflare Form
EmDash プラグイン:お問い合わせフォームのバックエンド。Cloudflare Turnstile によるスパム対策と、Workers のネイティブな Cloudflare Email Sending バインディング経由で送るブランド仕様の HTML メール通知を備えます。柔軟なフィールド、ブランドの設定、送信内容の保存に対応します。
EmDash プラグイン:お問い合わせフォームのバックエンド。Cloudflare Turnstile によるスパム対策と、Workers のネイティブな Cloudflare Email Sending バインディング経由で送るブランド仕様の HTML メール通知を備えます。柔軟なフィールド、ブランドの設定、送信内容の保存に対応します。
インストール
npm からパッケージをインストールします。
npm install @livspect/emdash-cloudflare-form
Astro の設定にプラグインを登録します。
import emdash from "emdash/astro";
import cloudflareForm from "@livspect/emdash-cloudflare-form";
export default defineConfig({
integrations: [
emdash({
plugins: [cloudflareForm()],
}),
],
});
このプラグインには、send_email バインディングを設定した Cloudflare Workers でのホスティングと、Cloudflare Turnstile ウィジェットが必要です。sandboxed: ではなく plugins:(インプロセス)に登録してください。
詳細
- 最新バージョン: 1.0.0
- ライセンス: MIT
- 公開者: Yushi Matsui
- 必要条件: EmDash
>=0.19.0 <2.0.0 - ソースリポジトリ: https://github.com/tmyuu/emdash-cloudflare-form
- npm パッケージ: @livspect/emdash-cloudflare-form