paint-brush
Introducing Github1s: A Browser-Based VSCode Project Viewer by@spiderpig86
1,223 reads
1,223 reads

Introducing Github1s: A Browser-Based VSCode Project Viewer

by Stanley LimFebruary 14th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Github1s is a hot new open source project that allows you to browse Github repositories in a VSCode-like UI right in your browser.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Introducing Github1s: A Browser-Based VSCode Project Viewer
Stanley Lim HackerNoon profile picture

Like $GME,  is a project that seemingly blew up overnight (). Developed by , this project aims to be an extremely fast way to load up any Github project in "one second" with the same feel as if you opened it up locally on VSCode.

Now, you might be wondering why would anyone need this when you can just browse the repository on Github website or clone the project yourself?

The Good

Speed

If you're like me, the Github website just doesn't beat the snappiness of opening any codebase in an editor, like VSCode. The need to go back and forth to browse files within the website adds enough of a delay to make it annoying over time, especially when you're looking through tons of files.

Along with your StackOverflow tabs, soon it'll be quite difficult to make out which tab corresponds to what. With Github1s, you can browse the code without crowding out your other browser tabs.

This project uses the file tree also found in VSCode to help you switch and search for files without needing to go to a different page. Clicking on a file in the sidebar brings it up immediately.

Convenience

Using it is incredibly simple. Go to a repository you are browsing, let's say . Then, go to your address bar and change github.com to github1s.com and press enter. You should now see the repository loaded up in a VSCode-like window.

Open Source

The source is public and you can follow directions to host an instance of this on your own machine. But at that point, is there really any benefit? You might as well just clone the repositories yourself.

The Bad

VSCode Appearance Minus Most of the Functionality

This is not the tool to use if you were expecting a full-on VSCode experience in your browser. There is no terminal, no debugging support, and no extensions. Do not expect the Source Control panel in the sidebar to work either.

Github API Limits

Since the app uses the Github API to load the repositories and fetch all the files, you are also subjected to API rate limiting. As mentioned on the sidebar, unauthenticated requests are limited to just 60 per hour. With your own OAuth token, you can make up to 5,000 requests per hour. This limitation can become quite annoying if you end up surpassing the limits.

Overall

Github1s, in the end, is a great tool to browse repositories quickly. It's extremely easy to use and quick to load. However, the API request limitation can end up becoming a pain point as requests can be consumed rather quickly. In 5 minutes, I was able to surpass the 60 request quota by perusing the VSCode repository.

If staying secure is your concern, I recommend cloning the repository and setting it up yourself.

Thanks for reading!

💎 Thank you for taking the time to check out this post. For more content like this, head over to my . Feel free to reach out to me on  and follow me on .

Also published at

바카라사이트 바카라사이트 온라인바카라