github1s
One second to read GitHub code with VS Code.
Usage
Just add 1s
after github
and press Enter
in the browser address bar for any repository you want to read.
For example, try it on the VS Code repo:
https://github1s.com/microsoft/vscode
For browser extensions, see Third-party Related Projects.
Or save the following code snippet as a bookmarklet (GitHub markdown doesn't allow js links, so just copy it into a bookmark).
javascript: window.location.href = window.location.href.replace('github.com', 'github1s.com')
Documentation
Screenshots
Development
You need these prerequisites (the same ones as for VS Code) for development.
$ git clone git@github.com:conwnet/github1s.git
$ cd github1s
$ yarn
$ yarn watch
$ yarn serve # in another shell
$ # Then visit http://localhost:5000 or http://localhost:5000/conwnet/github1s once the build is completed.
Format all codes
yarn format
It uses prettier
to format all possible codes.
Build
$ yarn
$ yarn build
Third-party Related Projects
Chrome Extensions
Firefox Extensions
- Darkempire78/Github1s-Extension - Firefox Browser Addons
- mcherifi/github1s-firefox-addon - Firefox Browser Addons
- zvizvi/Github Web IDE - Firefox Browser Addons