drukscode-v2/docs/zh/index.md
OpenCode AI e9899d2e6d
Some checks failed
Android CI Build / check (push) Has been cancelled
Android CI Build / package-apks (push) Has been cancelled
Docs Deploy / build (push) Has been cancelled
Module Market Check / Validate modules/ (push) Has been cancelled
Module Market Publish / Generate submissions.json (push) Has been cancelled
Docs Deploy / deploy (push) Has been cancelled
Initial DruksCode V2: fresh fork of web-to-app (f3b488e) with DruksCode identity
- Package rename com.webtoapp -> br.com.drukstech.codeapp
- Product rename WebToApp/web-to-app -> DruksCode/drukscode
- Design system Wta* -> Dkc*
- applicationId br.com.drukstech.codeapp (.play for gplay flavor)
- rootProject.name DruksCode
- Fresh git history (upstream kept as remote for sync)
2026-09-12 02:42:02 +02:00

7.0 KiB

layout, hero, features
layout hero features
home
name text tagline image actions
DruksCode 在手机上构建 Android APK 一个远超"网址转 App"的设备端 APK 工坊 —— fork+exec 真实服务运行时、搭载加固网络栈、导出 Play 级安装包,全程无需电脑。
src alt
/logo.png DruksCode
theme text link
brand 快速开始 /zh/guide/introduction
theme text link
alt 开发者文档 /zh/developer/
theme text link
alt 在 GitHub 上查看 https://github.com/shiaho777/web-to-app
icon title details
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="2"/><path d="M9 4v16"/><path d="M4 9h5"/></svg> 真实的设备端运行时 Node.js、PHP、Python、Go、WordPress 作为原生二进制直接从应用存储 fork+exec —— 如同 Termux,但打包成可安装的 APK。
icon title details
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l8 3v6c0 4.5-3.2 7.6-8 9-4.8-1.4-8-4.5-8-9V6z"/></svg> 加固网络栈 DNS-over-HTTPS、带本地 MITM 桥的 TLS 指纹伪造、加密客户端 Hello(ECH)、按应用代理,以及针对受限 SPA 的 CORS 绕过。
icon title details
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M21 8l-9-5-9 5 9 5z"/><path d="M3 8v8l9 5 9-5V8"/><path d="M12 13v8"/></svg> 自包含构建 二进制 AXML/ARSC 打补丁、权限裁剪、V1/V2/V3 签名、Google Play 级 AAB 导出 —— 全部通过 apksig 在应用内完成,无需远程构建队列。
icon title details
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M10 2v4M14 2v4M10 18v4M14 18v4M2 10h4M2 14h4M18 10h4M18 14h4"/><rect x="8" y="8" width="8" height="8" rx="1.5"/></svg> 发布后仍可扩展 添加 JS/CSS 模块、Tampermonkey 风格油猴脚本,或 MV3 Chrome 扩展(从 Chrome 网上应用店实时搜索),无需重建宿主。
icon title details
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="10" width="16" height="10" rx="2"/><path d="M8 10V7a4 4 0 0 1 8 0v3"/><circle cx="12" cy="15" r="1.4"/></svg> 隐私与指纹防护 50+ 维浏览器指纹伪装、内置 20 个过滤列表的 hosts 去广告、AES-256-GCM 资源加密,以及激活码门控。
icon title details
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M3 12h18"/><path d="M12 3a14 14 0 0 1 0 18a14 14 0 0 1 0-18"/></svg> 10 种界面语言 中文、英文、阿拉伯文(RTL)、葡萄牙文、西班牙文、法文、德文、俄文、日文、韩文 —— 在设置中随时切换。

从 URL 到签名 APK,只需三步

  1. 选择类型

    从 12 种应用类型里选 —— 普通的 Web 封装、HTML 或 Frontend 构建,或是设备端运行的 Node.js、PHP、Python、Go、WordPress 服务器。

  2. 填写基本信息

    名称、URL 或项目、图标 —— 保存即可。所有类型共享同一套配置卡片:网络、隐私、外观、运行时。

  3. 构建并分享

    构建 APK 用 V1/V2/V3 在设备上完成签名,再分享出去或导出 Play 级 AAB。无需电脑,没有构建队列。

十二种类型,一个构建器

Web 与 Multi-Web

URL 封装、多标签页枢纽、门户与链接流。

HTML 与离线包

打包本地 HTML 或 zip 构建,或抓取整站生成自包含的离线 APK。

Frontend

把 React、Vue、Vite 构建产物发布成 localhost 服务的 APK。

服务端运行时

fork+exec Node.js、PHP、Python、Go 原生二进制,在本地端口提供服务。

WordPress

完整的便携 WordPress 站点,PHP 与 SQLite 都跑在设备上。

媒体与相册

图片和视频播放器、相册集、作品集,打包成独立应用。

编辑器背后的工具箱

Agent

内置最多 57 个工具的调用式助手,可以构建、编辑、操作整个应用。

扩展模块

向任何生成的应用注入 JS/CSS、油猴脚本或 MV3 Chrome 扩展。

Hosts 去广告

内置 20 个过滤列表和按应用的订阅规则,编译进导出的 APK。

Linux 环境

Termux 风格的设备端环境,带有构建和运行项目所需的真实工具链。

端口管理

冲突策略、真实停止处理器,以及所有本地服务运行时的 DNS 桥接。

应用修改器

克隆和重打包已安装的 APK、批量导入定义、导出模板。

深入底层

12种应用类型
57个 Agent 工具(上限)
10种界面语言
20个去广告列表

构建器自己做二进制手术 —— AXML/ARSC 重写、权限裁剪、AES-256-GCM 资源加密、16 KB 页对齐的原生库 —— 并让 shell 保持低 targetSdk,使 fork+exec 运行时持续可用。开发者文档覆盖了完整的导出管线。

准备好构建你的第一个 APK 了吗?

快速开始