Skip to content

a-cold-bird/SHIRO_link

Repository files navigation

站点分享平台 | Sites Collection

一个现代化的站点分享/导航平台,支持社区贡献,实时健康监测,双语展示。

欢迎通过 PRIssue 分享你的有趣站点!

✨ 特性

  • 社区驱动: 支持通过 PR/Issue 提交新站点
  • 实时监控: 自动检测站点可用性和响应时间
  • 双语支持: 中英文双语界面
  • 智能管理: 收藏、排序、搜索功能
  • 现代设计: 毛玻璃效果、平滑动画、亮暗主题
  • 响应式布局: 完美适配桌面端和移动端

🚀 快速开始

环境要求

  • Node.js 16.9+
  • npm 或 Yarn 4.9.2

安装运行

# 克隆仓库
git clone https://github.com/a-cold-bird/SHIRO_link.git
cd SHIRO_link

# 安装依赖
npm install

# 启动开发服务器
npm run dev

访问 http://localhost:3000 查看站点。

🤝 如何贡献站点

方式一:通过 Pull Request(推荐)

  1. Fork 本仓库
  2. 编辑 public/config.yaml,在 otherSites 部分添加你的站点:
otherSites:
  - id: your-site-id  # 唯一ID,使用英文和数字
    name:
      zh: 你的站点名称(中文)
      en: Your Site Name (English)
    url: https://your-site.com
    description: 简短描述你的站点功能
    author: 你的名字
    authorUrl: https://github.com/yourusername  # 可选
  1. 提交 PR,等待审核合并

方式二:通过 Issue

如果不熟悉 Git 操作,可以直接创建 Issue,提供以下信息:

  • 站点名称(中英文)
  • 站点 URL
  • 站点描述
  • 你的名字和主页链接(可选)

📝 站点提交规范

为了保证站点质量,请确保:

✅ 站点可以正常访问 ✅ 内容健康、合法 ✅ 提供有价值的服务或内容 ✅ 中英文名称和描述准确 ✅ 遵守开源协议

❌ 不接受:违法违规内容、恶意站点、纯广告站点

🛠️ Tech Stack

  • Framework: Next.js 16.0.1 (with Turbopack)
  • UI Library: React 19.2.0
  • Styling:
    • Tailwind CSS 4.1.13
    • Fluent UI React Components 9.70.0
  • Icons:
    • Lucide React 0.544.0
    • Font Awesome 7.0.1
  • Language: TypeScript 5.9.2
  • Code Quality: Biome 2.2.4

📦 Scripts

npm run dev        # Start development server with hot-reload
npm run build      # Build for production
npm start          # Start production server
npm run lint       # Run linting checks
npm run lint-fix   # Auto-fix linting issues

🎨 Project Structure

├── public/
│   ├── config.yaml          # Main configuration file
│   └── images/              # Static images
├── scripts/
│   ├── generateConfig.js    # YAML to TypeScript converter
│   └── watch.js             # Config file watcher
├── src/
│   ├── app/                 # Next.js app directory
│   ├── components/          # React components
│   ├── i18n/                # Internationalization
│   └── utils/               # Utility functions
└── package.json

🌐 Deployment

This project supports static export:

npm run build
# Output will be in the .next folder

Deploy to platforms like Vercel, Netlify, or any static hosting service.

📊 当前收录站点

查看 config.yaml 了解所有已收录站点。

📄 开源协议

MIT License - 欢迎 Fork 和修改

👥 维护者

🙏 致谢

感谢所有贡献站点的朋友们!

本项目参考了 @Hoshino-Yumetsuki/homepage 的设计思路。

Built with ❤️ using Next.js and modern web technologies.

About

一个有趣/有用的工具站点收藏页

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published