• Stars
    star
    209
  • Rank 188,325 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 7 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🍴 Bulk delete your GitHub forks in two simple steps!

Delete GitHub Forks

Delete your forked GitHub repositories easily in two steps (takes less than 5 minutes).

Motivation

Deleting GitHub repositories via the GitHub interface is a hassle; you have to enter your password followed by the name of the repository. This is not scalable if you contribute to open source a fair bit and have many forked repositories that you may not necessarily want to keep.

Using these scripts, you can fetch a list of your GitHub repositories and delete all the unwanted repositories in one go.

Getting Started

Clone this repository.

$ npm install
$ cp src/config.json.example src/config.json

Add your GitHub username and access token to config.json. To get the access token, go to this page and create a token that has the following permissions: public_repo and delete_repo.

Usage

Firstly, run the following command to fetch all your forked repositories.

$ npm run fetch # Writes to a src/repos.json file

A JSON file, src/repos.json containing an array of your repositories will be written into the same directory. Manually inspect it and remove the forked repositories that you want to keep. The repositories that remain inside src/repos.json will be deleted on the next command. It is an irreversible operation. Use with great caution!.

$ npm run delete # Reads from src/repos.json and deletes the repos inside it.

And all the repositories within src/repos.json will be deleted! It's that easy.

The scripts can be potentially modified to work on an organization's repositories as well just by changing the URLs. Pull requests to support this feature are welcome.

License

MIT

More Repositories

1

tech-interview-handbook

💯 Curated coding interview preparation materials for busy software engineers
TypeScript
117,974
star
2

front-end-interview-handbook

⚡️ Front End interview preparation materials for busy engineers
MDX
40,569
star
3

lago

📕 Data Structures and Algorithms library in TypeScript and JavaScript
TypeScript
2,765
star
4

awesome-spinners

💫 A curated collection of dazzling web spinners
JavaScript
1,351
star
5

2048-python

🐍 2048
Python
316
star
6

tree-node-cli

🌲 Node.js library to list the contents of directories in a tree-like format, similar to the Linux tree command
JavaScript
230
star
7

smrt-git

🚋 Singapore train lines visualized in the form of git commits and branches
Shell
60
star
8

keyboards.css

⌨ Front end library-themed keyboards built using Tailwind CSS
TypeScript
59
star
9

mac-terminal-shortcuts

Useful and common terminal shortcuts for macOS
47
star
10

leetcode-downloader

Download your accepted LeetCode submissions
JavaScript
34
star
11

flow-scripts

🔧 Utility scripts for Flow type checker
JavaScript
34
star
12

react-emoji-input

😂 Emoji suggestions like the textareas in GitHub
JavaScript
31
star
13

commitbait

👀 Write clickbait-y commit messages
JavaScript
19
star
14

yangshuntay.com

Personal site
TypeScript
11
star
15

yangshun

10
star
16

facebook-chat-heads

iOS plugin for Facebook messenger style draggable chat heads that stay permanently on screen.
Objective-C
10
star
17

react-tetris

JavaScript
9
star
18

mini-jest

🃏 Attempt at writing my own minimal test runner with an API similar to Jest
JavaScript
9
star
19

facebook-usage-stats

Chrome extension to limit the number of items you can like on Facebook daily and tells you how long you have spent on Facebook for the day
JavaScript
9
star
20

react-component-starter

⚗️ Starter kit for React components written in ES6.
JavaScript
8
star
21

flow-monorepo

Monorepo setup for npm projects with Flow
JavaScript
7
star
22

luna

Luna is a blogging engine that compiles your posts written in markdown into a static HTML site. It is inspired by Jekyll and Empress.
CSS
7
star
23

autocompaste-html

Repository for the CS4249 Assignment experiment
JavaScript
6
star
24

facebook-open-source-mentorship-amy-lam

Amy's Open Source Journey!
6
star
25

js-codemods

Some codemod scripts to transform code for good styling
JavaScript
5
star
26

nutty-ninjas

A prototype demonstrating a cross-display top down shooter game.
CSS
5
star
27

cs1010s-resources

Python
5
star
28

linguist

Electron app for quickly editing i18n locale files
JavaScript
5
star
29

elitlist

NUS accolades scraper and API
HTML
4
star
30

nus-bookmarks

Collection of useful links and resources that will benefit all NUS students when it comes to curriculum matters.
JavaScript
4
star
31

webpack-dll-example

JavaScript
3
star
32

x-touch

Objective-C
3
star
33

cs2105

Java
3
star
34

bootstrap-theme-playground

HTML
3
star
35

nuswhispers-leaderboard

HTML
3
star
36

cs3217-problem-sets

Objective-C
3
star
37

nuswhispers-bot

Go
3
star
38

file-dir-over-http

JavaScript
2
star
39

cs4243-project

Python
2
star
40

cs3230

C++
2
star
41

nutty-ninjas-x

JavaScript
2
star
42

cs2010-problem-sets

Java
2
star
43

capulator

NUS CAP Calculator
JavaScript
2
star
44

cs3216-js-workshop

CSS
2
star
45

coursemology-badges

Coursemology Badges for CS1010S revamped
HTML
2
star
46

cs4243-labs

Python
2
star
47

3216-final-project

CSS
2
star
48

icon-rockstar

JavaScript
1
star
49

challenge

JavaScript
1
star
50

builder-news

An aggregator for Hacker News and Designer News
CSS
1
star
51

emoji-scraper

JavaScript
1
star
52

codecombat-webrtc

JavaScript
1
star
53

cs4344

Model answers for CS4344 assignments
JavaScript
1
star
54

cs3216

CS3216 Blog
CSS
1
star
55

nusmods-presentation

JavaScript
1
star
56

cs2106

HTML
1
star
57

simple-todo-bot

Go
1
star
58

wordbase-hack

ApacheConf
1
star
59

thumbnails

1
star
60

pomoc-web-prototype

JavaScript
1
star
61

cs3218-final-project

C
1
star
62

cs3217-problem-sets-writeup

Objective-C
1
star
63

cs3216-final-project

CSS
1
star
64

dotfiles

Shell
1
star
65

osmose

JavaScript
1
star
66

react-auto-forms

JavaScript
1
star
67

cs1010s

Brainstorming for CS1010S question scenarios.
JavaScript
1
star
68

frontend-mentor

HTML
1
star