Dangerzone (FlowState-like plugin prototype)

Hey all, I’ve been a paying customer of FlowState since 2016 and wanted something similar for Obsidian.

It’s really fun. And stressful. But mostly fun.

Basically, you start a timer for X minutes and during those X minutes you must write continuously. If you pause longer than 5 seconds, everything you’ve written is deleted.


I’ve used it to learn how to really, really not care about a first draft (because there isn’t time to care)

If anyone is interested, I could build it to where it’s a community plugin.

Any interest, questions, suggestions?


Ha, I was going to build something similar—really glad I don’t have to! Excited to try this out.

Edit: Any thoughts on the “delete everything” paradigm vs. other options? I was thinking about deleting one word per second to keep the pressure on, but allowing some pauses. Like a forgiveness mode or something.


Haha, that’s a fun idea actually. I hadn’t thought of that.

The question is: Do we want a forgiveness mode?


Oh, I just realized: FlowState does it in a way. The text starts to fade with each idle second until it’s gone. @ryanjamurphy what do you think of that option?

Yeah! I see this kind of option as valuable if you’re trying to keep the pressure on for a longer document. Deleting everything is alright if the content is small, but a less mass-destructive route would be nice if you stand to lose a lot. It makes it easier to use on e.g., draft 2. :wink:


I would be very interested in this! I love Flowstate.


Oh yeah! I’d be all over it.

1 Like

Love it. Sound pretty fun !

Do you have it working in obsidian, or still thinking about the idea of making a plugin?

I’ve been trying to be better at writing by making a 20 min timer and not having to publish the result so keep drafting, but maybe I need more incentive like this

1 Like

Yup, I just submitted a PR for version 0.0.1 (the one shown in the gif) at https://github.com/obsidianmd/obsidian-releases/pull/70 :slight_smile:

PS: The plugin repo is here: https://github.com/akaalias/dangerzone-writing-plugin


Brilliant Concept, I can’t wait to see what you can add to it!
Will you be adding a setting to change the 100 seconds?

1 Like

I definitely can. What time would you set it to?

Fantastic that you did this!!! In terms of intervals, I would definitely add a 5-minute option (300 seconds), I think that 10 and 15 minute options might also be good to have. But what might be easier (and more urgently needed, for me) is a keyboard hotkey that makes it possible to keep going by resetting the clock quickly, perhaps after taking a sip of water, coffee, or something stronger!

I loved the dangerzone plugin, have been using it for incredible 30minutes now.

Since the discussion for functioinality is still going, I would like to suggest a behavior I thought about for very big files, essentially creating a concept of “saving” or some “checkpoint”.

Disabled checkpoint: X sec, everything deleted
Enabled checkpoint: X sec, all saved until last checkpoint

Checkpoint could be automatic, such as “everything written until the last activation of the timer”, or an shortcut that could play on the writers ability to remember saving, deleting everything under a header…

I think that this could help with creating smaller blocks of work and in-between stops to think about the text, or to use the dangerzone for getting into flow. I dont know of many people that have written a full essay on one sitting :laughing:


A few more suggestions, in addition to a hotkey:

  1. I think that a 5-second fuse is better than a 3-second fuse. It still keeps you on task, but it’s a bit less panicky.
  2. (Nice by not crucial): A way of counting the number of sessions completed (or even just attempted) per day.
1 Like

Hey @AutonomyGaps, @lukeleppan, @hicsuntdragons!

I just published the latest version (0.0.3) which allows you to configure both:

  • Session duration (Default: 60s)
  • Seconds-to-deletion (Default: 5s)

I wanted to give you full flexibility to test out what works best for you (before “setting this in stone” with a limited set of dropdown options)

Just go into your plugin settings and fetch the latest update (0.0.3), then play around to find your ideal session settings.

Thank you

Y’all are famous now, too (paging @roberthaisfield, @ryanjamurphy, @macedotavares, @afokapu) :wink: - I’ve added a “Thank You” section in the settings for your feedback and support. I really appreciate it.

The release is here in case you’re interested: https://github.com/akaalias/dangerzone-writing-plugin/releases/tag/0.0.3

What are your perfect settings?

My ideal Dangerzone Writing Session Duration. (In seconds)
  • 30
  • 60 (1 minute)
  • 120 (2 minutes)
  • 300 (5 minutes)
  • 600 (10 minutes)
  • Longer than 10 minutes

0 voters

My ideal Dangerzone Writing Seconds-To-Deletion. (In seconds)
  • 3 seconds
  • 4 seconds
  • 5 seconds
  • 6 seconds
  • 7 seconds
  • 8 seconds
  • 9 seconds
  • 10 seconds
  • Longer than 10 seconds

0 voters

1 Like

I really like the idea of tracking completed sessions. It’s included in release 0.0.4 => https://github.com/akaalias/dangerzone-writing-plugin/releases/tag/0.0.4

1 Like

Interesting! What would be your ideal hotkey be for this?

How about ⌘⇧-1 – which is ⌘! with the Ausrufzeichen for danger?

1 Like

This is awesome! And how cool to be “famous” now. :wink:

Great to have the counter – and the notification of completion.

For me the crucial thing is to have some options for different types of writing. Sometimes, it’s just a matter of needing some help in getting the pump primed, of not dallying in starting to write about something. For those cases, 2 minutes is actually just fine. Sometimes, though, it’s a matter of really forcing myself to stay with something, and then either 5 or 15 minutes seems best. So, if I had to pick one, I’d go with 5 minutes, but 2 and 15 minutes would be great lengths to have.

For the cutoff timer, I’d probably go with 5. I tried 10, but a felt myself getting soft…

The other thing about having a 2 minute timer that it fits well with David Allen’s “2-minute rule” on a task. I could imagine having Obsidian open next to my email app, and then I have to focus on writing (in Obsidian) what I want to say in response to the email. Then: select all, cut, paste into email, and send.