👋 Hi, I'm Stanley! I'm a software engineer at Snap and an avid contributor to open source.
Like $GME, Github1s is a project that seemingly blew up overnight (literally). Developed by @conwnet, 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?
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.
Using it is incredibly simple. Go to a repository you are browsing, let's say https://github.com/Spiderpig86/Cirrus. 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.
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.
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.
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.
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.
Create your free account to unlock your custom reading experience.