Gitify
GitHub Notifications on your menu bar. Available on macOS, Windows and Linux. Gitify Mobile has been deprecated in favour of the official GitHub mobile app.
Download
You can download Gitify for free from the website www.gitify.io or install it via Homebrew Cask.
brew install --cask gitify
Gitify supports macOS, Windows and Linux.
Prerequisites & Libraries
- Node 18+
- PNPM
- Electron
- TypeScript
- React
- Tailwind CSS
Installation
pnpm install
Development
Optional: If you prefer to use your own OAuth credentials, you can do so by passing them as environment variables when bundling the app. This is optional as the app has some default "development" keys (use at your own discretion).
OAUTH_CLIENT_ID="123" OAUTH_CLIENT_SECRET="456789" pnpm build
To watch for changes(webpack
) in the src
directory:
pnpm watch
To run the electron app:
pnpm start
Releases
The release process is automated. Follow the steps below.
- Create a new draft release. Set the tag version to something with the format of
v1.2.3
. Save as a draft. - Once everything is merged to
main
, create a branch that starts withrelease/vX.X.X
(ie.release/v1.2.3
). - In the same branch, bump the version of the app in the
package.json
file and open a PR. GitHub Actions will build, sign and upload the release assets for each commit to that branch as long as a branch is named likerelease/vX.X.X
and there is a draft release with the same version number(package.json
). - Merge your release branch into
main
. - Publish the draft release once you've added notes to it and all assets are there.
Tests
There are 2 checks - one for prettier and one for the unit tests with jest
.
// Run prettier to check
pnpm prettier:check
// Run linter & unit tests with coverage
pnpm test
// If you want to pass arguments to jest (or other `pnpm` commands)
// like `--watch`, you can prepend `--` to the command
pnpm test -- --watch
FAQ
My notifications aren't showing?
Some organisations require applications to request access before allowing access to any data (including notifications) about their repositories.
To check if Gitify is approved by your organisation you can go to https://github.com/settings/applications, then click on Gitify and scroll to Organization access.
Something looks wrong - How can I debug?
You can debug Gitify by pressing alt + command + I. This will open the dev tools and then you can see any logs, network requests etc.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
- Make sure tests are passing
License
Gitify is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.