DEV Community

Cover image for Master to Main - Improving Inclusivity on Github
Stephen Murphy
Stephen Murphy

Posted on

1

Master to Main - Improving Inclusivity on Github

Master to Main - A web app to show you any public repositories with the default branch set as "master" for a given User or Organization.

Link -> https://master-to-main.herokuapp.com/

I've been meaning to brush up on React and the usage of Hooks, so I took the opportunity to make a meaningful (and IMO a USEFUL) app. If you are like me, you likely have a LOT of repositories on Github that you haven't touched in a minute and swear you'll come back to it (🙄 sure you will). A lot of these repos were likely created pre-"Github moving to default branch of main on new repos" and thus have a default branch of "master". A small step to increasing inclusivity in our industry is to ditch the insensitive and distasteful use of terms like "master" and "slave" (among others) and rename your default branch! This app should hopefully make that process a bit easier by giving you a list of repos that need updated.

The app is built using React and utilizes the React Semantic UI components to build the UI. I'm pretty happy with it overall, and it still has some improvements to be made - It currently pulls the first 30 public repos, but pagination can be added to pull ALL public repos in one "User Search".

Anyways. I'm not a "Software" developer by trade - So take it easy on me 🥺 I'm always open to feedback and tips on using React and general Front End development.

Thanks for reading!

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay