WaterMinder
WaterMinder is the leading hydration tracking app trusted by millions worldwide. Protocol Launcher allows you to generate deep links to log water intake, caffeine, and other beverages in WaterMinder.
Usage
There are two ways to use this library:
- On-Demand import from subpaths enables tree-shaking and keeps bundles small.
- Full Import from the root package is convenient but includes all app modules.
Pick On-Demand for production builds; Full Import is fine for quick scripts or demos.
Select Installation Method
On-Demand
Recommended. Optimized for production.
Full Import
Convenient. Good for quick scripts.
Open App
ts
import { open } from 'protocol-launcher/waterminder'
const url = open()Add Water
ts
import { addWater } from 'protocol-launcher/waterminder'
const url = addWater({
amount: 250,
})Add Water with Time
ts
import { addWater } from 'protocol-launcher/waterminder'
const url = addWater({
amount: 250,
time: '22/01/2026T13:17',
})Add Caffeine
ts
import { addCaffeine } from 'protocol-launcher/waterminder'
const url = addCaffeine({
amount: 115,
})Add Caffeine with Time
ts
import { addCaffeine } from 'protocol-launcher/waterminder'
const url = addCaffeine({
amount: 115,
time: '09/04/2026T13:17',
})Add Other Drink
ts
import { addOther } from 'protocol-launcher/waterminder'
const url = addOther({
amount: 250,
type: 'carbonated_water',
})Add Other Drink with Time
ts
import { addOther } from 'protocol-launcher/waterminder'
const url = addOther({
amount: 200,
type: 'coffee',
time: '09/04/2026T13:17',
})Log Cup
ts
import { logCup } from 'protocol-launcher/waterminder'
const url = logCup({
amount: 250,
cupName: 'my mug',
})Log Cup with Time
ts
import { logCup } from 'protocol-launcher/waterminder'
const url = logCup({
amount: 300,
cupName: 'Morning Glass',
time: '22/01/2026T08:00',
})