Version: 1.6.1 Web: binwiederhier/ntfy

This author used to have a custom-made backup system that would update an extra copy of the $HOME directory on an external drive each night. That was a simple combo of Cron and a custom-tailoured Bash script, which contained the notification solution: the script collected all details in a log and then sent it via Postfix to a Gmail account.

That was fully functional, rock-solid, but there was always the feeling that there could be a more elegant solution of being notified of a backup attempt. If you agree then take a look at Ntfy, a great way of pushing custom messages right to your Android phone (iOS support isn’t here yet, but it’s being worked on). It’s blazingly fast, easy to set up and totally free. You’ll need to install the Ntfy Android app via Google Play or F-Droid, create a ‘topic’ (random text string), and that’s about it. Check to see how it works with $ curl -d “Hello World!”, but where’s the actual Hotpick? As you can see, we’ve just used the public Ntfy.shserver for pushing our test hello message. If you don’t need to transfer any sensitive information via Ntfy, then it’s fine to stay with that public server. However, it’s much better to host your own. The Ntfy documentation explains how to get a self-hosted Ntfy server up and running via installing traditional Linux packages, or going with a Docker image (alternatively, consult build the server part from sources). Having your own Ntfy server instance under your control is always a good idea. On the phone part you’ll need to check the ‘Use another server’ mark in the subscription dialog and then provide your Ntfy server address. The rest should work just the same way as if using the public server.

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99c
30 day trial, then just $9.99 / month. Cancel anytime. New subscribers only.

Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...

View Issues
Linux Format
March 2022

Other Articles in this Issue

Not so private networks
I have no idea what you get up
This issue we’re exploring VPNs. We asked our experts if they use a specific one, how they hide their online tracks (if at all) and their paranoid online fears!
2022: the year of Linux gaming?
Hold on to your gamepads – there’s some great stuff coming for Linux video gaming
TikTok accused of violating GPL licence
TikTok’s new Live Studio desktop streaming application has been accused of using code from OBS Studio
Intel Alder Lake gets Linux boost
Update to Linux drivers will give Intel’s latest processors a hike in performance
Matt Yonkovit Head of open source strategy and
Keith Edmunds is MD of Tiger Computing Ltd,
RIP a.out
Archaic file format looks set to disappear from Linux
New ransomware discovered
SFile ransomware has been ported to Linux
Mozilla and Mint join forces
Linux Mint announces that it’s teaming up with the “champion of Open Source”
Distro watch
What’s down the side of the free software sofa?
Alexandros Frantzis is a senior software engineer at
Jon Masters has been involved with Linux for
Jon Masters summarises the latest happenings in the Linux kernel, because someone has to
Got a burning question about open source or the kernel? Whatever your level, email it to
WRITE TO US Do you have a burning Linux-related
System Monitor Center
Version: 0.3 Web: hakandundar34coding/system-monitoring-center
Version: 5.0 Web: tesseract-ocr/tesseract
Version: 3.0.1 Web: haampie/libtree
Video trimmer
Version: 0.7 Web: YaLTeR/video-trimmer
Rusty Aquarium
Version: 0.13 Web: ollej/rusty-aquarium
Version: 3.6.2 Web: https://github . com/ramiel/caravaggio
Version: 0.3 Web:
Version: 1.3 Web:
Kage Studio
Version: 0.4.2 Web:
System G
Version: 3.0.1 Web:
Intel NUC 11 Extreme PC
Kizito Katawonga wonders what happened to the NUC of the past?
Kingston XS2000 External SSD
Next-gen external USB 3.2 2x2 storage goes mainstream with Ganesh T S at the testing station
Neptune 7.0
Debian-based KDE distros are a dime a dozen, so Mayank Sharma was keen to see how it stacks up against the competition
Slackel 7.5
Mayank Sharma finds this distribution combines Slackware and USB distros with two use-cases: older computers and portable installations
Siduction 2021.3.0
You probably think Mayank Sharma has a thing for Debian-based KDE distros, but he’ll want you to believe that it’s just coincidence
Pop!_OS 21.10
Keyboard-driven Jonni Bidwell is excited by the prospect of new shortcut keys and swish application launchers. Will his enthusiasm be curbed?
Oxygen Not Included
Management are thrilled with Christopher Livingston’s latest cost-saving suggestion: workers don’t really need to breathe, do they?
GUI text editors
Within the world of Linux, so often we need to invoke a text editor to get the heart of the matter. Michael Reed investigates the best of the current crop
General-purpose text editor
How does it perform when working with configuration and log files?
Licence and installation
What does it take to get hold of this software and install it?
To what extent can you make your text editor feel like home?
User interface
We want something efficient and pleasant
Documentation and community
Extensive features aren’t much good if you can’t figure out how to use them
Additional plugins
Improve your enjoyment of using an editor and increase productivity too
Suitable for programmers?
Editing and creating source code is a common task for a text editor
The Verdict
GUI text editors
The ever-sceptical Jonni Bidwell is here to cast doubt on the highly profitable VPN business, and show you how you can do better…
The why and wherefore of VPNs
It’s not VPNs that are bad, rather people’s unrealistic expectations of privacy. And, in a pay-per-click age, honesty
Run a WireGuard VPN
WireGuard is the newest, leanest, meanest VPN protocol on the scene. Let’s get those wires guarded!
Tor and other VPN alternatives
Tor has long been regarded as the gold standard for privacy and anonymity. See how easy it is to go dark
Extra measures
See what VPNs don’t and can’t protect against, and bolster your privacy with a layered approach
Celebrating the Raspberry Pi at 10
The Raspberry Pi has achieved so much more than just material success, as Neil Mohr reveals…
Raspberry Pi OS
Les Pounder takes the latest Raspberry Pi OS, otherwise known as Bullseye, for a ride… but does it miss the target?
How to easily create multi-HAT Pi projects
Aaron Peters examines building a distro from the ground up with Linux From Scratch, because why take the easy way?
Managing passwords
Build your own dynamic timelines
Emulate the classic MSX system
Multi-boot USB drives for easy distro hopping
Use the powerful Ventoy to repair operating systems and make distrohopping so much simpler, with a bit of help from Matthew Holder
Understand and deploy security keys
Stuart Burns reveals how you can quickly boost your system’s protection using security keys and Multi Factor Authentication (MFA)
Recipe management done by the book
Credit: https://hay-kot.github
Publishing a hit book using Linux
Have you ever wanted to publish your own book? Michael Reed demonstrates that all of the tools you need exist on Linux
Perl at 34
Jonni Bidwell tries not to cut himself on the “Swiss army chainsaw” of programming languages, Perl
Create 3D gaming worlds with Python
Understanding the basics of rending a 3D world is a great way to understand game code. Lock and load, says Andrew Smith…
Use Python to get more from Dropbox
Mihalis Tsoukalos explains how to use the Dropbox REST API with Python to create your own custom tools