A Vue.js-based cross-platform framework that lets developers write one codebase for iOS, Android, HarmonyOS, Web and many mini-program platforms.
didi/DoKit
An in-app debugging and efficiency toolkit for Android, iOS, mini-programs, Flutter and Web, with performance monitoring, mock data and visual inspection panels.
Open-source alternative to:Charles
- Stars
- 20,413
- Forks
- 3,182
- Open issues
- 274
- Last commit
- 18 days ago
What is it?
DoKit is a development efficiency platform from Didi that embeds a floating debugging panel into apps during development. It gathers commonly reimplemented internal tools such as frame-rate and CPU/memory monitors, environment switching, log viewing, a sandbox file browser and MockGPS location spoofing into one entry point, so teams do not need to build these separately in each app.
The project covers several ecosystems: DoKit for Android, DoKit for iOS, DoKit for WeChat mini-programs, DoKit for Flutter, and support for Chameleon/Weex pages. The companion dokit.cn platform adds interface mocking through network interception, a health check that combines several performance tools, a file sync helper and multi-device control.
The toolkit is intended only for Debug builds. The maintainers state that Release use has not been validated and advise against it, so integration should follow the official guide.
Key features
- 01Floating panel with frame rate, CPU, memory and traffic monitoring charts
- 02App network traffic interception with list, filter and detail views
- 03Interface mocking via network interception without code changes
- 04MockGPS location simulation and weak-network simulation on Android
- 05Sandbox file browsing, Crash stack viewing and local NSLog or Lumberjack output on iOS
- 06Visual tools such as color picker, component inspector and alignment ruler
Use cases
- Debugging layout, color and alignment issues during UI development
- Profiling startup time, slow frames, large images and memory leaks in a test build
- Simulating locations or weak networks when testing location-based or network-sensitive features
- Sharing mock data and file access with teammates through the dokit.cn platform
Quick start
- 1
Open the DoKit official site and go to the usage center for your platform
- 2
Integrate the SDK for your platform by following the official integration docs
Things to know
- All features are designed only for Debug builds; Release builds are not verified and are not recommended.
- Some tools are platform-specific, such as iOS-only or Android-only features.
- The SDK sends usage, health-check and mock-related data to dokit.cn servers.
In collections
Topics
FAQ
- What is DoKit?
- An in-app debugging and efficiency toolkit for Android, iOS, mini-programs, Flutter and Web, with performance monitoring, mock data and visual inspection panels. DoKit is a development efficiency platform from Didi that embeds a floating debugging panel into apps during development. It gathers commonly reimplemented internal tools such as frame-rate and CPU/memory monitors, environment switching, log viewing, a sandbox file browser and MockGPS location spoofing into one entry point, so teams do not need to build these separately in each app.
- Is DoKit free to use? What license does it have?
- DoKit is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is DoKit still maintained?
- Actively maintained. The last commit to DoKit was on Oct 20, 2026.
- What can I use DoKit for?
- Debugging layout, color and alignment issues during UI development Profiling startup time, slow frames, large images and memory leaks in a test build Simulating locations or weak networks when testing location-based or network-sensitive features Sharing mock data and file access with teammates through the dokit.cn platform
- How do I install DoKit?
- Open the DoKit official site and go to the usage center for your platform Integrate the SDK for your platform by following the official integration docs
- Where can I get DoKit?
- The source code and installation instructions are on GitHub: https://github.com/didi/DoKit
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A framework for building native iOS, Android and visionOS apps with JavaScript or TypeScript, using native UI and APIs directly.
An efficient, small key-value storage framework for mobile and desktop apps, originally built for WeChat, using mmap and protobuf.
Python framework for building web, desktop and mobile apps with a Flutter-based UI, no frontend experience needed.
Open-source, privacy-first analytics for mobile, desktop and web apps, offered as an alternative to Firebase and Google Analytics.
Free, open-source HTTP(S) traffic capture and debugging tool built with Flutter, running on Windows, Mac, Linux, Android and iOS.