GithubHelp home page GithubHelp logo

moollaza / repo-remover Goto Github PK

View Code? Open in Web Editor NEW
301.0 7.0 60.0 6.02 MB

A web app that helps you archive and delete old/unused repos, quickly and easily.

Home Page: https://reporemover.xyz

License: MIT License

JavaScript 4.61% HTML 2.97% Vue 87.06% SCSS 5.36%
github github-management repo-management vuejs buefy apollo-vue graphql bulma

repo-remover's Introduction

RepoRemover - The fastest way to archive or delete multiple GitHub repos

Don't want to use the hosted version? You can run Repo Remover locally using the instructions below.

Demo

RepoRemover Selection UI

How it works

Repo Remover uses Personal Access Token along with the GitHub API to get a list of your personal repositories, and make changes to them.

Once you've provided a Personal Access Token, you can select which of your repos to modify, set the selected repos to be either archived or deleted, and then click the button to make the changes!

Before any changes are made, you will be asked to review the list of selected repos, and confirm your decision.

Note: Personal Access Tokens are not stored or saved in any way. For optimal security, we suggest you create a new token each time you use Repo Remover, and delete it when you are done.

Run Repo Remover locally

  1. Fork this repository to your own GitHub account and then clone it to your computer.
  2. Install dependencies
    yarn install
    
  3. Run local server
    yarn serve
    
  4. Visit http://localhost:8080/

Built with

Author

Zaahir Moolla (@zmoolla, zaahir.ca)

repo-remover's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar moollaza avatar pinoycolada avatar thomwiggers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

repo-remover's Issues

Not showing repos owned by my organisation

Describe the bug
Not showing repos owned by my organisation

To Reproduce
Steps to reproduce the behavior:
Enter PAT and only see repos I have created

Expected behavior
I expect to see repos own by my organisation that were created by others

I tried adding org scope to token, but did not work

GraphQL : Query - how to get more than the 100 first repo or how to get next 100 till the last

Dear @moollaza

I tried to modify the number of repo returned by the query.

If more than 100, I got an error.

I tried :

query($ghLogin:String!){
  user(login:$ghLogin) {
    id
    name
    login
    avatarUrl
    bioHTML
    repositories(last:100, ownerAffiliations: [OWNER, ORGANIZATION_MEMBER, COLLABORATOR]) {
      nodes {
        id
        viewerCanAdminister
        name
        description
        isFork
        isPrivate
        isArchived
        updatedAt
        url
        parent {
          nameWithOwner
          url
        }
        owner {
          login
          url
        }
      }
    }
  }
}

I got the last 100 repositories.

But finally, how to get from 100 till 200 ?

Best Regards,
Youssef

When inserting personal token on the apposite form loops on validating

Describe the bug
If you insert a token (right or wrong doesn't matter), it keeps trying to validate and could not get past through it

To Reproduce
Steps to reproduce the behavior:

  1. Go to the homepage
  2. Paste a token into the input

Expected behavior
Token should validate instantly

Screenshots
image

Desktop (please complete the following information):

  • OS: ?
  • Browser: Chrome
  • Version: ?

Additional context
In the Developers toolkit of Chrome's browser it gives this maybe related error:
image

Verify OAuth token includes required scopes

Background

TheTokenForm currently validates the token by making an API call to see if GitHub responds with a user, but it doesn't verify the token has the required scopes.

Without the requires scopes (repo, delete_repo) the user will not be able to archive/delete any repos.

Solution

Find a way to check the X-OAuth-Scopes header in the API response, inside TheTokenForm.vue. It should contain delete_repo, repo

repo-remover status?

I'm getting an infinite spinner on the latest Chrome (85) and macOS (10.15.7). Disabled all Chrome extensions just in case. Problem remains.

spinner

DELETED REPOS THAT WERE NOT SELECTED

I realize this is an old repo, and I should have been more attentive, but this "app" deleted most of my repos that were not selected in the list. I specifically made sure they were not selected, yet they are now all gone.

Great app, thanks for the fuckery!

Not seeing github icon on home page

Describe the bug
Not able to see the Github icon on the button at Home page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Home page

Expected behavior
An Icon should come instead of square block.

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2019-03-26 at 3 09 41 PM

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome Canary
  • Version 75.0.3739.0

After performing an action [delete|archive], our toggle switches [archived|private|forked] are reset

Describe the bug
After performing an action [delete|archive], our toggle switches [archived|private|forked] are reset

To Reproduce
Steps to reproduce the behavior:

  1. Go through setup
  2. Toggle 'forked' to not show
  3. Delete a repo
  4. Observe that 'forked' toggle is reset

Expected behavior
Whatever toggles I checked remain checked after an action is performed.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser chrome

VUE_APP_FATHOM_SITE_ID bug on `yarn serve`

Describe the bug
A bug appears on my startup application, Template execution failed: ReferenceError: VUE_APP_FATHOM_SITE_ID is not defined

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo onto your machine
  2. Install the node version v10.19.0 with nvm
  3. Execute with yarn serve
  4. See error

Expected behavior
Screenshots
You should see something like the image below
Screen Shot 2020-07-27 at 21 05 12

Desktop (please complete the following information):

  • OS: MacOS - Catalina 10.15.6 (19G73)
  • Version v10.19.0

Additional context
I'll keep trying to execute, if for some reason i find out what is going on I'll close the issue or create a PR ๐Ÿ‘

Allow organization repos to be displayed/managed

Is your feature request related to a problem? Please describe.
Personal repos show up just great, would be awesome to see organization related repos.

Describe the solution you'd like
Allow for the UI to toggle between user and organization

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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.