{"repo":"luyou666/weiwuweixin","free":true,"listed":false,"github":"https://github.com/luyou666/weiwuweixin","clone":"git clone https://github.com/luyou666/weiwuweixin.git","description":"围物为心 - 算法赋能主观个人榜单,分享你的主观| Rank anything. Share your taste.","language":"TypeScript","stars":24,"topics":["community","fastify","nextjs","prisma","ranking","typescript","ranking-platform"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"围物为心 (WeiWuWeiXin) 把心中的排序具象化、算法化，被社区以\"置信度\"形式温柔共识化的主观评分社区产品。 核心精神 - 主观优先 ：保护作者个人偏好，永不将算法输出称为\"客观分\"或\"权威分\" - 可解释 ：每个分数必须能回答\"为什么\" - 置信度 ≠ 优劣 ：UI 必须反复暗示\"这是共识度\" 架构概览 详见下方「目录结构」段落。 技术栈 层级 技术 ------ ------ 前端 Next.js 14, TypeScript, Tailwind CSS, Framer Motion, Zustand, TanStack Query, next-intl, KaTeX, satori 后端 Fastify, Prisma, PostgreSQL 15, Redis 7, MinIO 算法 packages/scoring — 5种评分算法 + 置信度引擎 + 反刷分检测 导出 satori + @resvg/resvg-js — 6套模板纯客户端PNG导出 国际化 next-intl — /zh/ /en/ 双语路由 质量 ESLint, Prettier, Husky, Vitest (171 tests), Playwright E2E, TypeScript strict 快速开始 方式一：一键安装（推荐，无需 Docker） Windows 下载仓库后，双击运行即可： 脚本将自动完成： 1. 环境检查（Node.js / pnpm / Git） 2. 服务协议确认 3. 环境变量配置（自动生成 JWT SECRET） 4. 依赖安装 + 数据库初始化 5. （可选）演示数据播种 也可以先用 创建桌面快捷方式.bat 在桌面放置一个安装入口。 安装完成后，运行 start.bat 即可启动。 Linux / macOS 启动 → 前端 http://localhost:3000/zh/ (中文) /en/ (英文) → 后端 http://localhost:4000 --- 方式二：手动安装（需要 Docker） 前置条件 - Node.js ≥ 18.17 - pnpm ≥ 8.0 - Docker & Docker Compose (用于数据库) 安装与启动 测试 页面清单 (Routes) 路由 功能 状态 ------ ------ ------ /[locale] 首页 Feed（多样性×高置信度×新鲜度） ✅ /[locale]/explore 发现 — 分类浏览 + 话题聚合 + 全站搜索 ✅ /[locale]/list/new 榜单创建器 Ranker Studio (4步) ✅ /[locale]/list/[id] 榜单详情（排名+置信度+评论+社区分数） ✅ /[locale]/list/[id]/score 他人打分（沉浸式，3步流程） ✅ /[locale]/u/[handle] 个人主页（榜单+徽章+同好） ✅ /[locale]/about 产品故事 + 算法说明 ✅ /[locale]/settings 账户设置 ✅ /list/[id]/export PNG分享卡导出（6套模板） ✅ 算法库 评分算法 (5种) 算法 ID 场景 ------ ----- ------ 加权平均 weighted-mean 默认，无短板惩罚 几何平均 geometric-mean 惩罚短板，任一维度差则大幅下降 Borda排位分 borda-count 比排名而非绝对分，消除评分尺度差异 TOPSIS理想解","default_branch":null,"files":null,"tree":[],"storefront":"/r/luyou666","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/luyou666/weiwuweixin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}