Today's Deep-Dive: ntfy
Ep. 99

Today's Deep-Dive: ntfy

Episode description

ntfy is a powerful notification service that allows users to send custom notifications to their phones or computers. It operates using HTTP, similar to web browsing, but focuses on sending small messages called notifications through specific channels known as topics. Users can receive notifications via a free app, a web app, or by self-hosting their own server for more control. The service is designed to be accessible for all tech skill levels, with pre-existing topics available for those who may not want to write code. Unique features include action buttons within notifications, enabling users to execute commands directly from their devices, such as restarting servers or approving code deployments. ntfy is free and open-source, with optional Pro plans offering additional features like reserved topic names and priority support. The tool is versatile, catering to both technical applications and everyday life enhancements, such as reminders for personal tasks. Users have creatively utilized ntfy for various purposes, from monitoring website changes to tracking hobbies like sourdough starter progress. Overall, ntfy simplifies and enhances digital communication, making it easier for users to stay informed and interact with important information.

Download transcript (.srt)
0:00

Welcome to another deep dive, everybody.

0:01

And today we're going to be talking about ntfy.

0:04

This is a tool that lets you send custom notifications

0:06

straight to your phone or computer.

0:08

And I'm very excited to learn more about it.

0:10

Oh, and before we dive in, a quick shout out

0:13

to our sponsor, Safe Server.

0:15

They're experts in digital transformation.

0:17

And they also, believe it or not,

0:18

handle the hosting for this amazing tool.

0:20

If you're interested in leveling up your tech game,

0:22

you can head over to www.safeserver.de.

0:26

That's awesome, yeah, and ntfy is a simple, but really

0:31

powerful notification service.

0:32

So it's perfect for anyone who wants

0:35

to stay informed about the things they care about,

0:37

like website updates, server alludes, or even fun things

0:41

like getting a notification when your laundry's done,

0:43

or anything like that.

0:44

So it's very versatile.

0:45

I love that no more checking the dryer every five minutes.

0:48

OK, well, we've got a bunch of documents here about ntfy.

0:50

But let's start with the basics.

0:52

What exactly is ntfy, and how does it work?

0:55

So imagine ntfy as like your own personal messaging system.

0:59

It uses something called HTTP, which is basically

1:02

like the language of the web.

1:03

Like every time you visit a website or send an email,

1:07

your device uses HTTP to communicate

1:09

with the servers out there.

1:11

OK, so it's like using the same technology as browsing the web.

1:14

Exactly.

1:15

But instead of sending web pages or emails,

1:17

ntfy sends small messages.

1:19

We call these notifications.

1:21

And you create specific channels for different types

1:23

of notifications, and we call those topics.

1:25

Ooh, OK, I like that.

1:26

So let's say I want to get notified whenever

1:28

there's a new post on my favorite blog.

1:31

I would create a blog updates topic.

1:34

Precisely.

1:34

Then you could set up the blog to send a notification

1:37

to that topic whenever a new post is published.

1:41

And how do I actually receive these notifications?

1:43

Do I have to be constantly checking

1:45

some website or something?

1:46

No, not at all.

1:47

That's actually where the beauty of ntfy comes in.

1:49

You can use their free app for your phone,

1:51

a web app on your computer, or even set up your own server

1:54

if you want, like full control.

1:56

So there's like an option for every level of tech savviness.

2:00

Absolutely.

2:01

OK, I love that.

2:02

Now, I know some of our listeners

2:04

might be new to this whole notification thing, right?

2:06

Could you give us like a super, super simple example

2:08

of how ntfy works in practice?

2:11

Yeah, for sure.

2:12

So imagine you have a script on your computer

2:14

that backs up your important files every night, right?

2:17

You could add a simple line of code

2:19

to that script that sends an ntfy notification

2:21

to your phone once the backup is complete.

2:24

Ah, OK, so instead of wondering if that backup worked,

2:26

I'd get a little ping on my phone saying backup successful.

2:29

Exactly, and that's just like scratching the surface.

2:31

ntfy lets you customize these notifications

2:34

with different priority levels.

2:36

So like a critical server alert would

2:38

sound different from a reminder to water your plants.

2:41

You can even attach images or files.

2:43

Wait, attach files?

2:44

Like I could get a notification with a snapshot

2:46

from my security camera?

2:47

Exactly, or a notification, like when your 3D printer finishes

2:50

a job, complete with a photo of the finished product.

2:53

This is blowing my mind.

2:54

OK, hold on.

2:55

And you said I can even set up my own ntfy server.

2:57

What are the benefits of doing that?

2:59

So self-hosting gives you complete control

3:02

over your data and allows you to integrate ntfy

3:05

into your own systems, like a little bit deeper.

3:07

Plus it can be a fun project for those who like to tinker.

3:10

I can already see the wheels turning for some

3:12

of our techie listeners out there.

3:14

Yeah.

3:14

OK, so we've got a good handle on the basics of ntfy.

3:17

But what makes it stand out from other notification systems?

3:21

Couldn't I just use email for some of this stuff?

3:23

That's a good point, yeah.

3:25

While email is certainly useful for a lot of things,

3:27

ntfy is designed specifically for real-time notifications.

3:31

So it's lightweight, efficient, and super flexible.

3:34

Plus it offers features that email just can't match.

3:37

OK, like what?

3:38

Give me some examples.

3:39

I'm very curious.

3:40

For example, ntfy allows you to create action buttons

3:43

right within your notifications.

3:45

So let's say you get an alert that your website is down.

3:49

Instead of logging into your server to restart it,

3:52

you could have a button in the notification that does it

3:55

for you with a single tap.

3:57

Oh, wow, so that sounds incredibly convenient.

3:59

So I could manage my entire server

4:00

from my phone using ntfy.

4:03

Well, maybe not your entire server,

4:05

but you could certainly handle common tasks

4:07

and get immediate feedback without interrupting

4:10

your workflow.

4:11

OK, OK, I'm starting to see the real power here.

4:13

But how do these action buttons actually work?

4:15

Is it like some complicated coding magic?

4:18

No, not at all.

4:18

It's surprisingly straightforward, actually.

4:21

Essentially, when you create a notification

4:23

with an action button, you also specify a command or script

4:27

that should be executed when the button is pressed.

4:29

OK, so let's say I wanted to create a notification that

4:31

lets me approve a code deployment with a single tap.

4:34

What would that look like in practice?

4:36

OK, let's break it down.

4:37

So you would send a notification to your phone

4:39

with a message like, new code deployment ready for approval.

4:42

And this notification would include

4:44

a button labeled approve.

4:45

OK, so far so good.

4:47

What happens when I tap that approve button?

4:49

When you tap approve, the Intify app

4:51

would send a signal back to your system,

4:53

triggering a predefined script.

4:55

And this script could be something

4:56

as simple of running a command to deploy the new code.

4:59

Oh, so the button press on my phone

5:00

essentially kicks off a chain reaction that

5:02

automates the deployment process.

5:04

Precisely, and this same principle

5:06

can be applied to countless scenarios,

5:08

from managing your smart home devices

5:10

to controlling your media center.

5:12

This is truly next level stuff, but I have to admit,

5:14

all this talk about scripts and servers

5:16

might sound a bit intimidating to some of our listeners who

5:18

are new to the tech world.

5:20

Is Intify really accessible to beginners,

5:23

or do you need to be like a coding wizard to use it?

5:25

That's a valid concern, but rest assured,

5:28

Intify is actually designed with simplicity in mind.

5:31

You don't need to be a coding expert to get started.

5:33

In fact, you can experience the magic of Intify

5:36

without writing a single line of code.

5:38

Really?

5:38

How is that possible?

5:39

Remember those topics we talked about earlier?

5:41

Well, there are tons of preexisting topics

5:44

that you can subscribe to for all sorts of useful notifications.

5:47

So instead of setting up my own scripts and commands,

5:49

I could just tap into these existing notification streams.

5:51

Exactly.

5:52

For example, there is a popular website monitoring service

5:55

called changedetection.io that uses Intify.

5:59

You can subscribe to a topic for a specific website,

6:02

and you'll get a notification whenever that website changes.

6:05

So I could get notified when a new episode, my favorite

6:07

podcast, is released, or when tickets go on sale for a concert.

6:11

Exactly.

6:12

And there are tons of other pre-made integrations

6:14

for things like server monitoring, weather alerts,

6:17

sports scores, and even stock prices.

6:19

Wow, the possibilities are endless.

6:21

OK, so we've covered a lot of ground here,

6:23

from simple notifications to really powerful automation

6:26

with these action buttons, right?

6:27

But I'm curious, what are some of the more unique or unexpected

6:31

ways people are using Intify out there?

6:33

I'm always curious to learn more.

6:34

Oh, yeah, one of my favorite things about the Intify

6:36

community is how creative they are.

6:38

People are constantly coming up with new and innovative ways

6:41

to use Intify, really pushing the boundaries

6:43

of what's possible.

6:44

Oh, wow, do you have any cool examples?

6:46

I'm always fascinated by how people hack these tools

6:48

to do really cool things.

6:50

Absolutely.

6:50

I've seen people use Intify for everything,

6:53

from tracking the progress of their sourdough starter

6:55

to getting reminders about watering their plants.

6:58

Just very unique use cases.

7:00

Wait, sourdough starter notifications.

7:02

That's incredible.

7:03

I guess when you think about it, Intify

7:05

can be used for any event that triggers a change in a system,

7:09

whether it's a website update or a rise in dough.

7:11

Precisely, and that's what makes it so versatile.

7:13

It's not just limited to technical applications.

7:16

It can be used to enhance any aspect of your life

7:18

where timely notifications could be beneficial.

7:22

Speaking of enhancing our lives, I

7:23

think this is a good time to bring up the Intify ecosystem.

7:27

We've talked about the apps and the possibility of self-hosting,

7:30

but there's more to it, right?

7:32

Absolutely.

7:32

Intify offers a range of options to suit

7:35

different needs and preferences.

7:37

There's the free public service at intify.sech,

7:40

which is a great starting point.

7:42

Then there are the mobile apps for Android and iOS,

7:45

which provide a really seamless notification experience

7:49

on your phone.

7:50

And for those who prefer a desktop experience,

7:52

there's the web app, too, right?

7:53

Exactly.

7:54

The web app lets you receive notifications right

7:56

in your browser, so you don't have to be constantly checking

7:59

your phone.

8:00

And as we mentioned earlier, for ultimate control

8:02

and flexibility, you can self-host your own ntfy server.

8:05

Now, I know some of our listeners are probably

8:07

wondering about the cost.

8:08

Is ntfy completely free, or are there paid options available?

8:11

That's a great question.

8:12

The core functionality of ntfy is entirely free and open

8:15

source, however.

8:17

They do offer ntfy Pro plans for those

8:19

who need additional features or want to support the project's

8:22

development.

8:23

OK, so what kind of features are we

8:24

talking about with these Pro plans?

8:25

The Pro plans offer things like reserved topic names,

8:29

more storage space for attachments,

8:31

and priority support.

8:32

They're a great option for businesses or power users

8:35

who really heavily rely on ntfy.

8:37

But for the average user, the free tier

8:39

is more than enough to get started

8:41

and explore the wonderful world of notifications, right?

8:43

Absolutely.

8:44

And it's worth noting that even with the Pro plans,

8:47

ntfy remains super affordable.

8:49

Plans start at just a few dollars a month.

8:52

So no matter your budget or your technical expertise,

8:54

there's an ntfy option for you.

8:56

I think we've covered pretty much everything about ntfy,

8:59

from how it works to those really cool advanced features

9:02

like action buttons and self-hosting.

9:04

Any final thoughts before we wrap up this deep dive?

9:07

I think the key takeaway here is that ntfy

9:09

is an incredibly powerful and versatile tool that

9:12

can be used to really simplify and enhance your digital life.

9:15

Whether you're using it for work, personal projects,

9:18

or just having fun, ntfy has the potential

9:21

to revolutionize the way you receive and interact

9:24

with information.

9:25

I couldn't agree more.

9:26

It's been such an eye-opening journey for me.

9:28

I'm already brainstorming all the ways

9:29

I can integrate ntfy into my workflow.

9:32

And speaking of making things happen,

9:34

a huge thank you to Safe Server for sponsoring this deep dive

9:37

and for their incredible dedication

9:38

to digital transformation.

9:40

You can head over to www.safeserver.de

9:43

to learn more about all their innovative solutions.

9:45

Yeah, they're truly paving the way

9:47

for a more connected and efficient future for all of us.

9:50

So as we conclude our deep dive into ntfy,

9:52

I want to leave our listeners with a little challenge.

9:54

Think about all the information you wish you

9:56

had right at your fingertips.

9:57

What notifications would make your life easier, more

10:00

productive, or just more enjoyable.

10:02

The possibilities really are endless with a tool like this.

10:05

That's the beauty of ntfy.

10:06

It really empowers you to create a world

10:08

where you're always in the loop, never missing a beat.

10:11

So go forth, fellow learners, and start

10:13

exploring the exciting world of custom notifications

10:15

with ntfy.

10:16

Until next time, happy notifying.