No description
- TypeScript 95.6%
- Shell 2.7%
- CSS 0.9%
- JavaScript 0.4%
- Dockerfile 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| public | ||
| scripts | ||
| src | ||
| tests | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| bun.lock | ||
| bunfig.toml | ||
| Dockerfile | ||
| next-env.d.ts | ||
| next.config.js | ||
| package.json | ||
| playwright.config.ts | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
Hanasand Mail
Standalone webmail client for Hanasand. Mailbox data and actions stay in the Hanasand API; the client forwards the signed-in Hanasand session to that API.
Development
bun install
bun run dev
The app uses the shared Hanasand id, access_token, and theme cookies. To sign in, it hands unauthenticated visitors to https://hanasand.com/dashboard/mail, which returns here after Hanasand login.
Deploy
Push main to the mail repository, fast-forward the server checkout, then run scripts/deploy.sh there. This deploys only the web app and switches the mail hostname's OpenResty web route after the new app passes its health check.
The Stalwart server and SMTP relay have their own Stalwart repository and Compose deployment.