From c3926b14eb7eb3eae58a4df9a356c4a7599250c0 Mon Sep 17 00:00:00 2001 From: Abner <22141172+Silentely@users.noreply.github.com> Date: Sun, 17 May 2026 21:57:13 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E8=AF=AF=E5=AF=BC=E6=80=A7=E6=8F=8F=E8=BF=B0=EF=BC=8C=E6=98=8E?= =?UTF-8?q?=E7=A1=AE=E5=B7=A5=E5=85=B7=E4=BB=85=E6=94=AF=E6=8C=81=E5=B7=B2?= =?UTF-8?q?=E6=9C=89=E7=94=A8=E6=88=B7=20eSIM=20=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.md | 2 +- README.md | 16 +- README_EN.md | 16 +- docs/PROJECT_SUMMARY.md | 4 +- docs/SERVICE_TIME_CHECK.md | 4 +- docs/User_Guide.md | 6 +- docs/User_Guide_EN.md | 6 +- docs/fixes/SERVICE_TIME_CHECK.md | 20 +- docs/fixes/TOKEN_REFRESH_FIX.md | 18 +- docs/guides/CORS_SOLUTION.md | 14 +- docs/reference/README_giffgaff_esim.md | 12 +- docs/reference/README_giffgaff_esim_EN.md | 12 +- docs/reference/README_simyo_esim.md | 16 +- docs/reference/README_simyo_esim_EN.md | 16 +- index.html | 12 +- llms.txt | 2 +- .../edge-functions/markdown-negotiation.js | 2 +- src/giffgaff/giffgaff_complete_esim.html | 40 +- src/giffgaff/giffgaff_modular.html | 18 +- src/giffgaff/js/modules/ui-controller.js | 128 +++--- src/giffgaff/js/modules/utils.js | 2 +- src/js/modules/i18n-data.js | 82 ++-- src/simyo/MODULE_ARCHITECTURE.md | 4 +- src/simyo/js/modules/device-change-handler.js | 4 +- src/simyo/js/modules/ui-controller.js | 82 ++-- src/simyo/js/simyo-app.js | 8 +- src/simyo/simyo_complete_esim.html | 420 +++++++++--------- src/simyo/simyo_modular.html | 28 +- src/simyo/simyo_proxy_server.js | 12 +- tests/test_giffgaff_esim.html | 14 +- tests/test_simyo_esim.html | 12 +- 31 files changed, 518 insertions(+), 514 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index bad2dfd..ad9399b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -17,7 +17,7 @@ ## 项目愿景 -eSIM-Tools 是一个 JAMstack 架构的 Web 应用,为 Giffgaff 和 Simyo 用户提供 eSIM 申请、配置和管理的完整工具链。项目采用无框架原生 JavaScript + Serverless 后端,通过 Netlify 全球边缘网络部署。 +eSIM-Tools 是一个 JAMstack 架构的 Web 应用,为已有 Giffgaff 和 Simyo 号码的用户提供 eSIM 转换、设备更换和管理的完整工具链。项目采用无框架原生 JavaScript + Serverless 后端,通过 Netlify 全球边缘网络部署。 **生产环境**: https://esim.cosr.eu.org **仓库地址**: https://github.com/Silentely/eSIM-Tools diff --git a/README.md b/README.md index 80f1ef8..f058a3e 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ eSIM Tools - Giffgaff & Simyo eSIM 在线管理工具

-专为Giffgaff和Simyo用户设计的现代化eSIM管理工具集,支持完整的eSIM申请、激活和二维码生成流程。 +专为已有 Giffgaff 和 Simyo 号码的用户设计的现代化 eSIM 管理工具集,支持将物理 SIM 卡转换为 eSIM、设备更换和二维码生成。 [:us: English Version](README_EN.md) @@ -27,7 +27,7 @@ - **OAuth 2.0 PKCE认证** - 安全的身份验证流程 - **智能Cookie登录** - 支持免OAuth快速登录 - **MFA多因子验证** - 邮件/短信验证码支持 -- **短信验证码激活** - 全自动eSIM申请与激活(✅ 推荐) +- **短信验证码激活** - 全自动eSIM转换与激活(✅ 推荐) - **GraphQL API集成** - 完整的API调用链 - **LPA二维码生成** - 标准eSIM激活码 - ~~**手动激活引导**~~ - 已于2025年10月8日停用 @@ -63,13 +63,15 @@ - ✅ 性能优化,支持离线使用 - ✅ 定期更新维护 +> ⚠️ **适用范围说明**:本工具仅支持已有 Giffgaff 或 Simyo 号码的用户进行 eSIM 设备更换或物理 SIM 转 eSIM,不支持新用户直接申请号码。如需新开卡获取 eSIM,Giffgaff 用户可通过第三方修改版 APK/模块获取 eSIM 二维码后直接扫码激活,Simyo 用户请通过官方 APP 操作。 + ### 🎁 新用户优惠 - **Simyo用户**: 新开卡享受[额外5欧元话费赠送](https://vriendendeal.simyo.nl/prepaid/AZzwPzb) - **Giffgaff用户**: 新开卡享受[额外5英镑话费赠送](https://www.giffgaff.com/orders/affiliate/mowal44_1653194386268) ## 📋 使用指南 -### 🇬🇧 Giffgaff eSIM申请流程(推荐:短信验证码激活) +### 🇬🇧 Giffgaff eSIM 转换流程(推荐:短信验证码激活) 1. **身份验证** - OAuth登录或Cookie快速登录 2. **邮件/短信验证** - 输入收到的MFA验证码 3. **获取会员信息** - 自动获取账户信息 @@ -85,9 +87,9 @@ > > 📖 **详细教程**:查看 [Giffgaff使用教程](./docs/User_Guide.md) 获取图文及视频完整操作指南 -### 🇳🇱 Simyo eSIM申请流程 +### 🇳🇱 Simyo eSIM 设备更换流程 1. **账户登录** - 输入荷兰手机号(06开头)和密码 -2. **选择服务** - 新申请或设备更换 +2. **选择服务** - 设备更换或直接获取已有 eSIM 3. **验证码处理** - 短信或客服验证码验证 4. **获取配置** - 系统生成eSIM配置信息 5. **扫码安装** - 使用生成的二维码在新设备上安装 @@ -213,8 +215,8 @@ A: 可选择客服验证码选项,或检查短信拦截设置。 ## ⚠️ 重要说明 ### 适用范围 -- **Giffgaff**: 英国用户专用 -- **Simyo**: 荷兰用户专用(06开头手机号) +- **Giffgaff**: 英国已有号码用户,支持物理 SIM 转 eSIM 及设备更换。新用户需先通过官方或第三方方式获取号码和 eSIM 二维码。 +- **Simyo**: 荷兰已有号码用户(06开头手机号),支持设备更换。新用户需先通过官方渠道注册号码。 ### 安全与隐私 - ✅ 所有数据处理均在本地进行 diff --git a/README_EN.md b/README_EN.md index f560928..7921a4c 100644 --- a/README_EN.md +++ b/README_EN.md @@ -16,7 +16,7 @@ eSIM Tools - Giffgaff & Simyo eSIM Online Management

-A modern eSIM management toolkit for Giffgaff and Simyo users, supporting complete eSIM application, activation, and QR code generation workflows. +A modern eSIM management toolkit for existing Giffgaff and Simyo subscribers, supporting physical SIM to eSIM conversion, device changes, and QR code generation. [:cn: 中文版本](README.md) @@ -26,7 +26,7 @@ A modern eSIM management toolkit for Giffgaff and Simyo users, supporting comple - **OAuth 2.0 PKCE Authentication** - Secure authentication workflow - **Smart Cookie Login** - Fast login without OAuth - **MFA (Multi-Factor Authentication)** - Email/SMS verification code support -- **SMS Verification Activation** - Fully automated eSIM application and activation (✅ Recommended) +- **SMS Verification Activation** - Fully automated eSIM conversion and activation (✅ Recommended) - **GraphQL API Integration** - Complete API invocation chain - **LPA QR Code Generation** - Standard eSIM activation code - ~~**Manual Activation Guide**~~ - Discontinued on October 8, 2025 @@ -62,13 +62,15 @@ A modern eSIM management toolkit for Giffgaff and Simyo users, supporting comple - ✅ Performance-optimized with offline support - ✅ Regular updates and maintenance +> ⚠️ **Scope**: This tool is for existing Giffgaff or Simyo subscribers only. It supports eSIM device changes and physical SIM to eSIM conversion — not new number registration. To get a new eSIM, Giffgaff users can obtain the QR code via third-party modified APK/modules and scan it directly; Simyo users should use the official app. + ### 🎁 New User Offers - **Simyo users**: New SIM activation gets [extra €5 credit](https://vriendendeal.simyo.nl/prepaid/AZzwPzb) - **Giffgaff users**: New SIM activation gets [extra £5 credit](https://www.giffgaff.com/orders/affiliate/mowal44_1653194386268) ## 📋 User Guide -### 🇬🇧 Giffgaff eSIM Application Flow (Recommended: SMS Verification Activation) +### 🇬🇧 Giffgaff eSIM Conversion Flow (Recommended: SMS Verification Activation) 1. **Authentication** - OAuth login or Cookie quick login 2. **Email/SMS Verification** - Enter the received MFA code 3. **Get Member Info** - Automatically fetch account information @@ -84,9 +86,9 @@ A modern eSIM management toolkit for Giffgaff and Simyo users, supporting comple > > 📖 **Detailed Tutorial**: See [Giffgaff User Guide](./docs/User_Guide_EN.md) for complete text, image, and video instructions. -### 🇳🇱 Simyo eSIM Application Flow +### 🇳🇱 Simyo eSIM Device Change Flow 1. **Account Login** - Enter Dutch phone number (starting with 06) and password -2. **Select Service** - New application or device replacement +2. **Select Service** - Device change or retrieve existing eSIM 3. **Verification Code Handling** - Verify via SMS code or customer service code 4. **Get Configuration** - System generates eSIM configuration details 5. **Scan to Install** - Install on the new device using the generated QR code @@ -212,8 +214,8 @@ A: You can choose the customer service verification option, or check your SMS bl ## ⚠️ Important Notes ### Scope -- **Giffgaff**: For UK users only -- **Simyo**: For Netherlands users only (numbers starting with 06) +- **Giffgaff**: For existing UK subscribers — supports physical SIM to eSIM conversion and device changes. New users must obtain a number and eSIM QR code through official or third-party means first. +- **Simyo**: For existing Netherlands subscribers (06-prefixed numbers) — supports device changes. New users must register through official channels first. ### Security and Privacy - ✅ All data is processed locally diff --git a/docs/PROJECT_SUMMARY.md b/docs/PROJECT_SUMMARY.md index 1738475..1e6ef0b 100644 --- a/docs/PROJECT_SUMMARY.md +++ b/docs/PROJECT_SUMMARY.md @@ -2,7 +2,7 @@ ## 项目概述 -eSIM工具集是一个专为Giffgaff和Simyo用户设计的eSIM管理工具集,旨在简化eSIM的申请、配置和管理过程。该项目包含两个主要工具: +eSIM工具集是一个专为Giffgaff和Simyo用户设计的eSIM管理工具集,旨在简化已有用户的 eSIM 转换、配置和管理过程。该项目包含两个主要工具: 1. **Giffgaff eSIM工具** - 支持完整的OAuth认证、MFA验证和GraphQL API调用 2. **Simyo eSIM工具** - 提供简化的登录验证、设备更换和验证码处理功能 @@ -163,4 +163,4 @@ npm run deploy ## 免责声明 -此工具仅供学习和个人使用,请遵守相关服务条款。开发者不对因使用此工具造成的任何损失承担责任。 \ No newline at end of file +此工具仅供学习和个人使用,请遵守相关服务条款。开发者不对因使用此工具造成的任何损失承担责任。 diff --git a/docs/SERVICE_TIME_CHECK.md b/docs/SERVICE_TIME_CHECK.md index 81b2f69..8bec795 100644 --- a/docs/SERVICE_TIME_CHECK.md +++ b/docs/SERVICE_TIME_CHECK.md @@ -2,7 +2,7 @@ ## 功能描述 -为 Giffgaff eSIM 申请工具添加实时时间检查功能,根据英国时间动态显示 SIM 交换服务的可用状态。 +为 Giffgaff eSIM 工具添加实时时间检查功能,根据英国时间动态显示 SIM 交换服务的可用状态。 ## 架构设计 @@ -148,7 +148,7 @@ checkServiceTime() { ### 服务时间内(窗口内) - **样式**:绿色成功框 (`alert-success`) - **图标**:成功圆圈 (`fa-check-circle`) -- **消息**:提醒用户当前可以正常申请 eSIM +- **消息**:提醒用户当前可以正常操作 eSIM ## 测试场景 diff --git a/docs/User_Guide.md b/docs/User_Guide.md index 378dacf..a11aef8 100644 --- a/docs/User_Guide.md +++ b/docs/User_Guide.md @@ -28,7 +28,7 @@ OAuth方式需要获取回调URL,获取方式参考页面说明: ![获取回调URL说明](image/102.jpg) 1. 首先请在新标签页打开giffgaff官网的登录页面:'https://www.giffgaff.com' 进行登录 -2. 登录完成后返回eSIM更换页面,打开开发者工具:按 F12 或右键选择"检查"切换到"控制台"(Console)标签页 +2. 登录完成后返回eSIM更换页面,打开开发者工具:按 F12 或右键选择"检查"切换到"控制台"(Console)标签页 3. 点击下方"开始OAuth登录"按钮,新窗口打开后切换回eSIM更换页面 4. 在控制台中查找错误信息:Failed to launch 'giffgaff://auth/callback/...',复制该行中的回调URL @@ -54,9 +54,9 @@ OAuth方式需要获取回调URL,获取方式参考页面说明: ![获取会员信息](image/107.jpg) -点击"获取会员信息",跳转到第四步申请/激活eSIM: +点击"获取会员信息",跳转到第四步转换/激活eSIM: -![申请/激活eSIM](image/114.jpg) +![转换/激活eSIM](image/114.jpg) ## 5. 选择并激活eSIM diff --git a/docs/User_Guide_EN.md b/docs/User_Guide_EN.md index e7eb20b..128339b 100644 --- a/docs/User_Guide_EN.md +++ b/docs/User_Guide_EN.md @@ -51,9 +51,9 @@ After successful verification, you will be automatically redirected to the third ![Get Member Information](image/107.jpg) -Click "Get Member Information" to go to the fourth step of applying/activating eSIM: +Click "Get Member Information" to go to the fourth step of converting/activating eSIM: -![Apply/Activate eSIM](image/114.jpg) +![Convert/Activate eSIM](image/114.jpg) ## 5. Select and Activate eSIM @@ -66,4 +66,4 @@ After successful exchange, you will be redirected to the fifth step showing QR c ![eSIM Information](image/116.jpg) ![eSIM Information 1](image/117.jpg) -## 6. Use Native eSIM Phone to Complete Scanning \ No newline at end of file +## 6. Use Native eSIM Phone to Complete Scanning diff --git a/docs/fixes/SERVICE_TIME_CHECK.md b/docs/fixes/SERVICE_TIME_CHECK.md index 4978b2c..3560ea5 100644 --- a/docs/fixes/SERVICE_TIME_CHECK.md +++ b/docs/fixes/SERVICE_TIME_CHECK.md @@ -1,7 +1,7 @@ # Giffgaff服务时间检查功能 ## 功能描述 -为Giffgaff eSIM申请工具添加实时时间检查功能,根据当前时间动态显示服务状态提醒。 +为 Giffgaff eSIM 工具添加实时时间检查功能,根据当前时间动态显示服务状态提醒。 ## 实现细节 @@ -14,13 +14,13 @@ #### 服务时间外(窗口外) - **样式**:黄色警告框 (`alert-warning`) - **图标**:警告三角形 (`fa-exclamation-triangle`) -- **消息**:提醒用户不要在此时间段操作申请eSIM +- **消息**:提醒用户不要在此时间段操作 eSIM - **颜色**:橙色警告色 (`#f59e0b`) #### 服务时间内(其他时间段) - **样式**:绿色成功框 (`alert-success`) - **图标**:成功圆圈 (`fa-check-circle`) -- **消息**:提醒用户当前当前时间可以申请eSIM +- **消息**:提醒用户当前时间可以操作 eSIM - **颜色**:绿色成功色 (`#10b981`) ### 功能特性 @@ -60,22 +60,22 @@ function checkServiceTime() { const now = new Date(); const currentHour = now.getHours(); const currentMinute = now.getMinutes(); - const currentTime = now.getHours().toString().padStart(2, '0') + ':' + + const currentTime = now.getHours().toString().padStart(2, '0') + ':' + now.getMinutes().toString().padStart(2, '0'); - + // 更新当前时间显示 document.getElementById('currentTime').textContent = currentTime; - + // 服务窗口:英国时间 04:30–21:30 const parts = new Intl.DateTimeFormat('en-GB', { timeZone: 'Europe/London', hour: '2-digit', minute: '2-digit', hour12: false }).formatToParts(new Date()); const hour = Number(parts.find(p => p.type === 'hour')?.value || '0'); const minute = Number(parts.find(p => p.type === 'minute')?.value || '0'); const inWindow = (hour > 4 || (hour === 4 && minute >= 30)) && (hour < 21 || (hour === 21 && minute <= 30)); - + const alertElement = document.getElementById('serviceTimeAlert'); const iconElement = document.getElementById('serviceTimeIcon'); const messageElement = document.getElementById('serviceTimeMessage'); - + if (!inWindow) { // 在服务时间外,显示警告 alertElement.className = 'alert alert-warning mb-4'; @@ -97,7 +97,7 @@ function checkServiceTime() { document.addEventListener('DOMContentLoaded', function() { // 初始化服务时间检查 checkServiceTime(); - + // 每分钟更新一次时间 setInterval(checkServiceTime, 60000); }); @@ -106,7 +106,7 @@ document.addEventListener('DOMContentLoaded', function() { ## 用户体验 ### 优势 -1. **实时反馈**:用户立即知道当前是否当前时间可以申请eSIM +1. **实时反馈**:用户立即知道当前是否可以操作 eSIM 2. **清晰指示**:通过颜色和图标直观显示状态 3. **自动更新**:无需刷新页面,时间状态自动更新 4. **友好提醒**:明确告知服务时间和建议 diff --git a/docs/fixes/TOKEN_REFRESH_FIX.md b/docs/fixes/TOKEN_REFRESH_FIX.md index 4f605ff..d707a7f 100644 --- a/docs/fixes/TOKEN_REFRESH_FIX.md +++ b/docs/fixes/TOKEN_REFRESH_FIX.md @@ -2,7 +2,7 @@ ## 问题描述 -在使用Giffgaff eSIM申请流程时,用户通过Cookie登录成功后,在后续步骤(特别是MFA挑战请求)中会遇到令牌过期的问题: +在使用 Giffgaff eSIM 转换流程时,用户通过Cookie登录成功后,在后续步骤(特别是MFA挑战请求)中会遇到令牌过期的问题: ``` { @@ -40,20 +40,20 @@ try { // 尝试使用现有令牌 const response = await fetch(this.endpoints.mfaChallenge, {...}); - + if (response.ok) { return await response.json(); } - + // 如果是401错误,可能是令牌过期 - if (response.status === 401 && + if (response.status === 401 && errorData?.details?.error === 'invalid_token') { - + // 尝试使用本地存储的cookie重新验证 const cookie = localStorage.getItem('giffgaff_cookie'); if (cookie) { const cookieVerifyResult = await this.verifyCookie(cookie); - + if (cookieVerifyResult.success) { // 使用新令牌重新发送请求... } @@ -77,12 +77,12 @@ const cookieVerifyResponse = await axios.post( 'https://esim.cosr.eu.org/.netlify/functions/verify-cookie', { cookie }, - { + { headers: { 'Content-Type': 'application/json' }, timeout: 30000 } ); - + if (cookieVerifyResponse.data && cookieVerifyResponse.data.success) { accessToken = cookieVerifyResponse.data.accessToken; console.log('Successfully obtained access token from cookie'); @@ -105,7 +105,7 @@ - 后端:如果提供了Cookie但没有有效令牌,自动使用Cookie获取新令牌 3. 验证MFA验证码时,同样应用令牌刷新机制 -这种双重保障机制确保了即使令牌过期,系统也能自动刷新并继续完成eSIM申请流程,无需用户重新登录。 +这种双重保障机制确保了即使令牌过期,系统也能自动刷新并继续完成 eSIM 转换流程,无需用户重新登录。 ## 技术细节 diff --git a/docs/guides/CORS_SOLUTION.md b/docs/guides/CORS_SOLUTION.md index 6623b9e..42ab55a 100644 --- a/docs/guides/CORS_SOLUTION.md +++ b/docs/guides/CORS_SOLUTION.md @@ -2,11 +2,11 @@ ## 🔍 问题描述 -在使用Simyo eSIM申请工具时,遇到了CORS(跨域资源共享)错误: +在使用 Simyo eSIM 工具时,遇到了CORS(跨域资源共享)错误: ``` -Access to fetch at 'https://appapi.simyo.nl/simyoapi/api/v1/sessions' from origin 'null' -has been blocked by CORS policy: Response to preflight request doesn't pass access control check: +Access to fetch at 'https://appapi.simyo.nl/simyoapi/api/v1/sessions' from origin 'null' +has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. ``` @@ -57,7 +57,7 @@ npm start ### 方案2: 浏览器插件(临时方案) 安装CORS浏览器插件,如: -- Chrome: "CORS Unblock" +- Chrome: "CORS Unblock" - Firefox: "CORS Everywhere" ⚠️ **注意**: 此方案有安全风险,仅建议开发测试使用 @@ -69,7 +69,7 @@ npm start # Windows chrome.exe --user-data-dir=/tmp/chrome_dev_test --disable-web-security --disable-features=VizDisplayCompositor -# macOS +# macOS /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir=/tmp/chrome_dev_test --disable-web-security # Linux @@ -137,7 +137,7 @@ npm start 打开浏览器访问: http://localhost:3000 ### 4. 使用Simyo工具 -现在可以正常使用Simyo eSIM申请功能,CORS问题已解决! +现在可以正常使用 Simyo eSIM 功能,CORS问题已解决! ## 🔧 故障排除 @@ -196,4 +196,4 @@ curl http://localhost:3000/api/health 1. **仅本地使用**: 代理服务器仅用于本地开发和个人使用 2. **防火墙设置**: 确保3000端口不对外网开放 3. **定期更新**: 保持Node.js和依赖包的最新版本 -4. **凭据保护**: 不要在代码中硬编码敏感信息 \ No newline at end of file +4. **凭据保护**: 不要在代码中硬编码敏感信息 diff --git a/docs/reference/README_giffgaff_esim.md b/docs/reference/README_giffgaff_esim.md index cdf18ef..3df73c3 100644 --- a/docs/reference/README_giffgaff_esim.md +++ b/docs/reference/README_giffgaff_esim.md @@ -1,10 +1,10 @@ -# Giffgaff eSIM 申请工具 +# Giffgaff eSIM 工具 > 二维码供应商:优先 `https://qrcode.show/`,并保留 `quickchart.io` 与 `chart.googleapis.com` 作为备选。 -基于Giffgaff-swap-esim.json Postman脚本构建的完整eSIM申请网页工具。 +基于Giffgaff-swap-esim.json Postman脚本构建的完整eSIM设备更换网页工具。 ## 🚀 项目概述 -这是一个完整的Web应用程序,允许用户通过浏览器直接申请和获取Giffgaff eSIM,无需使用移动应用或复杂的API工具。 +这是一个完整的Web应用程序,允许已有 Giffgaff 号码的用户通过浏览器将物理 SIM 转换为 eSIM,无需使用移动应用或复杂的API工具。 ### 核心功能 - ✅ OAuth 2.0 PKCE 认证流程 @@ -18,7 +18,7 @@ ## 📁 文件说明 ### 主要文件 -- **`giffgaff_complete_esim.html`** - 完整的eSIM申请工具(生产版本) +- **`giffgaff_complete_esim.html`** - 完整的eSIM设备更换工具(生产版本) - **`test_giffgaff_esim.html`** - 综合测试页面(开发/测试版本) - **`Giffgaff-swap-esim.json`** - 原始Postman脚本(参考文档) - **`giffgaff.html`** - 原有的简化版本(参考) @@ -45,7 +45,7 @@ ```javascript const apiEndpoints = { mfaChallenge: "https://id.giffgaff.com/v4/mfa/challenge/me", - mfaValidation: "https://id.giffgaff.com/v4/mfa/validation", + mfaValidation: "https://id.giffgaff.com/v4/mfa/validation", graphql: "https://publicapi.giffgaff.com/gateway/graphql", qrcode: "https://qrcode.show/" }; @@ -200,4 +200,4 @@ mutation reserveESim($input: ESimReservationInput!) { --- -**免责声明**: 此工具仅为方便用户使用而开发,使用前请确保了解eSIM转换的风险和后果。开发者不对因使用此工具造成的任何损失承担责任。 \ No newline at end of file +**免责声明**: 此工具仅为方便用户使用而开发,使用前请确保了解eSIM转换的风险和后果。开发者不对因使用此工具造成的任何损失承担责任。 diff --git a/docs/reference/README_giffgaff_esim_EN.md b/docs/reference/README_giffgaff_esim_EN.md index 5edce02..5a821dd 100644 --- a/docs/reference/README_giffgaff_esim_EN.md +++ b/docs/reference/README_giffgaff_esim_EN.md @@ -1,10 +1,10 @@ -# Giffgaff eSIM Application Tool +# Giffgaff eSIM Tool > QR code provider: Prefer `https://qrcode.show/`, and keep `quickchart.io` and `chart.googleapis.com` as alternatives. -A complete eSIM application web tool built based on the Giffgaff-swap-esim.json Postman script. +A complete eSIM device change web tool built based on the Giffgaff-swap-esim.json Postman script. ## 🚀 Project Overview -This is a complete web application that allows users to apply for and obtain Giffgaff eSIM directly through a browser, without using mobile apps or complex API tools. +This is a complete web application that allows existing Giffgaff subscribers to convert their physical SIM to eSIM directly through a browser, without using mobile apps or complex API tools. ### Core Features - ✅ OAuth 2.0 PKCE Authentication Process @@ -18,7 +18,7 @@ This is a complete web application that allows users to apply for and obtain Gif ## 📁 File Description ### Main Files -- **`giffgaff_complete_esim.html`** - Complete eSIM Application Tool (Production Version) +- **`giffgaff_complete_esim.html`** - Complete eSIM Device Change Tool (Production Version) - **`test_giffgaff_esim.html`** - Comprehensive Test Page (Development/Test Version) - **`Giffgaff-swap-esim.json`** - Original Postman Script (Reference Document) - **`giffgaff.html`**** - Original Simplified Version (Reference) @@ -45,7 +45,7 @@ This is a complete web application that allows users to apply for and obtain Gif ```javascript const apiEndpoints = { mfaChallenge: "https://id.giffgaff.com/v4/mfa/challenge/me", - mfaValidation: "https://id.giffgaff.com/v4/mfa/validation", + mfaValidation: "https://id.giffgaff.com/v4/mfa/validation", graphql: "https://publicapi.giffgaff.com/gateway/graphql", qrcode: "https://qrcode.show/" }; @@ -200,4 +200,4 @@ If you have questions or suggestions, please: --- -**Disclaimer**: This tool is developed solely for user convenience. Please ensure you understand the risks and consequences of eSIM conversion before use. The developer is not responsible for any losses caused by using this tool. \ No newline at end of file +**Disclaimer**: This tool is developed solely for user convenience. Please ensure you understand the risks and consequences of eSIM conversion before use. The developer is not responsible for any losses caused by using this tool. diff --git a/docs/reference/README_simyo_esim.md b/docs/reference/README_simyo_esim.md index ea1cb47..eff6a0b 100644 --- a/docs/reference/README_simyo_esim.md +++ b/docs/reference/README_simyo_esim.md @@ -1,10 +1,10 @@ -# Simyo NL eSIM 申请工具 +# Simyo NL eSIM 工具 -基于Simyo ESIM V2.postman_collection.json Postman脚本构建的完整eSIM申请网页工具。 +基于Simyo ESIM V2.postman_collection.json Postman脚本构建的完整eSIM设备更换网页工具。 ## 🚀 项目概述 -这是一个专为Simyo NL(荷兰)用户设计的Web应用程序,允许用户通过浏览器直接申请和管理Simyo eSIM,无需使用移动应用或复杂的API工具。 +这是一个专为Simyo NL(荷兰)用户设计的Web应用程序,允许已有 Simyo 号码的用户通过浏览器管理 eSIM 设备更换,无需使用移动应用或复杂的API工具。 ### 核心功能 - ✅ Simyo账户认证登录 @@ -18,7 +18,7 @@ ## 📁 文件说明 ### 主要文件 -- **`simyo_complete_esim.html`** - 完整的Simyo eSIM申请工具(生产版本) +- **`simyo_complete_esim.html`** - 完整的 Simyo eSIM 设备更换工具(生产版本) - **`test_simyo_esim.html`** - 综合测试页面(开发/测试版本) - **`Simyo ESIM V2.postman_collection.json`** - 原始Postman脚本(参考文档) - **`simyo.html`** - 原有的简化版本(参考) @@ -83,7 +83,7 @@ const apiEndpoints = { - 登录成功后,选择"更换设备"选项 3. **完成设备更换流程** - - **步骤2.1:申请新eSIM** - 通知Simyo系统您要更换设备 + - **步骤2.1:请求设备更换** - 通知Simyo系统您要更换设备 - **步骤2.2:发送验证码(可选)** - 如果能接收短信则执行此步骤 - **步骤2.3:确认验证码** - 输入收到的6位数字验证码 @@ -101,9 +101,9 @@ const apiEndpoints = { #### 方式二:结合APP使用(传统方式) -1. **在Simyo APP中申请更换设备/eSIM** +1. **在 Simyo APP 中发起设备更换** - 打开官方Simyo APP - - 选择"更换设备"或"申请eSIM" + - 选择"更换设备" - 填写收到的验证码 - **进入下一界面后停留,不要继续操作** @@ -147,7 +147,7 @@ Simyo提供保号服务,详细信息: ### 设备更换特别说明 - 更换设备时请严格按照流程操作 -- 在APP中申请后不要继续操作,立即使用本工具 +- 在APP中发起设备更换后不要继续操作,立即使用本工具 - 非原生eSIM设备需要发送`install`和`enabled`通知 ### 系统要求 diff --git a/docs/reference/README_simyo_esim_EN.md b/docs/reference/README_simyo_esim_EN.md index 25d0427..a8c069c 100644 --- a/docs/reference/README_simyo_esim_EN.md +++ b/docs/reference/README_simyo_esim_EN.md @@ -1,10 +1,10 @@ -# Simyo NL eSIM Application Tool +# Simyo NL eSIM Tool -A complete eSIM application web tool built based on the Simyo ESIM V2.postman_collection.json Postman script. +A complete eSIM device change web tool built based on the Simyo ESIM V2.postman_collection.json Postman script. ## 🚀 Project Overview -This is a web application designed specifically for Simyo NL (Netherlands) users that allows users to apply for and manage Simyo eSIM directly through a browser, without using mobile apps or complex API tools. +This is a web application designed specifically for Simyo NL (Netherlands) users that allows existing Simyo subscribers to manage eSIM device changes directly through a browser, without using mobile apps or complex API tools. ### Core Features - ✅ Simyo Account Authentication Login @@ -18,7 +18,7 @@ This is a web application designed specifically for Simyo NL (Netherlands) users ## 📁 File Description ### Main Files -- **`simyo_complete_esim.html`** - Complete Simyo eSIM Application Tool (Production Version) +- **`simyo_complete_esim.html`** - Complete Simyo eSIM Device Change Tool (Production Version) - **`test_simyo_esim.html`** - Comprehensive Test Page (Development/Test Version) - **`Simyo ESIM V2.postman_collection.json`** - Original Postman Script (Reference Document) - **`simyo.html`** - Original Simplified Version (Reference) @@ -83,7 +83,7 @@ This tool now supports the complete device replacement process, including verifi - After successful login, select the "Replace Device" option 3. **Complete Device Replacement Process** - - **Step 2.1: Apply for New eSIM** - Notify the Simyo system that you want to replace your device + - **Step 2.1: Request Device Change** - Notify the Simyo system that you want to replace your device - **Step 2.2: Send Verification Code (Optional)** - Execute this step if you can receive SMS - **Step 2.3: Confirm Verification Code** - Enter the 6-digit verification code received @@ -101,9 +101,9 @@ This tool now supports the complete device replacement process, including verifi #### Method 2: Combined with APP Usage (Traditional Method) -1. **Apply for Device Replacement/eSIM in Simyo APP** +1. **Request device change in the Simyo APP** - Open the official Simyo APP - - Select "Replace Device" or "Apply for eSIM" + - Select "Replace Device" - Fill in the received verification code - **Stay on the next interface, do not continue operating** @@ -147,7 +147,7 @@ Simyo offers number preservation service with details: ### Device Replacement Special Notes - Please follow the process strictly when replacing devices -- Do not continue operating in the APP after applying, immediately use this tool +- Do not continue operating in the APP after requesting device change, immediately use this tool - Non-native eSIM devices need to send `install` and `enabled` notifications ### System Requirements diff --git a/index.html b/index.html index 862c3f9..dbfe686 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + - eSIM Tools - Giffgaff & Simyo eSIM 在线管理工具 | 申请、激活与二维码生成 + eSIM Tools - Giffgaff & Simyo eSIM 在线管理工具 | 设备更换、激活与二维码生成 @@ -25,7 +25,7 @@ - + @@ -33,7 +33,7 @@ - + @@ -43,7 +43,7 @@ "@type": "WebApplication", "name": "eSIM Tools", "url": "https://esim.cosr.eu.org", - "description": "免费在线 eSIM 管理工具,支持 Giffgaff 与 Simyo 的 eSIM 申请、OAuth 认证、设备更换、QR 码生成及激活。", + "description": "免费在线 eSIM 管理工具,支持已有 Giffgaff 与 Simyo 号码的 eSIM 转换、OAuth 认证、设备更换、QR 码生成及激活。", "applicationCategory": "UtilitiesApplication", "operatingSystem": "Web Browser", "offers": { @@ -620,7 +620,7 @@

Giffgaff eSIM 工具

- 完整的 Giffgaff eSIM 申请与管理,支持 OAuth 认证、MFA 验证与 GraphQL API 调用 + 完整的 Giffgaff eSIM 转换与管理,支持 OAuth 认证、MFA 验证与 GraphQL API 调用