A Chrome extension that shows your open GitHub Pull Requests and review requests directly from the browser toolbar.
- View your open PRs across all repositories or filter by repo
- See PRs awaiting your review
- Filter by specific repository or view "All Repositories"
- Repos grouped by owner with private repo indicators
- Click any PR to open it in a new tab
- GitHub OAuth authentication via a Cloudflare Worker proxy
The extension uses a Cloudflare Worker as an OAuth proxy to keep the GitHub OAuth app secret out of the extension bundle. The worker handles the authorization code exchange; the extension stores and uses the resulting access token directly against the GitHub API.
Extension <-> Cloudflare Worker <-> GitHub OAuth
Extension <-> GitHub API (direct, with access token)
- Go to GitHub > Settings > Developer settings > OAuth Apps > New OAuth App
- Fill in the fields:
- Application name: PRism (or any name)
- Homepage URL: your worker URL (set after step 2)
- Authorization callback URL:
https://<your-worker>.workers.dev(placeholder for now)
- Save the Client ID and generate a Client Secret
- Sign up / log in at workers.cloudflare.com
- Create a new Worker and paste the contents of
worker/github-oauth-worker.js - Add the following Environment Variables (Settings > Variables):
GITHUB_CLIENT_ID— from step 1GITHUB_CLIENT_SECRET— from step 1
- Deploy and copy the worker URL (e.g.
https://your-worker.workers.dev)
Edit config.js and set your worker URL:
const CONFIG = {
WORKER_URL: "https://your-worker.workers.dev",
};Back in your GitHub OAuth App settings, set the Authorization callback URL to the Chrome extension redirect URL. You can find it by running this in the browser console on any extension page:
chrome.identity.getRedirectURL()
// e.g. https://<extension-id>.chromiumapp.org/- Go to
chrome://extensions/ - Enable Developer mode (top right)
- Click Load unpacked and select this project folder
- The PRism icon will appear in your toolbar
- Click the PRism icon in the toolbar
- Click Sign in with GitHub and authorize the app
- Select a repository from the dropdown, or choose All Repositories
- Switch between My PRs and Review Requests tabs
Contributions are welcome.
- Fork the repository
- Create a feature branch:
git checkout -b feat/your-feature - Commit your changes:
git commit -m 'Add your feature' - Push the branch:
git push origin feat/your-feature - Open a Pull Request against
master
Please keep PRs focused on a single change and include a clear description of what was changed and why.
MIT — see LICENSE