Giter VIP home page Giter VIP logo

github-org-explorer's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.