This is Google Chrome extension sample to show the text diff of .RTF files on GitHub.
Based on chrome-extension-webpack-boilerplate and GitHub REST API.
- Install yarn if needed
yarn install
yarn run start
- Open
chrome://extensions/
and checkDeveloper mode
- Click on
Load unpacked extension
- Select the
build
folder
For private repos you need to create a new GitHub Access Token:
- Go to https://github.com/settings/tokens
- Generate a new token (select
repo
scope) - Click on extension icon and then on
Add GitHub Access token
(OR Right-click on extension icon and then on Options
in the dropdown menu)
- Enter the valid token and click on
Save