Welcome to GitHub Organization Insight (GOI) - your go-to solution for managing members across multiple organizations on Github.
Follow these simple steps to set up and start using GOI:
git clone https://github.com/zeelrupapara/GOI.git
cd GOI
To interact with the Github API, you'll need to set up a personal access token. Follow these steps to create one:
- Visit Github Developer Settings page.
- Click on "Generate token" and select the necessary scopes (at least read access to organizations).
- Copy the generated token.
Now, add GITHUB_TOKEN
to .env.docker
file for the api:
echo "GITHUB_TOKEN=<YOUR_GITHUB_TOKEN>" >> ./api/.env.docker
To start all server (api, ui, database) using docker-compose file
docker compose up --build
See GOI: http://localhost:80
API (Optional): http://localhost:8080 UI (Optional): http://localhost:5000
This command is optional If you want to get the custom range data from github then try
cd api && go run main.go github --help
Fetch organization and member data from Github using:
By default last one week of github data fetch by below command
cd api
# copy env from .env.example file
cp .env.example .env
# After create .env add GITHUB_TOKEN in that env
# get github data using this command
go run main.go github
With the setup complete, you can now use GOI to manage members across your organizations efficiently.
Feel free to explore additional commands and functionalities provided by GOI by checking the available options in go run main.go --help
.