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:
- Export - this will export the selected repos.
- 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.
- Go to settings from dropdown menu on right
- Develeopr settings from left menu
- OAuth apops from left menu
- New Oauth Appl (right hand side)
- name any url description https:/localhost
- Copy Client ID and client secret into the strings in src/app/main/keys.cljs
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.
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 .
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 .
I used the starter code from https://github.com/ahonn/shadow-electron-starter