Files
GiteaMailTemplates/docs/README.ja.md
T
KenanZhuandClaude 0ad7db124a refactor(preview): remove juice/Node.js, simplify to pure Go dev server with SSE
- Delete tools/server/ (Node.js, juice, inliner.mjs, server.mjs, node_modules)
- Create tools/preview/server.go — pure Go dev server with SSE + file polling
- Rewrite tools/cli/dev.go — start Go server in-process, no Node.js required
- Simplify preview/index.html — View dropdown (Modern/Source), remove Client
  Simulation panel, remove Gmail/Outlook logic, WebSocket → SSE
- Update all 14 documentation files (README, CONTRIBUTING, AGENTS + translations)
  to reflect pure Go dev server and simplified preview

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-23 09:48:04 +08:00

2.4 KiB

Gitea メールテンプレート

Gitea のためのメールテンプレートコレクション。

110 ファイル — 10 スタイル、各11種類


スタイルギャラリー

プレビュー スタイル 対象 特徴
Horizon Horizon エンタープライズ Blue accent, slate, centred cards
Terminal Terminal 開発者 Dark mode, monospace, green CLI
Ember Ember コミュニティ Warm amber, rounded, inclusive
Bloom Bloom クリエイティブ Frosted glass, soft blue light
Heritage Heritage 教育/研究 Navy and gold, serif, classic
Neon Neon ゲーム/Web3 Cyberpunk neon, pink and cyan
Mono Mono デザイン/編集 Swiss brutalist, black-white-red
Terra Terra サステナビリティ Warm earth tones, organic textures
Ink Ink 出版/ニュース Editorial print, navy and gold
Aurora Aurora プレミアムSaaS Ethereal gradients, purple and teal

画像はライブプレビューからの600px幅のスクリーンショットです。キャプチャ手順は images/README.md を参照してください。

ライブプレビュー


インストール

cp -r themes/horizon/mail/* /var/lib/gitea/custom/templates/mail/
systemctl restart gitea

動作確認

管理画面のテストメールはカスタムテンプレートを使用しません。テンプレートが 有効であることを確認するには、実際のメール通知をトリガーしてください。最も 簡単な方法はパスワードリセットです:ログアウトし、ログインページで "Forgot password" をクリックし、リセットメールを確認してください。

プレビュー

静的モード:

cd tools && go run . preview all

その後 preview/index.html を開く。

開発サーバー(ライブリロード):

cd tools && go run . dev 
# → http://localhost:3456

互換性

  • Gitea 1.25+, 100%互換, 組み込み関数のみ

ライセンス

MIT — LICENSE.