Skip to content

zamansky/github-org-explorer

Repository files navigation

GitHub Org Explorer

This package is my attempt solve a couple of my personal pain points in using GitHub Classroom and GitHub Classroom Assistant.

After you log in, select an organzation.

You can then use the regex filter to select a subset of the repos in the organzation after which you can either:

  1. Export - this will export the selected repos.
  2. Delete - delete the selected repos.

Here's a video walkthrough Video Link

This project is for my personal use so it doesn't do much error checking or reporting but it's working pretty well for me.

Install notes for oauth:

  1. Go to settings from dropdown menu on right
  2. Develeopr settings from left menu
  3. OAuth apops from left menu
  4. New Oauth Appl (right hand side)
  5. name any url description https:/localhost
  6. Copy Client ID and client secret into the strings in src/app/main/keys.cljs

Notes

When deleting, it takes a bit of time for the API to update. Right now, this doesn't happen automatically. You should periodically hit the refresh button to see the updates.

Likewise, it takes a bit of time to load a large organization - please be patient.

How to Run

I had to upgrade my version of node to get this all working. I use nvm so used nvm install node to accomplish this. Then I did the rest:


npm install electron -g
npm install shadow-cljs -g
npm install

npm run dev
electron .

Release

If you haven't already isntalled it, install electron-packager:

npm install electron-packager -g
npm run build
electron-packager . GitHub-Org-Explorer --platform=linux --arch=x64 --electron-version=v8.0.1

You should replace the v8.0.1 electron version with whatever you built and are running this under. Check by running electron --version.

The above will build for linux. Other platform options include:

  • darwin
  • linux
  • mas
  • win32
  • all

Use all to build all for all platforms

Arch can be ia32, x63, armv7l, arm64, or mips64el

The directories created by electorn-packager contain the full release - you can run or install from there.

You can always run the application from this directory after building via electron .

More notes

I used the starter code from https://github.com/ahonn/shadow-electron-starter

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages