Track time in GitHub issues and pull requests
By Fred Wu, maker of Hourbun · Checked · Report a mistake
The short answer
Enable GitHub in Hourbun's Chrome or Firefox browser extension to add a live timer button to GitHub issues and pull requests on github.com. Starting a timer pre-fills your note with owner/repo#number and the title, remembers your Hourbun project and task per repository, and keeps entries ready for invoicing without installing a GitHub App or granting GitHub API scopes.
Where the timer appears in GitHub#
When you switch GitHub on in Extension Settings, Hourbun places a timer section in the right-hand sidebar of GitHub issue pages (github.com/owner/repo/issues/412) directly above Assignees, and at the top of the right-hand sidebar on pull request pages (github.com/owner/repo/pull/412). On narrow viewports or views without a visible sidebar (such as the Pull Request Files tab), the timer falls back cleanly beside the issue or PR header state. Repository code trees, repository commit lists and notification pages stay untouched.
Notes and per-repository defaults#
Every timer started from GitHub automatically fills your time entry note with the repository, number and title — for example, acme/web#412 — Invoice PDF rounding on partial hours. The first time you start a timer inside a repository, you choose an Hourbun client, project and task and can save that mapping as the default for owner/repo. Every later issue or pull request in that same repository starts immediately in one click when no other timer is active (otherwise Hourbun asks you to confirm before switching); to log a different task such as code review versus development, start from the Hourbun toolbar popup or clear the saved default in Extension Settings.
Billing client repositories without a GitHub App#
Opting in to GitHub grants the browser extension access to github.com pages and scripting, and the GitHub adapter reads only the repository slug, issue or pull request number and title locally in your browser while rendering the picker inside a closed Shadow DOM. You never install a GitHub App on a client's organisation or ask client admins for GitHub OAuth scopes. When you stop a timer, the entry lands on your Hourbun Day, Week and Calendar views with its start time, ready for client invoices, weekly team approvals on the Team plan, CSV export and copying issued invoices to Xero.
Setup, permissions and disconnecting#
Get the extension from API & MCP (Browser extension → Install for Chrome on the Chrome Web Store or Install for Firefox on Firefox Add-ons) and switch GitHub on in Extension Settings. Enabling GitHub requests access to github.com plus scripting (and website-content data consent in Firefox, required for embedded buttons). Switching GitHub off removes its buttons and revokes its site access immediately, and shared grants are removed when the last tool is turned off; click Revoke on API & MCP to disconnect on the server. See the Browser extension help page for full OAuth, token fallback and privacy details.
Questions
Questions and answers
Does Hourbun work on both GitHub issues and pull requests?
Yes. The Hourbun browser extension adds a timer button on both GitHub issue URLs (github.com/owner/repo/issues/number) and pull request URLs (github.com/owner/repo/pull/number), pre-filling notes with owner/repo#number and the title.
Does Hourbun need a GitHub App or GitHub API OAuth scopes?
No. Hourbun does not connect to the GitHub API or install a GitHub App on your organisation. When you opt in to GitHub in Extension Settings, browser access to github.com is used locally to read only the repository name, issue or PR number and title on the open tab.
Can I map different GitHub repositories to different Hourbun clients or projects?
Yes. Saved defaults are scoped per repository (owner/repo), so client A's repository starts on client A's Hourbun project while client B's repository starts on client B's project.