|
1 | | - |
2 | | -# github1s |
| 1 | + |
| 2 | +# Gogs1s |
3 | 3 |
|
4 | | -One second to read GitHub code with VS Code. |
5 | | - |
6 | | -## Usage |
7 | | - |
8 | | -Just add `1s` after `github` and press `Enter` in the browser address bar for any repository you want to read. |
9 | | - |
10 | | -For example, try it on the VS Code repo: |
11 | | - |
12 | | -[https://github1s.com/microsoft/vscode](https://github1s.com/microsoft/vscode) |
13 | | - |
14 | | - |
15 | | - |
16 | | -For browser extensions, see [Third-party Related Projects](https://github.com/conwnet/github1s#third-party-related-projects). |
17 | | - |
18 | | -Or save the following code snippet as a bookmarklet (GitHub markdown doesn't allow js links, so just copy it into a bookmark). |
19 | | - |
20 | | -``` |
21 | | -javascript: window.location.href = window.location.href.replace('github.com', 'github1s.com') |
22 | | -``` |
23 | | - |
24 | | -## Documentation |
25 | | - |
26 | | -- [How it works](https://github.com/conwnet/github1s/blob/master/docs/guide.md) |
| 4 | +VSCode web online preview code for gogs. |
27 | 5 |
|
28 | 6 | ## Screenshots |
29 | 7 |
|
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | -## Development |
35 | | - |
36 | | -You need [these prerequisites (the same ones as for VS Code)](https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites) for development. |
37 | | - |
38 | | -```bash |
39 | | -$ git clone [email protected]:conwnet/github1s.git |
40 | | -$ cd github1s |
41 | | -$ yarn |
42 | | -$ yarn watch |
43 | | -$ yarn serve # in another shell |
44 | | -$ # Then visit http://localhost:5000 or http://localhost:5000/conwnet/github1s once the build is completed. |
45 | | -``` |
46 | | - |
47 | | -## Build |
48 | | - |
49 | | -```bash |
50 | | -$ yarn |
51 | | -$ yarn build |
52 | | -``` |
53 | | - |
54 | | -## Third-party Related Projects |
55 | | - |
56 | | -### Chrome Extensions |
57 | | - |
58 | | -- [zulhfreelancer](https://github.com/zulhfreelancer)/[Open in VS Code](https://chrome.google.com/webstore/detail/open-in-vs-code-github1sc/neloiopjjeflfnecdlajhopdlojlkhll) |
59 | | - |
60 | | -- [fhefh2015/GitHub1s_chrome_extension](https://github.com/fhefh2015/GitHub1s_chrome_extension) - [Chrome Web Store](https://chrome.google.com/webstore/detail/github1s/lodjfmkfbfkpdhnhkcdcoonghhghbkhe) |
61 | | - |
62 | | -- [febaoshan/edge-extensions-github-code-viewer](https://github.com/febaoshan/edge-extensions-github-code-viewer) - [Chrome Web Store](https://chrome.google.com/webstore/detail/github-code-viewer/ecddapgifccgblebfibdgkagfbdagjfn) |
63 | | - |
64 | | -- [Darkempire78/Github1s-Extension](https://github.com/Darkempire78/Github1s-Extension) |
65 | | -- [zvizvi/Github Web IDE](https://github.com/zvizvi/github-web-ide) - [Chrome Web Store](https://chrome.google.com/webstore/detail/adjiklnjodbiaioggfpbpkhbfcnhgkfe) |
66 | | -- [katsuhisa91/github1s-shortcut](https://github.com/katsuhisa91/github1s-shortcut) - [Chrome Web Store](https://chrome.google.com/webstore/detail/shortcut-to-github1s/gfcdbodapcbfckbfpmgeldfkkgjknceo) |
67 | | - |
68 | | -### Firefox Extensions |
69 | | - |
70 | | -- [Darkempire78/Github1s-Extension](https://github.com/Darkempire78/Github1s-Extension) - [Firefox Browser Addons](https://addons.mozilla.org/firefox/addon/github1s-extension) |
71 | | -- [mcherifi/github1s-firefox-addon](https://github.com/mcherifi/github1s-firefox-addon) - [Firefox Browser Addons](https://addons.mozilla.org/firefox/addon/github1s/) |
72 | | -- [zvizvi/Github Web IDE](https://github.com/zvizvi/github-web-ide) - [Firefox Browser Addons](https://addons.mozilla.org/firefox/addon/github-web-ide/) |
73 | | - |
74 | | - |
75 | | -### Microsoft Edge Extensions |
76 | | - |
77 | | -- [febaoshan/edge-extensions-github-code-viewer](https://github.com/febaoshan/edge-extensions-github-code-viewer) |
78 | | -- [zvizvi/Github Web IDE](https://github.com/zvizvi/github-web-ide) |
| 8 | + |
0 commit comments