Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

github1s

> 开发工具
Open source

One second to read GitHub code with VS Code.

23.3K stars0 likes4 views
WebsiteGitHub

About

One second to read GitHub code with VS Code.

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

You can also use https://gitlab1s.com or https://npmjs1s.com in the same way.

For browser extensions, see Third-party Related Projects.

Or save the following code snippet as a bookmarklet, you can use it to quickly switch between github.com and github1s.com (GitHub markdown doesn't allow js links, so just copy it into a bookmark).

javascript: window.location.href = window.location.href.replace(/github(1s)?.com/, function(match, p1) { return p1 ? 'github.com' : 'github1s.com' })

Develop in the cloud

To edit files, run Docker containers, create pull requests and more, click the "Develop your project on Gitpod" button in the status bar. You can also open the Command Palette (default shortcut Ctrl+Shift+P) and choose GitHub1s: Edit files in Gitpod.

Documentation

  • How it works
  • Roadmap

Enabling Private Repositories

If you want to view non-public repositories, you need to add an OAuth token. The token is stored only in your browser, and only send to GitHub when fetching your repository's files. Click on the icon near the bottom of the left-hand row of icons, and the dialog box will prompt you for it, and even take you to your GitHub settings page to generate one, if needed.

Screenshots

Development

Cloud-based development

You can start an online development environment with Gitpod by clicking the following button:

Local development

bash
git clone [email protected]:conwnet/github1s.git
cd github1s
npm install
npm run watch
# The cli will automatically open http://localhost:8080 once the build is completed.
# You can visit http://localhost:8080/conwnet/github1s if it doesn't.

Local development with full VS Code build

You need these prerequisites (the same ones as for VS Code) for development with full VS Code build. Please make sure you could build VS Code locally before the watch mode.

To verify the build:

bash
cd github1s
npm run build:vscode

After the initial successful build, you could use the watch mode:

bash
cd github1s
npm install
npm run watch-with-vscode
# The cli will automatically open http://localhost:8080 once the build is completed.
# You can visit http://localhost:8080/conwnet/github1s if it doesn't.

... or ... VS Code + Docker Development

You can use the VS Code plugin Remote-Containers Dev Container to use a Docker container as a development environment.

  1. Install the Remote-Containers plugin in VS Code & Docker

  2. Open the Command Palette (default shortcut Ctrl+Shift+P) and choose Remote-Containers: Clone Repository in Container Volume...

  3. Enter the repo, in this case https://github.com/conwnet/github1s.git or your forked repo

  4. Pick either, Create a unique volume or Create a new volume

    • Now VS Code will create the docker container and connect to the new container so you can use this as a fully setup environment!
  5. Open a new VS Code Terminal, then you can run the npm install commands listed above.

bash
npm install
npm run watch
# The cli will automatically open http://localhost:8080 once the build is completed.
# You can visit http://localhost:8080/conwnet/github1s if it doesn't.

Format all codes

bash
npm run format

It uses prettier to format all possible codes.

Build

bash
npm install
npm run build

Feedback

  • If something is not working, create an issue

Sponsors

The continued development and maintenance of GitHub1s is made possible by these generous sponsors:

Partners

We are partnered with OSS Insight to get the Trending Repositories & some more Interesting Analytics. OSS Insight provides deep insights into GitHub repos, developers, and curated repo lists from billions of GitHub events. It’s built with TiDB Cloud.

Maintainers! :blush:


netcon

💻 🖋

xcv58

💻 🖋

Siddhant Khare

💻 🖋

Stargazers over time

Third-party Related Projects

Chrome Extensions

  • Repositree (chouglesaud/repositree)
  • github-code-viewer (febaoshan/edge-extensions-github-code-viewer)
  • Github1s Extension (Darkempire78/GitHub1s-Extension)
  • Github Web IDE (zvizvi/Github-Web-IDE)
  • shortcut to github1s (katsuhisa91/github1s-shortcut)
  • Github1s Shortut - Open source
  • ⚡️ 1s to GitHub1s!
  • github1s Google Chrome Extensions

Firefox Extensions

  • Repositree (chouglesaud/repositree)
  • Github1s Extension (Darkempire78/GitHub1s-Extension)
  • Github1s (mcherifi/github1s-firefox-addon)
  • Github Web IDE (zvizvi/Github-Web-IDE)

Microsoft Edge Extensions

  • github-code-viewer (febaoshan/edge-extensions-github-code-viewer)
  • Github Web IDE (zvizvi/Github-Web-IDE)

Safari Extension

  • GitHub1s-For-Safari-Extension (code4you2021/GitHub1s-For-Safari-Extension)

Tampermonkey scripts

  • Mr-B0b/TamperMonkeyScripts/vscode.js

Issues· 62 open

View all issuesOpen on GitHub
  • #644

    Feature request: Code answering & Code Explaintation using AI Agents

    EnhancementDiscussonUpdated Sep 8, 2026
  • #667

    Feature request: SharedArrayBuffer support

    Updated Aug 7, 2026
  • #569

    可以编辑文件,并做git commit 和git push 吗

    Updated Jan 23, 2026
  • #619

    Unable to write file

    Updated Mar 3, 2025
  • #561

    Support sourceforge repositories

    Updated Sep 10, 2024
  • #517

    发现 debug 插件代码行对应不上

    Updated Aug 4, 2023
  • #35

    support for other scm

    EnhancementUpdated Jul 20, 2023
  • #393

    请问有没有部署到gitee的计划?希望可以跟上一个gitee版本的部署,感激不尽

    Updated Apr 26, 2023
  • #485

    How it works ?

    Updated Apr 13, 2023
  • #462

    Edit a GitHub issue (issues) with github1s

    EnhancementUpdated Apr 5, 2023

> Tags

TypeScripthacktoberfestvscode

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具