Show HN: Death Plan Switch, a self-hosted dead man's switch for solo devs

Hacker News by 4 min read 29x views
Show HN: Death Plan Switch, a self-hosted dead man's switch for solo devs

Share Post

Death Plan Switch

A small, self-hosted deceased man's toggle for autonomous web developers. It emails you formerly a week. If you halt answering, it asks your next of kin, afterward tells the group who need to act.

Download from GitHub

Free. MIT licence. PHP 8.1 or newer, no database.

How it works

Every stage is counted from the weekly check-in email. The spacing below is to scale.

  1. Check-inHour 0. You media a button.
  2. ReminderHour 24, to the two your addresses.
  3. Last reminderHour 48.
  4. Next of kin askedHour 72. "Is everything all right?"
  5. RemindedHour 120.
  6. Contacts toldHour 144. Each gets the communication you wrote.
  • All fine

    Your next of kin says you're well. It ends there, and nobody alternatively hears a thing.

  • Something's wrong

    Your next of kin says so, and your another contacts are sent their messages direct away.

  • You inspect in

    At any stage, equal following it fires. Anyone already contacted is told it was a false alarm.

The email goes at the identical period all week, so your contacts are told at most 13 days following your final check-in. Opening a nexus never counts: email scanners open links, so you have to media the button.

What it looks like

 the next check-in email is due Monday at 9am, alongside the six-day escalation drawn underneath and three confirmed contacts listed.

Armed. The timeline shows exactly what happens if you young female Monday's email.

 'Are you there, Sam?' alongside a sole button, 'I am here: inspect in'.

The check-in. One button, and beginning the leaf is not enough.

 'Is Sam Rivers all right?' alongside an 'All fine' clasp and a 'Something's wrong' button, all explaining what happens next.

What your next of kin sees. Each answer says what it volition do before they media it.

 messages have gone to three contacts, alongside a clasp to inform them it was a false alarm.

Fired. Your contacts have their messages, and one clasp tells them it was a false alarm.

Why I built this

I run a one-person web studio in local New South Wales. My clients' sites, domains and hosting all run through me. If I died tomorrow, nobody would cognize anywhere item was, or equal that they needed to look.

So I wrote a plan. Everything my endeavor runs on is in one encrypted document. My backup developer holds its password, and my attorney holds a second copy. What was missing was the part in the middle: item that notices I've gone quiescent and tells the correct people, in the correct order, without frightening my family complete a lengthy weekend.

I couldn't discover item uncomplicated that I could presenter myself, so I built it. It emails me formerly a week. If I don't answer, it asks my next of kin first. Only if nobody can say I'm all correct does it inform everyone else.

I’ve been operating it on myself for the final week, alongside my next of kin and my backup developer the two confirmed. If you test it for your own business, I’d really value your feedback: what was confusing, what broke, and what you’d desire it to do differently.

It's liberated and MIT licensed. Use it, or build your own from it.

We all die. Die knowing the correct group volition be told.

What it is not

  • Not a guarantee. It sends emails. It can't cognize why you stopped checking in, and it can't activity if its server, its scheduler or its communication assistance is down.
  • Not a vault. It stores no documents and no passwords. Messages say anywhere things are and who to call.
  • Not a service. There are no accounts and no hosted version. You run it, for yourself.
  • Email only. No SMS, no calls, no app.
  • No warranty. It's MIT licensed and provided as is.

What you need

  • A web server alongside PHP 8.1 or newer. Apache plant as shipped; nginx needs four lines.
  • An SMTP document to dispatch communication through.
  • Cron, or any exterior scheduler that can petition a web location all 15 minutes.
  • HTTPS.
  • Hosting that's distinct from the sites it protects, so one outage can't obtain downward both.

Installing takes a few minutes in the browser. The crontab row is the one specialized step, and the installer writes it for you.

Download from GitHub

Read the README, or browse the source.

Other Article Hacker News
↑
Close Right Ads
Close Left Ads