静态构建:npm run build 将数据嵌入 src/template.html 并输出 dist/,可托管在任意位置
egc-dashboard-template — HTML 后台模板
作者 sliteteam
Slite 公开的 EGC 仪表盘模板,用静态页面展示团队社交发帖排行榜、触达、热门帖子和发帖活跃度,数据由符合 schema 的 JSON 驱动。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
数据契约明确:data.schema.json 定义公开数据契约,data.example.json 提供示例数据
支持多种数据来源:MagicPost、Shield、Taplio、表格导出、数仓查询或手工 JSON
可选定时刷新:实现 scripts/fetch-data.mjs 后,由 GitHub Actions 工作流按计划重建、校验、提交并部署
面向 agent 重建:AGENTS.md 说明如何让编码 agent 仅生成符合 schema 的 data.json
模板详细介绍
这是一个用于构建 Employee Generated Content(员工生成内容)排行榜的静态模板,也是 Slite EGC 仪表盘的公开版本。页面围绕团队触达、热门帖子、竞赛动画、趋势以及每位发帖人的活跃度来组织展示。
使用方式上,模板通过 npm 安装依赖并运行构建,默认读取 data.example.json;要接入自己的数据,可复制为 data.json 后编辑,或让 agent 从来源系统生成,再重新构建。构建产物是静态的 dist/ 目录,可托管在任意位置。README 还提供了 Cloudflare Pages 的部署命令。
数据方面,模板期望按人员和周期聚合的指标,包括帖子数、曝光/触达、点赞、评论、转发、带公开链接和时间戳的热门帖子、可选的 activity_posts(用于更准确的活跃度热力图)以及粉丝数。数据可来自 MagicPost、Shield、Taplio、表格导出、数仓查询或手工 JSON,只要符合 data.schema.json 即可。仓库还包含可选的定时刷新路径:实现 scripts/fetch-data.mjs 输出符合 schema 的 JSON,再由 GitHub Actions 工作流按计划重建、校验、提交并部署。README 也给出了让 agent 重建仪表盘的提示词示例。
隐私方面,README 明确提醒不要提交令牌、私密帖子分析、客户数据、邮箱、内部 ID 或不想公开的原始员工导出;公开演示应使用匿名化数据或已公开帖子的数据。README 未说明具体前端框架版本、性能表现或生产环境适用性。
适合你的项目吗?
适用场景
- 团队希望把成员在社交平台上的发帖表现做成可视化排行榜
- 需要按周期查看团队触达、热门帖子和每位发帖人的活跃度
- 已有社交分析导出或数仓查询结果,想快速生成静态仪表盘页面
- 想用 GitHub Actions 按计划自动刷新并部署仪表盘
适合人群
- 希望以静态页面展示 EGC 排行榜的团队
- 能提供符合 data.schema.json 的聚合数据的使用者
- 愿意用 agent 或脚本从来源系统生成 data.json 的开发者
- 需要将构建产物部署到 Cloudflare Pages 或任意静态托管环境的项目
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
运行 npm install 安装依赖,再执行 npm run build 构建,然后打开 dist/index.html
- 2
默认使用 data.example.json;接入自有数据时复制为 data.json 并编辑,或让 agent 从来源系统生成
- 3
如需自动更新,复制 scripts/fetch-data.example.mjs 为 scripts/fetch-data.mjs 并实现输出符合 schema 的 JSON,再使用 .github/workflows/refresh-dashboard.yml
- 4
部署到 Cloudflare Pages 可执行 npx wrangler pages deploy dist --project-name egc-dashboard
- 5
不要提交令牌、私密帖子分析、客户数据、邮箱、内部 ID 或不想公开的原始员工导出
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
- 自动更新为可选路径:需自行实现 scripts/fetch-data.mjs 输出符合 schema 的 JSON,并依赖 GitHub Actions 工作流按计划重建、校验、提交和部署。
- 数据来源可选用 MagicPost、Shield、Taplio 等第三方服务或表格/数仓导出,这些外部服务可能需要各自的账号或费用,模板本身不提供。
- 部署到 Cloudflare Pages 需使用 wrangler 命令并指定项目名,属于外部托管服务,可能涉及账号与费用。
- 不得提交令牌、私密帖子分析、客户数据、邮箱、内部 ID 或不想公开的原始员工导出;公开演示应使用匿名化数据或已公开帖子的数据。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
The repo includes an optional scheduled refresh path. Add
README 原文
You can feed it from MagicPost, Shield, Taplio, a spreadsheet export, a warehouse
README 原文
npx wrangler pages deploy dist --project-name egc-dashboard
README 原文
https://github.com/sliteteam/egc-dashboard-template/blob/main/LICENSEhttps://github.com/sliteteam/egc-dashboard-template/blob/main/README.mdDo not commit tokens, private post analytics, private customer data, emails,
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-15。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 80 / 100
- 技术栈
- HTML
- 网站类型
- 后台
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-07-02
- 截图检查日期
- 2026-10-15
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 HTML。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: codex-user-requested-batch-review-20261017 · 2026-10-16
查看当时使用的来源资料
SHA-256: f53e02ce3aac510ecf5a1641eaf38f951f79db2d60857bc584bcd11fdb2440f8
2026-10-15T10:07:20.942Z
来源文件 / 仓库# EGC Dashboard Template A static, agent-friendly template for building an Employee Generated Content leaderboard: team reach, top posts, race animation, trends, and per-poster activity. This is the public version of the Slite EGC dashboard. ## Quick Start ```bash npm install npm run build open dist/index.html ``` By default the build uses `data.example.json`. To use your own data: ```bash cp data.example.json data.json # edit data.json or ask an agent to generate it from your source system npm run build ``` The dashboard is static. You can host `dist/` anywhere. ## Auto Update The repo includes an optional scheduled refresh path. Add `scripts/fetch-data.mjs` so it prints schema-valid dashboard JSON to stdout, then use `.github/workflows/refresh-dashboard.yml` to rebuild, validate, commit, and deploy the dashboard on a schedule. Start from: ```bash cp scripts/fetch-data.example.mjs scripts/fetch-data.mjs ``` More detail: [docs/auto-update.md](docs/auto-update.md). ## Recreate With An Agent Point your agent at this repository and say: ```txt Build an EGC dashboard for our team. Use AGENTS.md, inspect data.schema.json, create data.json from our LinkedIn or social analytics export, run npm run build, and deploy dist/ to Cloudflare Pages. ``` The agent should only need to produce a `data.json` matching the schema. The visual system and build step are already here. ## Data Sources The included dashboard expects aggregated metrics by person and period: - posts - impressions / reach - likes, comments, reposts - top posts with public URLs and timestamps - optional all-post `activity_posts` for accurate activity heatmaps - follower counts You can feed it from MagicPost, Shield, Taplio, a spreadsheet export, a warehouse query, or a hand-built JSON file. The source does not matter as long as `data.json` matches `data.schema.json`. ## Deploy To Cloudflare Pages ```bash npm run build npx wrangler pages deploy dist --project-name egc-dashboard ``` More detail: [docs/deploy-cloudflare-pages.md](docs/deploy-cloudflare-pages.md). ## Files - `AGENTS.md` tells coding agents how to recreate the dashboard. - `.github/workflows/refresh-dashboard.yml` is an optional scheduled refresh loop. - `data.schema.json` is the public data contract. - `data.example.json` is fake sample data. - `scripts/fetch-data.example.mjs` shows the refresh-script contract. - `src/template.html` is the visual dashboard. - `scripts/build.mjs` embeds data into the template and writes `dist/`. - `public/photos/` contains sample avatars copied into `dist/photos/`. ## Privacy Do not commit tokens, private post analytics, private customer data, emails, internal IDs, or raw employee exports you do not want public. For a public demo, use anonymized data or data from posts that are already public. ## Built By Slite Built by [Slite](https://slite.com) as a forkable template for teams that want to turn social posting into a visible, playful team ritual.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

AdminLTE
基于 HTML、Bootstrap 5 和原生 JavaScript 的管理后台模板。Astro 用于构建文档;React、Vue 与 Angular 版本分别位于其他仓库。
HTML · 后台

gentelella
Free admin dashboard template — vanilla JS, SCSS, Vite 8. No Bootstrap, no jQuery.
HTML · 后台

coreui-free-bootstrap-admin-template
Free Bootstrap Admin & Dashboard Template Built for AI-Assisted Development
HTML · 后台

dashboards
Responsive dashboard templates 📊✨
HTML · 后台

SB Admin 2
SB Admin 2 是 Start Bootstrap 推出的开源后台模板,基于 Bootstrap 构建,整体风格偏向经典管理界面。
HTML · 后台

Adminator-admin-dashboard
Adminator is easy to use and well design admin dashboard template with dark mode for web apps, websites, servi…
HTML · 后台
