Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Are certain websites a distraction? SelfRestraint is a cross platform application which blocks access to websites for a predetermined period of time. It can not be undone by the app or by a restart – you must wait for the timer to run out.
tree: d47e00c330

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.




SelfRestraint is a cross platform version of Steve Lambert's SelfControl, written in Python. It allows you to block distracting sites for a set amount of time, so you can use your computer and access the internet without having to worry about distracting sites.


SelfRestraint was developed by Parker Kuivila
The UI and features were inspired by Steve Lambert


SelfRestraint is Free Software under the GPL. You are free to share, modify, and add to the code as you wish.

Known Bugs

  • Mac version requires password, once to block, once to unblock
  • Does not work on Windows
  • Quitting means you have to re run the app, and let is finish the countdown

To Do

  • Add compiled .app and .exe
  • Integrate better to use Admin privileges
  • Decrease compiled app's size
Something went wrong with that request. Please try again.