Skip to content

Thomsch/pause

Repository files navigation

Pause

Build Status Maintainability Quality Gate Status

A desktop app that reminds you to take breaks . Set a timer, focus on your work, and Pause will let you know when it's time to rest. The timer restarts automatically unless you stop it.

Screenshot of the application

Available for Windows, macOS, and Linux. Download the latest version from the releases page.

Getting Started

Prerequisites: Node.js 18.17+ (via nvm) and Yarn.

nvm install 18.17.1 && nvm use 18.17.1
yarn install
yarn dev

This launches the app in development mode with hot module replacement.

Available Commands

Command Description
yarn dev Run with HMR for development
yarn build Typecheck and build for production
yarn lint Lint and auto-fix with ESLint
yarn format Format with Prettier
yarn typecheck Run TypeScript type checking

Tech Stack

Electron + Vue 3 + TypeScript, bundled with electron-vite.

Releasing

  1. Update version in package.json.
  2. Create a new release draft on GitHub with tag vX.Y.Z matching the version.
  3. Run GH_TOKEN=<Personal Access Token> yarn deploy
  4. Test signing conformance:
    • spctl -a -t exec -vv dist/mac-universal/pause.app/Contents/MacOS/pause
    • codesign --verify --deep --strict --verbose=2 dist/mac-universal/pause.app/Contents/MacOS/pause
    • Send the DMG to yourself via a website, messages, or AirDrop to trigger the GateKeeper check.

License

GNU General Public License v3. See LICENSE for details.

Acknowledgements

Thank you Kilian Valkhof for the resources on code signing and notarizing Electron apps.