Skip to content
/ gitx Public

GitX- Private notes for open source project maintainers

License

Notifications You must be signed in to change notification settings

gitxapp/gitx

Repository files navigation


GitX

Chrome extension for adding private comments in Github

Built with ❤︎

Commits-per-month PR-Welcome License

Buy Me A Coffee

Getting started

Clone the project

# clone it
git clone https://github.com/gitxapp/gitx.git
cd gitx

Preliminary Steps

Create a new app in Github

Setup environment variables for back end

Add .env file under the top level of the project.

Add the following details

DB_URI = 'mongodb:https://localhost/gitx'
GITHUB_CLIENT_ID = <GITHUB_APP_CLIENT_ID>
GITHUB_CLIENT_SECRET = <GITHUB_APP_CLIENT_SECRET>
JWT_KEY = <JWT_KEY>
REDIS_URL = 'redis:https://127.0.0.1:6379'
HEROKU_URL= <HEROKU_URL>
WELCOME_URL='https://gitxapp.com/welcome.html'

Setup environment variables for chrome extension

Add constants.js file under the src folder

Add the following details

export const VERSION = "v1";
export const INSTALL_URL = "https://gitxapp.com/connect.html";
export const UN_INSTALL_URL = "https://gitxapp.com/uninstall.html";
export const URL = "https://localhost:5000/api/";
export const REDIRECT_URL = "GITHUB_CALLBACK_URL";
export const APP_ID = "GITHUB_APP_CLIENT_ID";

Running the project

Run the back end

# Install dependencies
yarn install
# Start the app
yarn server

Run chrome extension

# Make a build
yarn client
# Open chrome:https://extensions/ from your chrome browser and enable Developer mode
# Click on "Load unpacked" button and upload the build folder

Feedback & Contributing

Feel free to send us feedback on Twitter or file an issue.

Gitxapp © 2019-2020 - Released under the MIT License.