Skip to main content

Set up ntfy

  1. Install ntfy from Google Play.
  2. In the app, add a topic and choose a topic name.
  3. Subscribe to that topic.
  4. Open the three-dot menu in the top-right corner and select Subscription settings.
  5. Scroll to About and copy the server URL.
On public ntfy servers such as ntfy.sh, topics and their notifications are public to anyone who knows or guesses the topic name. Use the Hazyio password generator to create a long, hard-to-guess topic name and keep it private. Make sure it is no more than 64 characters and contains only letters, numbers, underscores, or dashes.Do not include sensitive information in notification messages. For actual access restrictions, use an authenticated, access-controlled ntfy server or self-host ntfy with authentication configured.

Add ntfy to Midway

Run the Midway setup command. Paste the server URL copied from About, then enter the topic name you created:
By default, Midway sends notifications to all configured methods. To restrict delivery, define notification.send_to and include Ntfy; configured methods left out of the list will not receive notifications. With pick_from: All, Midway sends through every method listed there:
pick_from can further select a subset of the methods in send_to for each notification. You can also add the values directly to midway.yaml under tokens.ntfy: