GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 24373054/OpenImmortal: Immortal Ledger --The Last Era of a Civilization Recorded on the Blockchain

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
components
components
 
 
lib
lib
 
 
messages
messages
 
 
数据
数据
 
 
.gitignore
.gitignore
 
 
DEPLOYMENT.md
DEPLOYMENT.md
 
 
PROJECT_SUMMARY.md
PROJECT_SUMMARY.md
 
 
QUICKSTART.md
QUICKSTART.md
 
 
README.md
README.md
 
 
UPGRADE_SUMMARY.md
UPGRADE_SUMMARY.md
 
 
i18n.ts
i18n.ts
 
 
middleware.ts
middleware.ts
 
 
next.config.js
next.config.js
 
 
nginx.conf
nginx.conf
 
 
out.sql
out.sql
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 
prompt1.txt
prompt1.txt
 
 
start-all.sh
start-all.sh
 
 
stop-all.sh
stop-all.sh
 
 
tailwind.config.js
tailwind.config.js
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

瀛州纪开发者社区

一个专为瀛州纪游戏打造的开发者社区平台,支持邮箱验证登录、等候名单收集、开发进度展示等功能。

功能特性

  • ✉️ 邮箱验证登录 - 使用验证码进行安全登录
  • 📝 等候名单 - 收集用户信息,为游戏发布做准备
  • 📢 开发公告 - 发布游戏开发进度和重要通知
  • 📊 进度展示 - 可视化展示项目开发进度
  • 🌓 主题切换 - 支持浅色/深色模式,可跟随系统
  • 🌍 多语言 - 支持中文/英文切换
  • 🎨 现代设计 - 清冷色调、低对比度、玻璃态效果

技术栈

  • 框架: Next.js 14 (App Router)
  • 语言: TypeScript
  • 样式: Tailwind CSS
  • 国际化: next-intl
  • 邮件: Nodemailer
  • 图标: Lucide React

快速开始

安装依赖

npm install

开发模式

npm run dev

访问 http://localhost:3107

生产部署

# 构建
npm run build

# 启动
npm start

使用脚本

# 启动所有服务
./start-all.sh

# 停止所有服务
./stop-all.sh

配置

邮件配置

邮件配置在 lib/email.ts 中:

const EMAIL_CONFIG = {
  service: 'qq',
  auth: {
    user: '[email protected]',
    pass: 'gkvoxbeffnxmeaaa'
  }
};

端口配置

  • 开发端口: 3107
  • 生产端口: 3107

域名配置

  • 域名: open.matrixlab.work
  • SSL证书: Let's Encrypt

Nginx配置

将 nginx.conf 复制到 Nginx配置目录:

sudo cp nginx.conf /etc/nginx/sites-available/open.matrixlab.work
sudo ln -s /etc/nginx/sites-available/open.matrixlab.work /etc/nginx/sites-enabled/
sudo nginx -t
sudo systemctl reload nginx

SSL证书

使用 Certbot 获取 Let's Encrypt 证书:

sudo certbot certonly --nginx -d open.matrixlab.work

证书会自动续期。

数据存储

用户数据存储在 /home/ubuntu/yz/Web3/订阅与开发者社区1.0/数据 目录:

  • waiting-list.json - 等候名单数据

项目结构

订阅与开发者社区1.0/
├── app/                    # Next.js App Router
│   ├── api/               # API路由
│   ├── login/             # 登录页面
│   ├── announcements/     # 公告页面
│   ├── progress/          # 进度页面
│   ├── waiting-list/      # 等候名单页面
│   └── page.tsx           # 首页
├── components/            # React组件
├── lib/                   # 工具函数
├── messages/              # 国际化文件
├── 数据/                  # 数据存储
├── logs/                  # 日志文件
├── start-all.sh          # 启动脚本
├── stop-all.sh           # 停止脚本
└── nginx.conf            # Nginx配置

开发指南

添加新页面

  1. 在 app/ 目录下创建新文件夹
  2. 添加 page.tsx 文件
  3. 在 messages/ 中添加翻译
  4. 在 Header.tsx 中添加导航链接

修改样式

全局样式在 app/globals.css,使用 Tailwind CSS 进行样式定制。

API开发

在 app/api/ 目录下创建新的路由文件,使用 Next.js Route Handlers。

注意事项

  • 端口 3107 和 3108 已预留,不要使用其他端口
  • 不要干扰服务器上的其他程序
  • 定期备份 数据/ 目录
  • 查看日志文件排查问题

许可证

MIT License

联系方式

  • 项目: 瀛州纪
  • 团队: 刻熵团队

About

Immortal Ledger --The Last Era of a Civilization Recorded on the Blockchain

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.