this post was submitted on 09 Jul 2025
30 points (91.7% liked)

Selfhosted

49438 readers
955 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

In a lot of movies people often say if I don't type a password in then "the" files will be emailed, emails sent to journalists, or the site will go online, etc. exposing whoever it is they are in danger from or blackmailing.

I always thought it was a cool concept, and it probably isn't hard for someone who knows what they're doing to set up some script for that, but I was wondering if there was a self hosted app that you could set up that let you set timers, say for a day, and if a password isn't entered to cancel it, it sends files to an email (maybe configured to hit all news outlets/journalists), deploys a website at a domain thats preconfigured/setup, tweets something, etc.

top 14 comments
sorted by: hot top controversial new old
[–] jayemar@sh.itjust.works 1 points 22 hours ago

I think it would be helpful to work kind of the opposite: I give the login info to a few people I trust, but if theya attempt to login then I'd be alerted and have a week/month to cancel it. Then if I'm dead they're able to get the docs, but if I'm not then I know I maybe shouldn't trust the person who tried to log in.

[–] CameronDev@programming.dev 25 points 4 days ago (1 children)
[–] givesomefucks@lemmy.world 15 points 4 days ago (2 children)

It's called a dead man's switch and there's not really anything complicated about it.

The thing is, it's so so simple I doubt anyone has made a full on app to do it.

Like, the people who do that stuff aren't the type to require an app to do everything for them.

[–] PeriodicallyPedantic@lemmy.ca 13 points 4 days ago

In a world of left-pad, I'm sure someone has made an app for it

[–] rtxn@lemmy.world 8 points 4 days ago (1 children)

My immediate thought is a cron job that tests the user account's last login time and fires a script if it is exceeded.

[–] givesomefucks@lemmy.world 2 points 4 days ago

I'm almost positive outlook can be set up to do it on its own, I was just too lazy to Google how to set it up

[–] q7mJI7tk1@lemmy.world 5 points 4 days ago

just schedule an email to send at a later date/time, then if you don't login to cancel it, off it goes.

[–] trillnsfw@lemmynsfw.com 5 points 4 days ago (1 children)

Feels like it makes sense to self host such an app instead of going through some corporation

[–] PeriodicallyPedantic@lemmy.ca 6 points 4 days ago

Depends on your priorities.

But if your priority is to get the info out there, then you want both, so that it can't be stopped just by your ISP cutting your service or losing power, nor by the service you're using shutting down or deleting your message

[–] stoy@lemmy.zip 3 points 4 days ago* (last edited 4 days ago)

You don't really need a self hosted app, you can write a sceipt to do the following:

  1. Check if file X exists.
  2. If file X does exist, delete it
  3. If file X doesn't exist, delete directory Y

Then create a new scheduled task to run the script every week.

The result is that you have a deadman switch with a weeks delay

Unless you recreate file X every week, directory Y will be deleted.

This is a very simplistic example, but it would be decently difficult to figure out.

[–] irmadlad@lemmy.world 2 points 4 days ago (1 children)

I've always thought about a 'button' on your phone that you could press and wipe an entire encrypted drive. Conversely you could have to log in at an appointed time/interval or the same scenario goes into play.