One-Tap Failsafe

nukeit

One-tap remote failsafe for Android

Save the commands you'd reach for when it counts, like a screen lock, a backup or a shutdown, and run them over SSH on your Linux, macOS and Windows machines. From the app, or straight from your home screen.

  • Android 7.0 or later
  • Linux, macOS, Windows over SSH
  • LAN or the internet
  • No account and no server
The home screen: four machines, three online and one offline, each with its address, platform and networkThe home screen: four machines, three online and one offline, each with its address, platform and network

Why

A failsafe shouldn't need a keyboard.

You left a machine unlocked. A session has to end now. A containment script has to run before anything else does. Normally that means opening a terminal, finding the host and typing the command while the clock runs. nukeit keeps those actions saved and one tap away.

Scripts

One tap runs it.

Save any command under a name. Execute opens the SSH session if one isn't open, runs the command and shows how it ended, right above the list.

  • On Linux and macOS a command runs in a login shell, so your PATH and profile are loaded.
  • Every run reports its exit code, and a failure shows the machine's own error.
  • A command still going after two minutes is reported as still running, not as failed.
A machine's scripts: Check health just ran with exit 0, and each script has an Execute buttonA machine's scripts: Check health just ran with exit 0, and each script has an Execute button

Slide to Run

The dangerous ones need a slide.

Flag a script as dangerous and its Execute button becomes a slide. Drag the thumb to the end and it runs; let go early and it slides back. A stray tap while you scroll does nothing.

  • On the home-screen widget, a dangerous button asks for a second tap within four seconds.
  • Screen readers get a double-tap action in place of the drag.
A dangerous script, Shut down, with its Slide to run control dragged halfwayA dangerous script, Shut down, with its Slide to run control dragged halfway

Shortcuts

Keyboard shortcuts, pressed for you.

Pick from presets for the machine's OS or type your own, like Super+L. nukeit presses them on the machine's desktop: with xdotool on Linux, System Events on macOS, and a task in the signed-in session on Windows.

  • When a Linux shortcut fails, nukeit checks for xdotool and for a Wayland desktop and tells you which it was.
  • Each send shows whether it went through, or the machine's error.
A machine's keyboard shortcuts: Lock Screen was just sent; Show Desktop and Close Window wait belowA machine's keyboard shortcuts: Lock Screen was just sent; Show Desktop and Close Window wait below

Terminal

See exactly what happened.

Every command, its output and its exit code land in the machine's terminal, so a run that went wrong shows you why.

  • Clear it whenever you like; it lasts until you close the app.
The terminal: two commands with their output and exit codesThe terminal: two commands with their output and exit codes

Reachability

Check before you connect.

Ping checks a machine without signing in. On the LAN it tries ICMP first, then a TCP connection to the SSH port, because plenty of networks block ping but allow SSH. Machines over the internet go straight to TCP.

  • A machine's page shows whether it's online and when it was last seen.
Ping from the add-machine form: Reachable, over TCPPing from the add-machine form: Reachable, over TCP

Widget

Four buttons on your home screen.

Bind a script to each of its four colours. A press runs it in the background without opening the app, and the button says how it went, in a word and a colour. It follows your phone's light or dark theme.

  • Bindings follow your edits: change a password or a command and the button uses the new one.
  • A dangerous script's button asks for a second tap within four seconds.
  • A command started from the widget gets 30 seconds.
  1. The widget's pink, blue, green and amber buttons: Lock screen, Check health, Shut down and Sleep nowThe widget's pink, blue, green and amber buttons: Lock screen, Check health, Shut down and Sleep nowReady
  2. The widget with Check health reading Running…The widget with Check health reading Running…Pressed
  3. The widget with Check health reading Done ✓The widget with Check health reading Done ✓Finished
  4. The widget with Shut down reading Tap again to runThe widget with Shut down reading Tap again to runDangerous, first tap

Screens

The Rest of the App

nukeit 2.0.1 on Android 16, with demo machines. Every screen comes in dark and light; switch the site's theme to see the other.

Platforms

What Works Where

Linux

Scripts run
In a login shell (sh -lc)
Shortcuts use
xdotool, on an X11 desktop
Turn on
OpenSSH server

macOS

Scripts run
In a login shell (sh -lc)
Shortcuts use
System Events, once Accessibility allows it
Turn on
Remote Login

Windows

Scripts run
As typed, in OpenSSH's shell (cmd by default)
Shortcuts use
A task in the signed-in session
Turn on
OpenSSH Server

The phone needs Android 7.0 or later. The machine needs an SSH server that accepts a password.

How It Works

Three Steps

  1. 01

    Turn on SSH

    On each machine, enable its SSH server. It takes one setting on macOS and a couple of commands on Linux or Windows.

  2. 02

    Add the machine

    Address, port, platform, network and login. Ping it before you save.

  3. 03

    Save what you'd reach for

    Scripts and shortcuts per machine, and up to four of them on the home-screen widget.

The full guide, from SSH setup to the widget

Privacy

Nothing in Between

No account, no server

nukeit talks to your machines over SSH and to nothing else: no sign-up, no analytics, no backend. It asks Android for internet access and network state, nothing more.

It runs what you saved

Only the commands you wrote, on the machines you added, as the users you gave it. Dangerous scripts need a slide in the app and a second tap on the widget.

Kept on your phone

Machines, scripts and passwords live in the app's private storage on the phone. They aren't encrypted yet, so keep a screen lock on and give nukeit an account of its own.

A VPN beats an open port

nukeit doesn't check a machine's host key yet. On your LAN or through a VPN such as Tailscale that's fine; an SSH port open to the whole internet is better avoided.

FAQ

Questions

Do I need an account, or root on the phone?

No. Install the APK, add a machine and run. Nothing is sent anywhere but to your machines.

Why isn't it on Google Play?

It's distributed from this site, by invite: ask me for a code. The download page shows the file's SHA-256 so you can check it before installing.

Does it work over mobile data?

Yes, as long as the phone can reach the machine: through a VPN such as Tailscale, or a forwarded port. The guide covers both.

Can a script use sudo?

Yes, with a sudo rule that allows that exact command without a password, then sudo -n in the script. Don't put your password in a script; the guide shows the rule.

What about long jobs?

The app waits up to two minutes and the widget 30 seconds. Start anything longer in the background, with nohup, and let it finish on its own.

Will an update keep my machines?

Yes. Install the new APK over the old one; your machines and scripts stay.

Is there an iPhone version?

No. nukeit is Android only.

Download

Ready before you need it.

The APK comes straight from this site, by invite, with its SHA-256 digest so you can check the file before installing it. No code yet? Ask me for one.

Built by Aryan