Giter Site home page Giter Site logo

tegarimansyah / github_declutter Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 884 KB

Declutter your unused repo

Home Page: https://github-declutter.tegar.my.id

License: MIT License

HTML 9.32% JavaScript 12.52% CSS 0.34% Svelte 54.90% TypeScript 22.92%
daisyui declutter github-api sveltekit tailwindcss

github_declutter's Introduction

Github Declutter

Declutter your unused repo. Create your github personal access token, give permission for these scopes:

  • repo => To access your repo
  • delete_repo => To delete your repo

then declutter your repo.

docs/img/screenshot.png

Why I create this?

I create my github account when I can't really code, but I have a ton of ideas. Each ideas, I will create a repo but that's only half-baked code. Now I want to make my github profile more professional-look that show case my capabilities, removing unused repo and not mix up decent repos with my broken repos. Hope this can also help you.

Well, at least I relief github from hundreds of megabytes of my trash code.

Tech Stack:

Development

$ npm install
$ npm run dev -- --host

Contribution

Find it helpful?

  • Share your story to your social media. Please also let me know by mentioning @tegar_imansyah and I will share your story in our use case.

License: MIT

github_declutter's People

Contributors

tegarimansyah avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

github_declutter's Issues

Sort By Name, Date, Stars, Issues, etc

Is your feature request related to a problem? Please describe.
Currently, the repo result is based on github API response, we are not sorting it by anything yet. Sorting it by some parameters should help us prioritize the repo we want to change.

Describe the solution you'd like
The basic sorting should include name ({owner}/{repo}) and date (asc and desc). Other parameters such as stars, issues, forks, etc will also help us determine which repo should be removed

Describe alternatives you've considered
Can we use other than sort, such as filter or grouping?

Select multiple repos for action

Is your feature request related to a problem? Please describe.
Currently, we only can do the action (delete) for each row. I expect we can select multiple rows (or all?) and delete the selected repo. That's actually the reason I create this.

Describe the solution you'd like
We need to have another bucket to save this list. I also prefer a "add to cart" style from e-commerce. So, after we select some repos to delete, we move to another page that confirms that this list will be deleted. This page will help us to review before do the destruction actions

Action other than delete

Is your feature request related to a problem? Please describe.
Currently, we only have a "delete" action, but I also need to archive, toggle private and public, and remove myself from someone else repo.

Describe the solution you'd like
First, the "delete" button should be changed to drop down with multiple actions. After that, we can use update repository and remove collaborator endpoint:

  • archive => "archived" (boolean) attribute
  • toggle => "private" (boolean) attribute
  • remove from repo => use our own username as a parameter for the group

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.