Source: https://seerepo.com/r/hieunc229/mailflare/built
Markdown source: https://seerepo.com/r/hieunc229/mailflare/built.md
Description: mailflare is a TypeScript repo built with Next.js and React. It stores its data in SQLite and reaches it with Drizzle.

# What is mailflare built with?

mailflare is a TypeScript repo built with Next.js and React. It stores its data in SQLite, reaches it with Drizzle, signs people in with simplewebauthn, bcryptjs, and mailauth, uses AI through ai, workers-ai-provider, Anthropic, and 1 more, makes its content with postal-mime, parse-srcset, qrcode, and 5 more, validates its data with Zod, is tested with jsdom and @playwright/test, and uses MySQL, PlanetScale, Postgres, and 1 more. It has 132,850 written lines, with 166 test files.

Read on November 20, 2026, at commit cec33ee.

Repository: https://github.com/hieunc229/mailflare

## Frontend

### The base

- **[Next.js](https://seerepo.com/uses/nextjs)**: 279 files · [in package.json](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/package.json)
- **[React](https://seerepo.com/uses/react)**: 234 files · [in package.json](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/package.json)

### Styles

- **[Tailwind CSS](https://seerepo.com/uses/tailwind-css)**
- **[class-variance-authority](https://seerepo.com/uses/class-variance-authority)**: 2 files
- **[tailwind-merge](https://seerepo.com/uses/tailwind-merge)**: 1 file

### Interface

- **[Radix UI](https://seerepo.com/uses/radix-ui)**: 20 files
- **[react-hot-toast](https://seerepo.com/uses/react-hot-toast)**: 10 files

### Icons

- **[hugeicons](https://seerepo.com/uses/hugeicons)**: 1 file

## Backend

### Data

- **[SQLite](https://seerepo.com/uses/sqlite)**: 2 files · [server/runtime/sqlite-database.ts, line 1](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/server/runtime/sqlite-database.ts#L1)
- **[MySQL](https://seerepo.com/uses/mysql)**: 1 file · [src/db/drivers/mysql.ts, line 31](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/src/db/drivers/mysql.ts#L31)
- **PlanetScale**: 1 file · [src/db/drivers/mysql.ts, line 86](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/src/db/drivers/mysql.ts#L86)
- **[Postgres](https://seerepo.com/uses/postgres)**: 1 file · [src/db/drivers/postgres.ts, line 153](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/src/db/drivers/postgres.ts#L153)

### Data access

- **[Drizzle](https://seerepo.com/uses/drizzle)**: 242 files

### Sign-in

- **simplewebauthn**: 8 files
- **[bcryptjs](https://seerepo.com/uses/bcryptjs)**: 2 files
- **mailauth**: 1 file

### AI

- **[ai](https://seerepo.com/uses/ai)**: 4 files
- **workers-ai-provider**: 1 file

### Services

- **[MCP](https://seerepo.com/uses/mcp)**: 2 files · [src/lib/mcp/admin-tools.ts, line 1](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/src/lib/mcp/admin-tools.ts#L1)
- **[Anthropic](https://seerepo.com/uses/anthropic)**: 1 file · [src/lib/agent/model.ts, line 1](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/src/lib/agent/model.ts#L1)
- **[OpenAI](https://seerepo.com/uses/openai)**: 1 file · [src/lib/agent/model.ts, line 2](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/src/lib/agent/model.ts#L2)

## Support

### Content

- **[postal-mime](https://seerepo.com/uses/postal-mime)**: 3 files
- **parse-srcset**: 2 files
- **[qrcode](https://seerepo.com/uses/qrcode)**: 2 files
- **[dompurify](https://seerepo.com/uses/dompurify)**: 1 file
- **[nodemailer](https://seerepo.com/uses/nodemailer)**: 1 file
- **[parse5](https://seerepo.com/uses/parse5)**: 1 file
- **[react-markdown](https://seerepo.com/uses/react-markdown)**: 1 file
- **[remark-gfm](https://seerepo.com/uses/remark-gfm)**: 1 file

### Validation

- **[Zod](https://seerepo.com/uses/zod)**: 37 files

### Testing

- **jsdom**: 22 files
- **@playwright/test**: 2 files

### Tools

- **esbuild**: 139 files
- **css-tree**: 2 files
- **drizzle-kit**: 2 files
- **vinext**: 1 file

### Other

- **clsx**: 26 files
- **[TanStack](https://seerepo.com/uses/tanstack)**: 15 files
- **nanoid**: 2 files
- **ws**: 2 files
- **smtp-server**: 1 file

## Other repos with a similar stack

- [Significant-Gravitas/AutoGPT](https://seerepo.com/r/Significant-Gravitas/AutoGPT/built): Next.js, React, Postgres, Anthropic, OpenAI, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, hugeicons, bcryptjs, ai, react-markdown, remark-gfm, Zod · [Compare](https://seerepo.com/compare/hieunc229/mailflare/vs/Significant-Gravitas/AutoGPT)
- [paperclipai/paperclip](https://seerepo.com/r/paperclipai/paperclip/built): React, Postgres, MCP, Anthropic, OpenAI, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, Drizzle, ai, dompurify, react-markdown, remark-gfm, Zod · [Compare](https://seerepo.com/compare/hieunc229/mailflare/vs/paperclipai/paperclip)
- [CherryHQ/cherry-studio](https://seerepo.com/r/CherryHQ/cherry-studio/built): React, SQLite, MCP, Anthropic, OpenAI, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, Drizzle, ai, qrcode, dompurify, remark-gfm, Zod · [Compare](https://seerepo.com/compare/CherryHQ/cherry-studio/vs/hieunc229/mailflare)
- [infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow/built): React, MySQL, Postgres, MCP, OpenAI, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, qrcode, dompurify, react-markdown, remark-gfm, Zod · [Compare](https://seerepo.com/compare/hieunc229/mailflare/vs/infiniflow/ragflow)
- [cheaper-inference/OmniRoute](https://seerepo.com/r/cheaper-inference/OmniRoute/built): Next.js, React, SQLite, MCP, Tailwind CSS, tailwind-merge, Radix UI, bcryptjs, qrcode, dompurify, parse5, react-markdown, remark-gfm, Zod · [Compare](https://seerepo.com/compare/cheaper-inference/OmniRoute/vs/hieunc229/mailflare)
- [cline/cline](https://seerepo.com/r/cline/cline/built): React, SQLite, MCP, Anthropic, OpenAI, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, ai, dompurify, react-markdown, remark-gfm, Zod · [Compare](https://seerepo.com/compare/cline/cline/vs/hieunc229/mailflare)

## Frequently asked questions

### What language is mailflare written in?

mailflare is written in TypeScript, with 132,850 written lines.

### What framework does mailflare use?

mailflare is built with Next.js and React.

The proof: [in package.json](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/package.json)

### What database does mailflare use?

mailflare stores its data in SQLite and reaches it with Drizzle.

The proof: [server/runtime/sqlite-database.ts, line 1](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/server/runtime/sqlite-database.ts#L1)

### What does mailflare sign people in with?

mailflare signs people in with simplewebauthn, bcryptjs, and mailauth.

### Does mailflare use AI?

Yes. mailflare uses AI through ai, workers-ai-provider, Anthropic, and OpenAI.

### What services does mailflare use?

mailflare uses MySQL, PlanetScale, Postgres, and MCP.

The proof: [src/db/drivers/mysql.ts, line 31](https://github.com/hieunc229/mailflare/blob/cec33ee3867d4b8f7bd8281071812e313ecefb8f/src/db/drivers/mysql.ts#L31)

### Does mailflare have tests?

Yes. mailflare has 166 test files and is tested with jsdom and @playwright/test.

### Which repos have a stack like mailflare's?

The ones that share most of its stack: Significant-Gravitas/AutoGPT, paperclipai/paperclip, and CherryHQ/cherry-studio.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
