Skip to content
Console

DPIP

DPIP (Disaster Prevention Information Platform) is ExpTech’s mobile app for Taiwan. It puts the Central Weather Administration (CWA) Earthquake Early Warning (CWA EEW), real-time seismic intensity, earthquake reports, weather and rainfall, typhoons, and hazard alerts in one app. The alerts are issued by the CWA, the National Science and Technology Center for Disaster Reduction (NCDR), and other agencies. ExpTech only relays them.

The app is written in Flutter (Dart), and the source code is on GitHub. For an overview with screenshots, see the DPIP page.

Feature What you get Source
CWA EEW A notification with the estimated intensity at your location and how many seconds remain before the shaking arrives The CWA, relayed by ExpTech
Live intensity Measured seismic intensity at each station, on a map TREM-net (unofficial observations)
Earthquake reports Past earthquakes with their intensity distribution, magnitude, and depth The CWA
Weather and rainfall Weather, rainfall trends, and radar for your township, plus the 24-hour forecast and satellite imagery The CWA. Satellite imagery comes from the Himawari satellites of the Japan Meteorological Agency (JMA)
Typhoons Forecast track, storm radius, and typhoon warnings The CWA
Hazard alerts Alerts of every kind on one map Issued by the CWA, the NCDR, and other agencies, relayed by ExpTech
Shelters and facilities Evacuation shelters, AEDs, and public restrooms Government open data

TREM data are unofficial observations; the Central Weather Administration's releases always prevail. Under the Meteorological Act, they must not be used to predict earthquakes or to issue earthquake warnings. Read the full notice

The interface is available in 11 languages. If yours is missing, ask for it in Issues.

Platforms: AndroidiOS

DPIP pins its toolchain with mise. The Flutter version is set in mise.toml, and every task has a script under tool/. Without mise, the scripts refuse to run and tell you how to install it.

終端機視窗
git clone https://github.com/ExpTechTW/DPIP.git
cd DPIP
mise install # installs the Flutter version pinned in mise.toml
tool/dev/deps.sh # fetches packages

Always start the app with tool/run.sh. A debug build that was not started this way refuses to run and prints the right command. The first run also installs the git hooks.

終端機視窗
tool/run.sh -d <device>

Build an installable package:

終端機視窗
tool/dev/build.sh android # APK
tool/dev/build.sh bundle # AAB (the format Google Play accepts)
tool/dev/build.sh ios # iOS (unsigned)

Android needs JDK 17 or later; the one bundled with Android Studio works. iOS uses Swift Package Manager, so CocoaPods is not needed.

Do not run flutter, dart, or mise exec yourself. The shell caches PATH, so after a toolchain upgrade the old SDK can stay on it. A build with the wrong SDK still compiles and passes the tests, and the problem only shows up later.

Task Command
Run the tests tool/dev/test.sh
Format and run static analysis tool/dev/analyze.sh
Run every check that CI runs tool/check.sh

Before you open a pull request, read commit.md (in Chinese). Commit messages become the changelog, and CI fails on messages that do not follow the format. The toolchain, version rules, and architecture are documented in the repository’s AGENTS.md and ARCHITECTURE.md.

DPIP is released under the DPIP Public License. It is a source-available license, not an open-source license. You can read and study the source code, and contributions are welcome, but you cannot use it commercially or use it to build a product that competes with DPIP.

  • You may run and modify it for personal, educational, and non-commercial purposes.
  • If you distribute the original or a modified version, you must include the complete source code, keep the existing copyright and license notices, state what you changed and when, and license the whole distribution under the same license.
  • Commercial use is not allowed, for example selling it, offering it as a paid service, or including it in a commercial product. Commercial use requires a separate written license from ExpTech Studio.
  • You may not use it to offer a product or service that competes with DPIP or with the products and services of ExpTech Studio, for example by rebranding it as your own.

The full terms in LICENSE prevail.