masterful / midna

:smiling_imp: A browser companion for technology self-control not self-parenting.

Home Page:https://goatandsheep.github.io/midna

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

midna

Userscript browser extension to manage browser breaks with science

Try me! Or install

y?

Most productivity apps are focused on self-parenting. Blocking websites you genuinely enjoy makes you demonize yourself initially for liking them and eventually the tool when you grow to hate it for stopping you. This extension is about empowering you control your breaks not tell you what to do.

When we "waste" time online is it really avoiding work or are you overdue for a break? This extension helps you take healthy breaks and take back control over your schedule in a way that is fair to your dopamine receptors.

Before we talk about what this does, let's talk about a few questions about breaks:

  1. How do you know when you need a break? If we can be stimulated by our work then isn't it possible for us to be addicted to work too? Yes we need to recognize the signs of overwork and over-play. If you're working sometimes we reach for social media as an escape. But there can be good reasons for this too. Maybe you actually have worked too long and need a break. Our extension will ask if you want a timer to take a controlled break or remind you to consider an off screen break. Perhaps you're working on a tough work issue and you instinctively open a danger site to avoid it. When you reach for social tabs, the extension will ask if you would benefit from moving on to something else, taking a step back to look at the bigger picture, ask for help, or push through for 5 more minutes. The extension is not meant to stop you from taking a break. Rather it is meant to help you make a good decision and stay in control. It's easy for us to fall into habits of addiction to websites engineered to hold our attention better than it is healthy to. On the flip side if you're trying to work on being more disciplined, you can enter a different problem because you don't want to get in the habit of avoiding tough problems but you don't want to spend so long down the rabbit hole trying to stay disciplined as this actually hinders your productivity.
  2. What is the difference between an unplanned escape / addiction and a controlled break? If you are taking planned breaks with a timer and are intentional in how long you want to spend, your break is controlled. For example, if you always demonize opening Facebook you may regret missing posts or not being able to ever post. This regret will make you less happy about wanting to use a particular planning system because it prevents you from doing something you want to do just not too long. If you plan to spend 15 minutes to post some pictures and catching up then you are taking a planned break. When you are out of control, the extension is meant to remind you to take control not necessarily tell you what to do.
  3. What if you need a danger website for work? If you open a website like YouTube that can be used for work like tutorials, you don't want to be prevented from using an effective tool. Midna initially asks you if it is for work. In this case, you can set a timer for how long. This is because it's easy to click something off topic. It is also easy to convince yourself the next thing you open is work because it is informative and can even be relevant to work even if you're just using it as an escape. Also it is still not healthy to work for extended periods of time. Think 30 minute intervals like the Pomodoro technique. We need moderation not avoidance.

So what does this do?

This is a very simple browser extension that uses browser alerts in a conversational way. That's because you don't really need much else. Open the code and add your list of danger sites. For everything else the extension will prompt you in the moment. How long you want to spend on something should be situational or it becomes automatic and you're not in control.

Control is about being intentional not self-parenting.

Why didn't you use ChatGPT?

ChatGPT is great at learning from others. This is structured to help you ask yourself the right questions.

Why did you build this?

Because I desperately needed the tool. As someone with ADHD, I'm always looking for better ways to balance discipline, anxiety, and physical health.

https://m.youtube.com/shorts/DhNcClbtcRg

Installation

Currently it is a userscript which is a rudimentary version of a browser extension. What is a userscript?

  1. Make sure to have a Userscript client installed:
    1. Google Chrome: Tampermonkey. If you are on Android, install Kiwi Chrome first.
    2. Mozilla Firefox: Greasemonkey or Tampermonkey.
      1. Mobile: Tampermonkey
    3. Opera: enable chrome extensions, then install Tampermonkey from the Chrome extension store.
    4. Microsoft Edge: Tampermonkey.
  2. Click here to install the userscript
  3. Confirm your intention to install the Userscript.

Future Features

  • One timer for all break websites using cookies.

:[

About

:smiling_imp: A browser companion for technology self-control not self-parenting.

https://goatandsheep.github.io/midna

License:MIT License


Languages

Language:JavaScript 96.2%Language:HTML 3.8%