chore: initial import 萌邮 MengPost (React+Vite + Go+Gin)

Made-with: Cursor
This commit is contained in:
2026-04-17 22:27:57 +08:00
commit 0c31a4b376
40 changed files with 4263 additions and 0 deletions

19
scripts/publish-gitea.sh Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
# 使用 Gitea tea CLI 创建远端仓库(需在已 git init 且已 commit 的项目根目录执行)
set -e
cd "$(dirname "$0")/.."
if ! command -v tea >/dev/null 2>&1; then
echo "未找到 tea请安装: https://gitea.com/gitea/tea/releases" >&2
exit 1
fi
DESC='萌邮 MengPost基于 SMTP/IMAP 的多邮箱管理面板React + Vite + Go + Gin + SQLite'
echo ">>> tea repos create --name mengpost ..."
tea repos create --name mengpost --description "$DESC"
echo ""
echo "请在 Gitea 网页打开新建的 mengpost 仓库,复制 HTTPS 克隆地址,然后执行:"
echo " git remote add origin <粘贴地址>"
echo " git branch -M main"
echo " git push -u origin main"