{"id":50715150,"url":"https://github.com/eztakesin/duolingo-mitm-lab","last_synced_at":"2026-06-09T18:32:07.820Z","repository":{"id":332096411,"uuid":"1132608488","full_name":"eztakesin/duolingo-mitm-lab","owner":"eztakesin","description":"MitM scripts for experimenting with Duolingo API behavior in Stash. For educational purposes only.","archived":false,"fork":false,"pushed_at":"2026-01-12T11:58:57.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-30T22:27:46.355Z","etag":null,"topics":["android","clash","clash-meta","duolingo","http","https","mitm","proxy","response","rewrite","script","stash"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eztakesin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-12T07:48:30.000Z","updated_at":"2026-05-13T14:14:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/eztakesin/duolingo-mitm-lab","commit_stats":null,"previous_names":["eztakesin/duolingo-mitm-lab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eztakesin/duolingo-mitm-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eztakesin%2Fduolingo-mitm-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eztakesin%2Fduolingo-mitm-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eztakesin%2Fduolingo-mitm-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eztakesin%2Fduolingo-mitm-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eztakesin","download_url":"https://codeload.github.com/eztakesin/duolingo-mitm-lab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eztakesin%2Fduolingo-mitm-lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34121021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","clash","clash-meta","duolingo","http","https","mitm","proxy","response","rewrite","script","stash"],"created_at":"2026-06-09T18:32:07.763Z","updated_at":"2026-06-09T18:32:07.813Z","avatar_url":"https://github.com/eztakesin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Duolingo MitM Lab\n\nMitM / response-body scripts for Stash, used to experiment with Duolingo API responses  \n(e.g. unlimited hearts, experimental subscription flags).\n\n\u003e **For educational and research purposes only.**\n\u003e\n\u003e - This project is intended to help understand how HTTP/HTTPS, MitM, and app‑backend interactions work.\n\u003e - Do **not** use these scripts to gain any unfair advantage, bypass legitimate purchases, or violate Duolingo's Terms of Service.\n\u003e - The author and contributors are **not responsible** for any misuse or consequences arising from using this code.\n\n---\n\n使用 Stash 对 Duolingo 接口返回进行修改的 MitM / Response-Body 实验脚本（例如：无限红心、订阅状态标记等）。\n\n\u003e **仅用于学习与教育目的：**\n\u003e\n\u003e - 仅用于学习 HTTP/HTTPS、代理中间人技术以及客户端与服务端交互原理。\n\u003e - 请勿用于获取不正当利益、绕过正规付费渠道，或违反 Duolingo 的服务条款。\n\u003e - 代码使用风险自负，作者与贡献者不对任何滥用或由此产生的后果负责。\n\n---\n\n## 功能概览 (Features)\n\n当前仓库包含一个主要脚本：\n\n- `duolingo_unlimited_hearts_max.js`\n  - 对 Duolingo 用户数据接口（`/YYYY-MM-DD/users/...`）进行响应体修改：\n    - 无限红心：`health.unlimitedHeartsAvailable = true`\n    - Max / Gold 订阅标记：\n      - `hasPlus = true`\n      - `trackingProperties.has_item_gold_subscription = true`\n      - 向 `shopItems` 中合并 `gold_subscription` 条目（不删除原有条目）\n\n该脚本设计用于 **Stash 的 `script-providers` + `response-body`** 模式。\n\n---\n\n## 目录结构 (Suggested Structure)\n\n```text\n.\n├─ duolingo_unlimited_hearts_max.js   # 主脚本：无限红心 + Max\n├─ config.yaml                        # MitM Config example \n├─ README.md                          # 使用说明（本文件）\n└─ DISCLAIMER.md\n```\n\n---\n\n## Additional Disclaimer 额外声明\n\nThis repository and its contents are provided **for educational and research purposes only**.\n\n- Do not use any script here to circumvent payments, licensing, or technical protection measures.\n- Do not use these scripts in violation of Duolingo's Terms of Service or any applicable laws.\n- By using any part of this repository, you agree that **you are solely responsible** for your actions and any consequences.\n\n本仓库仅面向对网络协议与客户端行为研究感兴趣的使用者。  \n请在合法合规的前提下，自行决定是否使用本仓库的任何内容。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feztakesin%2Fduolingo-mitm-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feztakesin%2Fduolingo-mitm-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feztakesin%2Fduolingo-mitm-lab/lists"}