| 1 |
# Frequently asked questions (FAQ) |
| 2 |
|
| 3 |
## Isn't this like ...? |
| 4 |
Who knows. I didn't do a lot of research before making this. It was fun making it. |
| 5 |
|
| 6 |
## Can I use this in my app? Will it stay free? |
| 7 |
Yes. As long as you don't abuse it, it'll be available and free of charge. While I will always allow usage of the ntfy.sh |
| 8 |
server without signup and free of charge, I may also offer paid plans in the future. |
| 9 |
|
| 10 |
## What are the uptime guarantees? |
| 11 |
Best effort. |
| 12 |
|
| 13 |
ntfy currently runs on a single DigitalOcean droplet, without any scale out strategy or redundancies. When the time comes, |
| 14 |
I'll add scale out features, but for now it is what it is. |
| 15 |
|
| 16 |
In the first year of its life, and to this day (Dec'22), ntfy had **no outages** that I can remember. Other than short |
| 17 |
blips and some HTTP 500 spikes, it has been rock solid. |
| 18 |
|
| 19 |
There is a [status page](https://ntfy.statuspage.io/) which is updated based on some automated checks via the amazingly |
| 20 |
awesome [healthchecks.io](https://healthchecks.io/) (_no affiliation, just a fan_). |
| 21 |
|
| 22 |
## What happens if there are multiple subscribers to the same topic? |
| 23 |
As per usual with pub-sub, all subscribers receive notifications if they are subscribed to a topic. |
| 24 |
|
| 25 |
## Will you know what topics exist, can you spy on me? |
| 26 |
If you don't trust me or your messages are sensitive, run your own server. It's open source. |
| 27 |
That said, the logs do contain topic names and IP addresses, but I don't use them for anything other than |
| 28 |
troubleshooting and rate limiting. Messages are cached for the duration configured in `server.yml` (12h by default) |
| 29 |
to facilitate service restarts, message polling and to overcome client network disruptions. |
| 30 |
|
| 31 |
## Can I self-host it? |
| 32 |
Yes. The server (including this Web UI) can be self-hosted, and the Android/iOS app supports adding topics from |
| 33 |
your own server as well. Check out the [install instructions](install.md). |
| 34 |
|
| 35 |
## Is Firebase used? |
| 36 |
In addition to caching messages locally and delivering them to long-polling subscribers, all messages are also |
| 37 |
published to Firebase Cloud Messaging (FCM) (if `FirebaseKeyFile` is set, which it is on ntfy.sh). This |
| 38 |
is to facilitate notifications on Android. |
| 39 |
|
| 40 |
If you do not care for Firebase, I suggest you install the [F-Droid version](https://f-droid.org/en/packages/io.heckel.ntfy/) |
| 41 |
of the app and [self-host your own ntfy server](install.md). |
| 42 |
|
| 43 |
## How much battery does the Android app use? |
| 44 |
If you use the ntfy.sh server, and you don't use the [instant delivery](subscribe/phone.md#instant-delivery) feature, |
| 45 |
the Android/iOS app uses no additional battery, since Firebase Cloud Messaging (FCM) is used. If you use your own server, |
| 46 |
or you use *instant delivery* (Android only), or install from F-droid ([which does not support FCM](https://f-droid.org/docs/Inclusion_Policy/)), |
| 47 |
the app has to maintain a constant connection to the server, which consumes about 0-1% of battery in 17h of use (on my phone). |
| 48 |
There has been a ton of testing and improvement around this. I think it's pretty decent now. |
| 49 |
|
| 50 |
## Paid plans? I thought it was open source? |
| 51 |
All of ntfy will remain open source, with a free software license (Apache 2.0 and GPLv2). If you'd like to self-host, you |
| 52 |
can (and should do that). The paid plans I am offering are for people that do not want to self-host, and/or need higher |
| 53 |
limits. |
| 54 |
|
| 55 |
## What is instant delivery? |
| 56 |
[Instant delivery](subscribe/phone.md#instant-delivery) is a feature in the Android app. If turned on, the app maintains a constant connection to the |
| 57 |
server and listens for incoming notifications. This consumes additional battery (see above), |
| 58 |
but delivers notifications instantly. |
| 59 |
|
| 60 |
## Can you implement feature X? |
| 61 |
Yes, maybe. Check out [existing GitHub issues](https://github.com/binwiederhier/ntfy/issues) to see if somebody else had |
| 62 |
the same idea before you, or file a new issue. I'll likely get back to you within a few days. |
| 63 |
|
| 64 |
## I'm having issues with iOS, can you help? The iOS app is behind compared to the Android app, can you fix that? |
| 65 |
The iOS is very bare bones and quite frankly a little buggy. I wanted to get something out the door to make the iOS users |
| 66 |
happy, but halfway through I got frustrated with iOS development and paused development. I will eventually get back to |
| 67 |
it, or hopefully, somebody else will come along and help out. Please review the [known issues](known-issues.md) for details. |
| 68 |
|
| 69 |
## Can I disable the web app? Can I protect it with a login screen? |
| 70 |
The web app is a static website without a backend (other than the ntfy API). All data is stored locally in the browser |
| 71 |
cache and local storage. That means it does not need to be protected with a login screen, and it poses no additional |
| 72 |
security risk. So technically, it does not need to be disabled. |
| 73 |
|
| 74 |
However, if you still want, you can require login with the `require-login: true` option, |
| 75 |
or disable it with the `web-root: disable` option in the `server.yml` file. |
| 76 |
|
| 77 |
Think of the ntfy web app like an Android/iOS app. It is freely available and accessible to anyone, yet useless without |
| 78 |
a proper backend. So as long as you secure your backend with ACLs, exposing the ntfy web app to the Internet is harmless. |
| 79 |
|
| 80 |
## If topic names are public, could I not just brute force them? |
| 81 |
If you don't have [ACLs set up](config.md#access-control), the topic name is your password, it says so everywhere. If you |
| 82 |
choose a easy-to-guess/dumb topic name, people will be able to guess it. If you choose a randomly generated topic name, |
| 83 |
the topic is as good as a good password. |
| 84 |
|
| 85 |
As for brute forcing: It's not possible to brute force a ntfy server for very long, as you'll get quickly rate limited. |
| 86 |
In the default configuration, you'll be able to do 60 requests as a burst, and then 1 request per 10 seconds. Assuming you |
| 87 |
choose a random 10 digit topic name using only A-Z, a-z, 0-9, _ and -, there are 64^10 possible topic names. Even if you |
| 88 |
could do hundreds of requests per seconds (which you cannot), it would take many years to brute force a topic name. |
| 89 |
|
| 90 |
For ntfy.sh, there's even a fail2ban in place which will ban your IP pretty quickly. |
| 91 |
|
| 92 |
## Where can I donate? |
| 93 |
I have just very recently started accepting donations via [GitHub Sponsors](https://github.com/sponsors/binwiederhier). |
| 94 |
I would be humbled if you helped me carry the server and developer account costs. Even small donations are very much |
| 95 |
appreciated. |
| 96 |
|
| 97 |
## Can I email you? Can I DM you on Discord/Matrix? |
| 98 |
For community support, please use the public channels listed on the [contact page](contact.md). I generally |
| 99 |
**do not respond to direct messages** about ntfy, unless you are paying for a [ntfy Pro](https://ntfy.sh/#pricing) |
| 100 |
plan (see [paid support](contact.md#paid-support)), or you are inquiring about business |
| 101 |
opportunities (see [other inquiries](contact.md#other-inquiries)). |
| 102 |
|
| 103 |
I am sorry, but answering individual questions about ntfy on a 1-on-1 basis is not scalable. Answering your questions |
| 104 |
in public forums benefits others, since I can link to the discussion at a later point in time, or other users |
| 105 |
may be able to help out. I hope you understand. |