A temporary email service built with SvelteKit and Cloudflare Workers KV.
Clone the repository
git clone https://github.com/your-username/tempMail-sveltekit.git
cd tempMail-sveltekit
Install dependencies
bun install
# or
npm install
Configure environment
cp .env.example .env
Edit .env and add your Cloudflare credentials:
CLOUDFLARE_ACCOUNT_ID="your_account_id"
KV_NAMESPACE_ID="your_kv_namespace_id"
CLOUDFLARE_API_TOKEN="your_api_token"
Start the development server:
bun run dev
# or
npm run dev
Access the application at http://localhost:8000
CLOUDFLARE_ACCOUNT_ID: Your Cloudflare account IDKV_NAMESPACE_ID: KV namespace ID from CloudflareCLOUDFLARE_API_TOKEN: API token with KV read/write permissionsbun run build or npm run build.svelte-kit/cloudflare.env filebun run build
# or
npm run build
# Preview production build
bun run preview
# or
npm run preview
This project is licensed under the MIT License.