remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Manages environment variables for configuring GitHub and Notion API authentication and other sensitive settings.
Enables automated review of Pull Requests through the GitHub API, with capabilities to analyze code changes and provide feedback.
Integrates with Notion's workspace to store, organize, and track PR review data using Notion's database capabilities.
PR Reviewer Setup Guide
This guide provides step-by-step instructions to set up the PR Reviewer project, which includes integrations with GitHub and Notion.
Prerequisites
curl
(for MacOS/Linux)- Python 3.x installed on your system
Setup Instructions
Step 1: Install uv
MacOS/Linux:
🔁 Restart your terminal afterwards to ensure that the
uv
command is available.
Step 2: Create and Set Up the Project
MacOS/Linux:
Step 3: Create requirements.txt
and Install from It
Create a file called requirements.txt
with the following content:
Install the packages:
Step 4: Set Up Environment Variables
Create a .env
file in the root directory and add the following:
GitHub Token:
- Go to GitHub → Settings → Developer Settings → Personal Access Tokens.
- Click "Generate new token (classic)".
- Enable these scopes:
read:org
read:repo_hook
repo
- Copy and paste the token into your
.env
file asGITHUB_TOKEN
.
Notion Integration:
- Go to Notion Integrations.
- Click "New integration" and set the type to Internal.
- Add it to your workspace.
- Copy the Internal Integration Secret as
NOTION_API_KEY
. - Copy the UUID at the end of the integration URL as
NOTION_PAGE_ID
.
Step 5: Create the Main Script
Create an empty script file for your server logic:
Add your application logic inside this file.
Step 6: Run the Application
To run the project, make sure your environment is activated and .env
is configured:
This server cannot be installed
A tool that integrates with GitHub and Notion to analyze and review pull requests, enabling automated code reviews and documentation in Notion.