个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证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.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Transform your productivity like magic.
A free, open source browser extension that blocks distracting sites while your focus timer runs.查看完整 README ↗Transform your productivity like magic. A free, open source browser extension that blocks distracting sites while your focus timer runs.
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://extensions, turn on developer mode, click Load unpacked and pick apps/extension/dist/chrome.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 |
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.
feat/pause-button, fix/overlay-flicker).feat(popup): add pause button).bun run lint, bun run typecheck, both extension builds and bun run build:web pass.main.The git hooks check most of this for you: Biome on commit, the commit message format, and the type-check on push.
Thanks to everyone who has contributed to FocusPocus.