https://github.com/0xfederama/water-reminder
Taskbar and notifications app that reminds you to drink
https://github.com/0xfederama/water-reminder
app drink go golang hacktoberfest linux macos notifications
Last synced: 4 months ago
JSON representation
Taskbar and notifications app that reminds you to drink
- Host: GitHub
- URL: https://github.com/0xfederama/water-reminder
- Owner: 0xfederama
- License: gpl-3.0
- Created: 2020-05-26T13:50:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-28T15:04:28.000Z (over 1 year ago)
- Last Synced: 2025-03-28T16:23:11.141Z (over 1 year ago)
- Topics: app, drink, go, golang, hacktoberfest, linux, macos, notifications
- Language: Go
- Homepage:
- Size: 20.6 MB
- Stars: 71
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Water Reminder
[](https://travis-ci.com/0xfederama/water-reminder) [](https://goreportcard.com/report/github.com/0xfederama/water-reminder?) [](https://www.gnu.org/licenses/gpl-3.0)
:droplet: :droplet: :droplet:
Remember to drink every 15/30/45/60 minutes with this simple app.
For now the app displays the icon in the notifications only in linux.
MacOS | Linux
:-------------------------:|:-------------------------:
 | 
# Installation
### MacOS
- Download the latest [release](https://github.com/0xfederama/water-reminder/releases) for MacOS (`.dmg` file)
- Move `Water Reminder.app` file in Applications
- Launch the app, then go into preferences, security and allow the app to be executed, since it is not trusted by Apple.
- To make the app run at startup open preferences, users, [your user], login items and add the app to the list
### Linux
- Download the latest [release](https://github.com/0xfederama/water-reminder/releases) for Linux (the simple `drink_linux` binary file) and place it wherever you want
- To make the app runnable from the applications grid, first launch it from the terminal, then you need to create `water-reminder.desktop` file in `$HOME/.local/share/applications` and copy this, changing [your username]
```
[Desktop Entry]
Name=Water Reminder
Exec=/path/to/drink_linux
Terminal=false
Type=Application
Comment=Remember to drink every 30 minutes
Icon=/home/[your username]/.config/water-reminder/water-glass.png
```
- To make the app run at startup (using `water-reminder.desktop` and if you have `gnome-tweak-tools` installed) you can open Tweaks and add Water Reminder to the startup applications. Otherwise, if you didn't create `water-reminder.desktop` or if you don't have `gnome-tweak-tools`, open "Startup Applications", press "Add" and in the command section type `path/to/drink_linux`. Give the app the name you want
# Build
To build from source, all you need to do is to install [Go](https://golang.org/dl/) (the latest version is ok), clone the repo (`go.mod` and `go.sum` files (Go modules) will install for you every Go library needed) and then build with `go build -o [name] drink.go lib.go`