2022-03-13 23:08:38 +03:00
![ntfy ](web/public/static/img/ntfy.png )
2021-11-03 18:38:46 +03:00
2021-12-06 00:28:12 +03:00
# ntfy.sh | Send push notifications to your phone or desktop via PUT/POST
2021-11-27 01:09:41 +03:00
[![Release ](https://img.shields.io/github/release/binwiederhier/ntfy.svg?color=success&style=flat-square )](https://github.com/binwiederhier/ntfy/releases/latest)
2021-12-07 23:39:42 +03:00
[![Go Reference ](https://pkg.go.dev/badge/heckel.io/ntfy.svg )](https://pkg.go.dev/heckel.io/ntfy)
[![Tests ](https://github.com/binwiederhier/ntfy/workflows/test/badge.svg )](https://github.com/binwiederhier/ntfy/actions)
[![Go Report Card ](https://goreportcard.com/badge/github.com/binwiederhier/ntfy )](https://goreportcard.com/report/github.com/binwiederhier/ntfy)
[![codecov ](https://codecov.io/gh/binwiederhier/ntfy/branch/main/graph/badge.svg?token=A597KQ463G )](https://codecov.io/gh/binwiederhier/ntfy)
2022-01-03 19:49:39 +03:00
[![Discord ](https://img.shields.io/discord/874398661709295626?label=Discord )](https://discord.gg/cT7ECsZj9w)
[![Matrix ](https://img.shields.io/matrix/ntfy:matrix.org?label=Matrix )](https://matrix.to/#/#ntfy:matrix.org)
2022-06-06 16:50:26 +03:00
[![Matrix space ](https://img.shields.io/matrix/ntfy-space:matrix.org?label=Matrix+space )](https://matrix.to/#/#ntfy-space:matrix.org)
2022-10-29 04:03:52 +03:00
[![Reddit ](https://img.shields.io/reddit/subreddit-subscribers/ntfy?color=%23317f6f&label=-%20r%2Fntfy&style=social )](https://www.reddit.com/r/ntfy/)
2021-12-09 21:53:47 +03:00
[![Healthcheck ](https://healthchecks.io/badge/68b65976-b3b0-4102-aec9-980921/kcoEgrLY.svg )](https://ntfy.statuspage.io/)
2022-12-11 00:56:13 +03:00
[![Gitpod ](https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod )](https://gitpod.io/#https://github.com/binwiederhier/ntfy)
2021-11-21 00:02:05 +03:00
**ntfy** (pronounce: *notify* ) is a simple HTTP-based [pub-sub ](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern ) notification service.
2021-11-03 18:36:09 +03:00
It allows you to **send notifications to your phone or desktop via scripts** from any computer, entirely **without signup or cost** .
2021-11-03 18:33:34 +03:00
It's also open source (as you can plainly see) if you want to run your own.
2022-06-06 18:41:51 +03:00
I run a free version of it at ** [ntfy.sh ](https://ntfy.sh )**. There's also an [open source Android app ](https://github.com/binwiederhier/ntfy-android ) (see [Google Play ](https://play.google.com/store/apps/details?id=io.heckel.ntfy ) or [F-Droid ](https://f-droid.org/en/packages/io.heckel.ntfy/ )), and an [open source iOS app ](https://github.com/binwiederhier/ntfy-ios ) (see [App Store ](https://apps.apple.com/us/app/ntfy/id1625396347 )).
2021-10-23 04:26:01 +03:00
2021-11-09 18:51:21 +03:00
< p >
2022-03-12 06:02:44 +03:00
< img src = "web/public/static/img/screenshot-curl.png" height = "180" >
< img src = "web/public/static/img/screenshot-web-detail.png" height = "180" >
< img src = "web/public/static/img/screenshot-phone-main.jpg" height = "180" >
< img src = "web/public/static/img/screenshot-phone-detail.jpg" height = "180" >
< img src = "web/public/static/img/screenshot-phone-notification.jpg" height = "180" >
2021-11-09 18:51:21 +03:00
< / p >
2021-12-06 00:28:12 +03:00
## **[Documentation](https://ntfy.sh/docs/)**
2021-10-23 04:26:01 +03:00
2021-12-06 00:28:12 +03:00
[Getting started ](https://ntfy.sh/docs/ ) |
[Android/iOS ](https://ntfy.sh/docs/subscribe/phone/ ) |
[API ](https://ntfy.sh/docs/publish/ ) |
[Install / Self-hosting ](https://ntfy.sh/docs/install/ ) |
[Building ](https://ntfy.sh/docs/develop/ )
2021-10-24 06:37:30 +03:00
2022-10-29 04:03:52 +03:00
## Chat / forum
There are a few ways to get in touch with me and/or the rest of the community. Feel free to use any of these methods. Whatever
works best for you:
* [Discord server ](https://discord.gg/cT7ECsZj9w ) - direct chat with the community
* [Matrix room #ntfy ](https://matrix.to/#/#ntfy:matrix.org ) (+ [Matrix space ](https://matrix.to/#/#ntfy-space:matrix.org )) - same chat, bridged from Discord
* [Reddit r/ntfy ](https://www.reddit.com/r/ntfy/ ) - asynchronous forum (_new as of October 2022_)
* [GitHub issues ](https://github.com/binwiederhier/ntfy/issues ) - questions, features, bugs
* [Email ](https://heckel.io/about ) - reach me directly (_I usually prefer the other methods_)
2022-06-01 20:05:38 +03:00
## Announcements / beta testers
For announcements of new releases and cutting-edge beta versions, please subscribe to the [ntfy.sh/announcements ](https://ntfy.sh/announcements )
topic. If you'd like to test the iOS app, join [TestFlight ](https://testflight.apple.com/join/P1fFnAm9 ). For Android betas,
join Discord/Matrix (I'll eventually make a testing channel in Google Play).
2021-10-23 22:22:17 +03:00
## Contributing
2022-12-12 23:06:04 +03:00
I welcome any and all contributions. Just create a PR or an issue. For larger features/ideas, please reach out
on Discord/Matrix first to see if I'd accept them. To contribute code, check out the [build instructions ](https://ntfy.sh/docs/develop/ )
for the server and the Android app. Or, if you'd like to help translate 🇩🇪 🇺🇸 🇧🇬, you can start immediately in
2022-03-26 01:54:40 +03:00
[Hosted Weblate ](https://hosted.weblate.org/projects/ntfy/ ).
2021-10-23 22:22:17 +03:00
2022-03-28 18:07:05 +03:00
< a href = "https://hosted.weblate.org/engage/ntfy/" >
< img src = "https://hosted.weblate.org/widgets/ntfy/-/multi-blue.svg" alt = "Translation status" / >
< / a >
2022-11-25 17:10:40 +03:00
## Sponsors
2022-09-05 22:05:44 +03:00
I have just very recently started accepting donations via [GitHub Sponsors ](https://github.com/sponsors/binwiederhier ).
I would be humbled if you helped me carry the server and developer account costs. Even small donations are very much
2022-11-10 17:49:47 +03:00
appreciated. A big fat **Thank You** to the folks already sponsoring ntfy:
2022-09-30 19:06:31 +03:00
2022-11-10 17:49:47 +03:00
< a href = "https://github.com/neutralinsomniac" > < img src = "https://github.com/neutralinsomniac.png" width = "40px" / > < / a >
2022-09-30 19:06:31 +03:00
< a href = "https://github.com/aspyct" > < img src = "https://github.com/aspyct.png" width = "40px" / > < / a >
2022-11-10 17:49:47 +03:00
< a href = "https://github.com/nickexyz" > < img src = "https://github.com/nickexyz.png" width = "40px" / > < / a >
< a href = "https://github.com/qcasey" > < img src = "https://github.com/qcasey.png" width = "40px" / > < / a >
< a href = "https://github.com/mckay115" > < img src = "https://github.com/mckay115.png" width = "40px" / > < / a >
< a href = "https://github.com/Salamafet" > < img src = "https://github.com/Salamafet.png" width = "40px" / > < / a >
2022-09-30 19:06:31 +03:00
< a href = "https://github.com/codinghipster" > < img src = "https://github.com/codinghipster.png" width = "40px" / > < / a >
2022-11-10 17:49:47 +03:00
< a href = "https://github.com/HinFort" > < img src = "https://github.com/HinFort.png" width = "40px" / > < / a >
< a href = "https://github.com/Lexevolution" > < img src = "https://github.com/Lexevolution.png" width = "40px" / > < / a >
< a href = "https://github.com/johnnyip" > < img src = "https://github.com/johnnyip.png" width = "40px" / > < / a >
< a href = "https://github.com/JonDerThan" > < img src = "https://github.com/JonDerThan.png" width = "40px" / > < / a >
< a href = "https://github.com/12nick12" > < img src = "https://github.com/12nick12.png" width = "40px" / > < / a >
2022-11-08 22:10:59 +03:00
< a href = "https://github.com/eanplatter" > < img src = "https://github.com/eanplatter.png" width = "40px" / > < / a >
< a href = "https://github.com/fnoelscher" > < img src = "https://github.com/fnoelscher.png" width = "40px" / > < / a >
2022-11-10 17:49:47 +03:00
< a href = "https://github.com/bnorick" > < img src = "https://github.com/bnorick.png" width = "40px" / > < / a >
< a href = "https://github.com/snh" > < img src = "https://github.com/snh.png" width = "40px" / > < / a >
2022-11-09 17:18:42 +03:00
< a href = "https://github.com/hen-x" > < img src = "https://github.com/hen-x.png" width = "40px" / > < / a >
< a href = "https://github.com/JamieGoodson" > < img src = "https://github.com/JamieGoodson.png" width = "40px" / > < / a >
2022-11-10 17:49:47 +03:00
< a href = "https://github.com/cremesk" > < img src = "https://github.com/cremesk.png" width = "40px" / > < / a >
< a href = "https://github.com/dangowans" > < img src = "https://github.com/dangowans.png" width = "40px" / > < / a >
2022-11-10 17:44:42 +03:00
< a href = "https://github.com/mnault" > < img src = "https://github.com/mnault.png" width = "40px" / > < / a >
< a href = "https://github.com/nwithan8" > < img src = "https://github.com/nwithan8.png" width = "40px" / > < / a >
< a href = "https://github.com/peterleiser" > < img src = "https://github.com/peterleiser.png" width = "40px" / > < / a >
2022-11-12 14:56:40 +03:00
< a href = "https://github.com/portothree" > < img src = "https://github.com/portothree.png" width = "40px" / > < / a >
2022-11-15 17:09:31 +03:00
< a href = "https://github.com/finngreig" > < img src = "https://github.com/finngreig.png" width = "40px" / > < / a >
2022-11-16 22:26:54 +03:00
< a href = "https://github.com/skrollme" > < img src = "https://github.com/skrollme.png" width = "40px" / > < / a >
2022-11-17 14:40:59 +03:00
< a href = "https://github.com/gergepalfi" > < img src = "https://github.com/gergepalfi.png" width = "40px" / > < / a >
2022-11-18 18:35:08 +03:00
< a href = "https://github.com/tonyakwei" > < img src = "https://github.com/tonyakwei.png" width = "40px" / > < / a >
2022-11-18 23:38:39 +03:00
< a href = "https://github.com/crosbyh" > < img src = "https://github.com/crosbyh.png" width = "40px" / > < / a >
2022-12-03 03:58:11 +03:00
< a href = "https://github.com/mdlnr" > < img src = "https://github.com/mdlnr.png" width = "40px" / > < / a >
2022-12-10 17:01:40 +03:00
< a href = "https://github.com/p-samuel" > < img src = "https://github.com/p-samuel.png" width = "40px" / > < / a >
2022-12-12 18:54:53 +03:00
< a href = "https://github.com/zugaldia" > < img src = "https://github.com/zugaldia.png" width = "40px" / > < / a >
< a href = "https://github.com/NathanSweet" > < img src = "https://github.com/NathanSweet.png" width = "40px" / > < / a >
2022-12-13 23:21:06 +03:00
< a href = "https://github.com/msdeibel" > < img src = "https://github.com/msdeibel.png" width = "40px" / > < / a >
2022-12-14 13:38:33 +03:00
< a href = "https://github.com/ksurl" > < img src = "https://github.com/ksurl.png" width = "40px" / > < / a >
2022-12-19 18:02:19 +03:00
< a href = "https://github.com/CodingTimeDEV" > < img src = "https://github.com/CodingTimeDEV.png" width = "40px" / > < / a >
2022-12-21 17:39:13 +03:00
< a href = "https://github.com/Terrormixer3000" > < img src = "https://github.com/Terrormixer3000.png" width = "40px" / > < / a >
2022-12-23 16:39:44 +03:00
< a href = "https://github.com/voroskoi" > < img src = "https://github.com/voroskoi.png" width = "40px" / > < / a >
2022-12-24 20:11:40 +03:00
< a href = "https://github.com/Nickwasused" > < img src = "https://github.com/Nickwasused.png" width = "40px" / > < / a >
2022-12-31 17:32:59 +03:00
< a href = "https://github.com/bahur142" > < img src = "https://github.com/bahur142.png" width = "40px" / > < / a >
2023-01-03 06:24:00 +03:00
< a href = "https://github.com/vinhdizzo" > < img src = "https://github.com/vinhdizzo.png" width = "40px" / > < / a >
< a href = "https://github.com/Ge0rg3" > < img src = "https://github.com/Ge0rg3.png" width = "40px" / > < / a >
2023-01-03 19:28:51 +03:00
< a href = "https://github.com/biopsin" > < img src = "https://github.com/biopsin.png" width = "40px" / > < / a >
2023-01-04 17:38:52 +03:00
< a href = "https://github.com/thebino" > < img src = "https://github.com/thebino.png" width = "40px" / > < / a >
2023-01-12 18:25:13 +03:00
< a href = "https://github.com/sky4055" > < img src = "https://github.com/sky4055.png" width = "40px" / > < / a >
2022-09-05 22:05:44 +03:00
2022-12-13 23:21:06 +03:00
I'd also like to thank JetBrains for providing their awesome [IntelliJ IDEA ](https://www.jetbrains.com/idea/ ) to me for free,
2023-01-10 18:01:28 +03:00
and [DigitalOcean ](https://www.digitalocean.com/ ) for supporting the project:
2022-11-25 17:10:40 +03:00
< a href = "https://www.digitalocean.com/" > < img src = "https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg" width = "201px" > < / a >
2022-12-12 23:06:04 +03:00
## Code of Conduct
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
**We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.**
_Please be sure to read the complete [Code of Conduct ](CODE_OF_CONDUCT.md )._
2021-10-23 22:22:17 +03:00
## License
2021-11-20 04:21:16 +03:00
Made with ❤️ by [Philipp C. Heckel ](https://heckel.io ).
The project is dual licensed under the [Apache License 2.0 ](LICENSE ) and the [GPLv2 License ](LICENSE.GPLv2 ).
2021-10-24 21:51:49 +03:00
Third party libraries and resources:
2022-08-14 15:29:24 +03:00
* [github.com/urfave/cli ](https://github.com/urfave/cli ) (MIT) is used to drive the CLI
2022-03-06 18:42:05 +03:00
* [Mixkit sounds ](https://mixkit.co/free-sound-effects/notification/ ) (Mixkit Free License) are used as notification sounds
* [Sounds from notificationsounds.com ](https://notificationsounds.com ) (Creative Commons Attribution) are used as notification sounds
* [Roboto Font ](https://fonts.google.com/specimen/Roboto ) (Apache 2.0) is used as a font in everything web
* [React ](https://reactjs.org/ ) (MIT) is used for the web app
* [Material UI components ](https://mui.com/ ) (MIT) are used in the web app
* [MUI dashboard template ](https://github.com/mui/material-ui/tree/master/docs/data/material/getting-started/templates/dashboard ) (MIT) was used as a basis for the web app
* [Dexie.js ](https://github.com/dexie/Dexie.js ) (Apache 2.0) is used for web app persistence in IndexedDB
2021-11-03 18:33:34 +03:00
* [GoReleaser ](https://goreleaser.com/ ) (MIT) is used to create releases
2021-12-28 19:36:12 +03:00
* [go-smtp ](https://github.com/emersion/go-smtp ) (MIT) is used to receive e-mails
* [stretchr/testify ](https://github.com/stretchr/testify ) (MIT) is used for unit and integration tests
2021-11-03 18:33:34 +03:00
* [github.com/mattn/go-sqlite3 ](https://github.com/mattn/go-sqlite3 ) (MIT) is used to provide the persistent message cache
* [Firebase Admin SDK ](https://github.com/firebase/firebase-admin-go ) (Apache 2.0) is used to send FCM messages
2021-11-29 17:34:43 +03:00
* [github/gemoji ](https://github.com/github/gemoji ) (MIT) is used for emoji support (specifically the [emoji.json ](https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json ) file)
2022-03-06 18:42:05 +03:00
* [Lightbox with vanilla JS ](https://yossiabramov.com/blog/vanilla-js-lightbox ) as a lightbox on the landing page
2022-03-11 05:55:56 +03:00
* [HTTP middleware for gzip compression ](https://gist.github.com/CJEnright/bc2d8b8dc0c1389a9feeddb110f822d7 ) (MIT) is used for serving static files
2022-03-11 19:46:19 +03:00
* [Regex for auto-linking ](https://github.com/bryanwoods/autolink-js ) (MIT) is used to highlight links (the library is not used)
2021-11-21 04:18:40 +03:00
* [Statically linking go-sqlite3 ](https://www.arp242.net/static-go.html )
2022-03-11 18:43:18 +03:00
* [Linked tabs in mkdocs ](https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#linked-tabs )