Skip to content
프로젝트

소개

FocusPocus is a browser extension created to help you maintain focus on your studies by blocking access to pages that may distract you during focus mode.

생산성 및 자동화

이 수치를 측정하는 방법

What you can do

  • Focus timer: presets from 1 minute to 1 hour, or type your own time.
  • Focus screen: during a session, distracting sites are covered by a screen with the time left.
  • Blocklist or allowlist: block a handful of sites, or everything except the tools you work with.
  • Streak: every finished session adds one. Giving up takes two clicks and resets it to zero.

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
0

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
FocusPocus logo

FocusPocus

Transform your productivity like magic.
A free, open source browser extension that blocks distracting sites while your focus timer runs.

Add to Chrome Add to Firefox

MIT license Chrome Manifest V3 Firefox Manifest V2

The FocusPocus popup mid-session in front of its settings page

Features

  • Focus timer: presets from 1 minute to 1 hour, or type your own time.
  • Focus screen: during a session, distracting sites are covered by a screen with the time left.
  • Blocklist or allowlist: block a handful of sites, or everything except the tools you work with.
  • Streak: every finished session adds one. Giving up takes two clicks and resets it to zero.
  • Sounds and notifications: optional, and all off until you turn them on.
  • Light and dark, in your language: English, Brazilian Portuguese and Spanish.
  • Private: no account, no tracking, no servers. Your lists and your streak stay in your browser.

Run it locally

Requires Bun.

git clone https://github.com/gugeldev/focus-pocus.git
cd focus-pocus
bun install            # dependencies and git hooks

bun run dev:chrome     # builds to apps/extension/dist/chrome on every save
bun run dev:firefox    # builds to apps/extension/dist/firefox
bun run dev:web        # the website, on http://localhost:3003

Then load the build in your browser:

  • Chrome: open chrome://extensions, turn on developer mode, click Load unpacked and pick apps/extension/dist/chrome.
  • Firefox: open about:debugging, click Load Temporary Add-on and pick apps/extension/dist/firefox/manifest.json.
Folder What it is
apps/extension The browser extension (React, Tailwind CSS, webpack)
apps/web The website (Next.js), with working copies of the extension's screens
packages/ui The design system both apps are built with
packages/locales The extension's text in English, Portuguese and Spanish
assets/store The store images, exported from the website by bun run store:shots

Contributing

main always matches the published version. The next one is built in a release/<version> branch (currently release/3.1.0), and every change reaches it through a pull request.

  1. Fork the repository and branch off the current release branch, named after the kind of change (feat/pause-button, fix/overlay-flicker).
  2. Write commit messages in English following Conventional Commits (feat(popup): add pause button).
  3. Make sure bun run lint, bun run typecheck, both extension builds and bun run build:web pass.
  4. Open a pull request to the current release branch, not to main.

The git hooks check most of this for you: Biome on commit, the commit message format, and the type-check on push.

Contributors

Thanks to everyone who has contributed to FocusPocus.

gugeldev Ryrden gabireze fatekkl

License

MIT

관련 프로젝트 살펴보기

불러오는 중…