Close the door.
Do the work.

Bastion keeps the sites that pull you away out of reach, in any browser, not just Safari. And it holds, even when you'd rather it didn't.

Free and open source · macOS 27 on Apple silicon

Less noise.
More of your day.

Start a focus session when you need one. Keep some sites closed for good. Let schedules and daily limits handle the rest, quietly, in the background.

Focus sessions

Pick a length. Press start.

The countdown does the rest. Lock a session and not even you can end it early.

Always-on

Some doors stay shut.

Keep them closed around the clock, session or not.

  • youtube.com
  • x.com
  • reddit.com
  • Adult content
Schedules

Mornings, handled.

Set the hours once. Bastion keeps them.

Daily limits

A little, not all afternoon.

Give a site thirty minutes a day. When they're gone, it closes until tomorrow.

Any browser

No side door.

Chrome, Arc, Dia or whatever you use. A blocked site stays blocked.

  • Vivaldi
  • Chromium
  • Chrome
  • Arc
  • Dia
  • Safari
  • Brave
  • Microsoft Edge
How it holds

Closing is instant.
Opening takes time.

Block a site and it closes right away. Unblock one and the change waits a day, long enough for the urge to pass. Quitting the app doesn't end it. Try it.

x.comOpen
  1. Nothing yet. Block x.com to start.

Your lists stay yours.

No account, no server. What you block, and when, never leaves your Mac.

Open to inspection.

Every line is on GitHub under the MIT licence. Read it, build it, check our work.

A kind note, not a scolding.

A blocked page shows a calm reminder, in your own words if you like. Never a way around.

Get back to
what matters.

curl -fsSL https://raw.githubusercontent.com/Vractos/Bastion/main/scripts/get-bastion.sh | bash

Paste it into Terminal. You need macOS 27 on Apple silicon and an administrator account: macOS asks for your password once. What the command does

Bastion for iOS Coming soon