gugeldev/focus-pocus
소개
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
OriginalFocusPocus
Transform your productivity like magic.
A free, open source browser extension that blocks distracting sites while your focus timer runs.

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 pickapps/extension/dist/chrome. - Firefox: open
about:debugging, click Load Temporary Add-on and pickapps/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.
- Fork the repository and branch off the current release branch, named after the kind of change (
feat/pause-button,fix/overlay-flicker). - Write commit messages in English following Conventional Commits (
feat(popup): add pause button). - Make sure
bun run lint,bun run typecheck, both extension builds andbun run build:webpass. - 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.
License
관련 프로젝트 살펴보기
불러오는 중…
