timhengc/mai-shen-zai-ci
麦门封神榜|你在麦门算老几?领取你的麦门专属身份
Older snapshot: check the original source for current information.
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
麦当劳程序员创意开发大赛独立参赛作品,非麦当劳官方产品。基于 麦当劳中国 MCP,年报与名片用代码生成,并附带18张已生成的男女等级角色图;日常使用无需调用模型生图。 项目只做身份视觉创作,不提供餐饮决策或交易功能。版式、汉堡插画、纹章为代码绘制,人物使用已打包的男女等级图,不表示官方餐品图片或会员等级。人物衣服保留小巧的金黄色麦当劳双拱门 M 胸标;后续模型头像沿用简约粗黑线红黄涂鸦风,不做 OK 手势。 半身版、红黄配色、粗黑线涂鸦风;每个等级男女各一张,不区分门派,衣服保留小号金色麦当劳 M 胸标。低阶朴素,高阶逐步增加发饰、飘带和光轮。 全部素材:男性9级图鉴 · 女性9级图鉴。每套含独立 PNG、按等级索引的 manifest.json 和完整生成提示词。 年报、名片、头像默认根据同一身份的 level 与 gender 自动选择同一张人物图,无需手动指定。--portrait-image 可统一替换为用户指定的人物图。头像直接复制原图,不添加文字、边框或装饰。预置素材已经生成并随项目提供,使用这些图片无需实时生图。原始参考截图、失败草稿、私人名片、预览和 ZIP 打包产物不纳入仓库。 统一实现:identity.py,可调整的预设:identityrules.json。年报、名片、头像绝不分别猜测称号;all 一次查询,共享同一个快照和规则版本。 阅历 = 完成订单数 × 2 + min(有记录月份,12) + min(餐品种类,12)。同一天多笔完成订单分别计入,订单贡献不封顶;月份与餐品种类各最多加12分。只使用已完成、去重后的已知数据;金额、性别不参与等级。该分数是虚构世界观的生成规则,不是现实评价,也不提供升级消费建议。 扫地僧覆盖12—49分;已移除“入室弟子”。例如9笔订单、6个有记录月份、15种餐品得 9×2+6+12=36 分,属于扫地僧。活跃天数仍作为年报展示统计,但不再参与身份评分。达到160分即为最高等级“麦门真神”,男女同名;阅历仍按实际订单累计。 餐品关键词确定门派:薯山剑派、金堡门、麦咖书院、气泡宗、甜心谷、脆羽山庄;未知明细归逍遥门。一个餐品只分配一次,份数同分按预设顺序,口味不作为性别或现实性格的推断。 官方接口只提供近期订单,不保证全年完整。 年份只是本地筛选条件;身份和报告明确写“本次可见订单”。金额或餐品明细缺失时不编造数据,真实模式失败也不回退成示例。 项目入口见 SKILL.md。 性别仅用于称谓与角色预设,不影响分数、等级、门派,不推断真实长相。 Python 3.9+;PNG 导出额外需要 Node.js 20+: 在 MCP 开放平台 申请 Token,可发到 Agent 对话框供本次使用,也可以写入已被 Git 忽略的 .env: 支持 --year(默认当前年)、--output(自定义目录)、--mock-data(自定义演示 JSON)。CLI 不访问远程生图服务,也不嵌入任何模型密钥。 年报和名片默认优先使用接口明确返回的本人账号名;如果接口没有账号名,则不显示用户名。不会用账号 ID、手机号或配送联系人冒充用户名,也不会自动补“麦门同学”。用户可用 --nickname 明确指定显示名。 输出例如 annual-reportexample.html/.png、identity-cardexample.html/.png。--env-file 严格隔离账号,不会在指定文件无效时读取其他凭证。省略 --nickname-fallback 时,未知账号名保持隐藏。 先提供 官方平台与接入文档、入口二维码及下方教程。打开官网,按当前页面提示完成登录,进入控制台激活、同意协议后复制 MCP Token。…
Read the full README ↗ · Preview checked 2026-11-01T06:40:31.434Z
Inside the original README — Document outline
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
麦门封神榜|你在麦门算老几?领取你的麦门专属身份
Repository facts
- Owner
- timhengc
- Primary language
- Python
- Stars
- 482
- Forks
- 49
- Open issues + pull requests
- 0
- License
- Not reported — inspect the license file
- Archived
- No
- Default branch
- main
- Created
- 2026-10-19T06:49:32.000Z
- Last push
- 2026-10-19T12:44:54.000Z
Topics and intended use
No topics were included in the latest source metadata.
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-10-26T12:14:13.276Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.
Related repositories
EbookFoundation/free-programming-books
donnemartin/system-design-primer