Skip to content
SamvaHQPublic

About

Packages, examples, and cookbooks for integrating Samva into real applications.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Samva

Open-source packages, examples, cookbooks, and agent plugins for integrating Samva into real applications.

Use these to send transactional email, connect auth email flows, work with templates, handle delivery events, and verify signed webhooks. Ask questions about the code on DeepWiki.

Structure

  • packages/* — package integrations (@samva/*).
  • examples/* — complete, runnable example apps.
  • cookbooks/*.md — documentation-first, copy-pasteable recipes.
  • plugins/* — coding-agent plugins and public documentation.

The maintained integrations target the published Samva 0.16 SDK. Workspace packages and examples use samva@^0.16.0; copyable external import maps pin samva@0.16.0.

Package integrations

Agent plugins

  • samva — OpenAI Codex and Cursor packaging for the canonical hosted MCP server and Samva agent skill.
  • Samva in ChatGPT — the published ChatGPT plugin is a separate listing from the Codex and Cursor package; the guide covers connecting one organization and a read-only first check.

Cookbooks

Integrations land as individual pull requests. See CONTRIBUTING.md to propose or build one.

Examples

  • astro-email — Astro Action and JSON endpoint on Cloudflare Workers.
  • better-auth-nextjs — Better Auth callbacks in a Next.js App Router application.
  • clerk-webhook — Clerk webhook verification and transactional email in Next.js.
  • effect-sdk — Email sends through the samva/effect SDK entrypoint.
  • email-sdk — Email SDK sends through the provider-owned Samva community adapter.
  • hono-cloudflare-workers — Hono Worker with a JSON email endpoint.
  • inbound-email-replies — receives an inbound reply, verifies the signed webhook, and answers in-thread.
  • mailbox-agent — an agent that follows a mailbox event stream and replies in approval mode, plus the same behavior as an @samva/mailbox webhook extension.
  • nextjs-transactional — App Router contact form plus /api/send route handler using the Samva SDK.
  • react-email-samva — React Email rendering and delivery through Samva.
  • supabase-auth-hook — Supabase Auth Send Email Hook implemented as an Edge Function.
  • sveltekit-transactional — SvelteKit form action and raw email endpoint.
  • tanstack-start-transactional — TanStack Start server function and server route.
  • tsx-template-samva — a defineTemplate email project: check, render, preview, and publish with the Samva CLI.

Getting started

This is a Bun + Turborepo monorepo.

bun install
bun run build
bun run typecheck
bun run test
bun run lint
bun run format:check

Related open source

  • SML — the markup, Vite plugin, and editor behind Samva's TSX templates.
  • DomainKit — Samva sets up customer domains with DomainKit. See how it works.

Contributing

Contributions are welcome — see CONTRIBUTING.md for local setup, package conventions, and how to propose a new integration. Maintainers use the Tegami release flow for package versions, changelogs, npm publication, tags, and GitHub Releases. GitHub Actions publishes; merging the Version Packages pull request is the human gate.

Security

To report a vulnerability, see SECURITY.md. Please do not file public issues for security reports.

License

MIT © Arya Labs, Inc.

About

Packages, examples, and cookbooks for integrating Samva into real applications.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages