Repository: conwnet/github1s
Branch: master
Commit: 71ac760cb1ca
Files: 240
Total size: 1.0 MB
Directory structure:
gitextract_hk2wqped/
├── .devcontainer/
│ ├── Dockerfile
│ └── devcontainer.json
├── .editorconfig
├── .github/
│ ├── config.yml
│ └── workflows/
│ ├── build.yml
│ ├── codacy-analysis.yaml
│ ├── test-wtih-vscode-build.yml
│ └── welcome-first-time-contributors.yml
├── .gitignore
├── .gitpod.Dockerfile
├── .gitpod.yml
├── .husky/
│ ├── .gitignore
│ └── pre-commit
├── .prettierignore
├── .prettierrc.js
├── LICENSE
├── README.md
├── docs/
│ └── guide.md
├── eslint.config.js
├── extensions/
│ ├── elm-web/
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── language-configuration.json
│ │ ├── package.json
│ │ └── syntaxes/
│ │ ├── codeblock.json
│ │ └── elm-syntax.json
│ ├── github1s/
│ │ ├── assets/
│ │ │ └── pages/
│ │ │ ├── components.css
│ │ │ ├── components.js
│ │ │ ├── github1s-authentication.css
│ │ │ ├── github1s-authentication.js
│ │ │ ├── github1s-settings.css
│ │ │ ├── github1s-settings.js
│ │ │ └── libraries/
│ │ │ ├── htm.module.js
│ │ │ ├── preact-hooks.module.js
│ │ │ └── preact.module.js
│ │ ├── package.json
│ │ ├── src/
│ │ │ ├── adapters/
│ │ │ │ ├── bitbucket1s/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── parse-path.ts
│ │ │ │ │ └── router-parser.ts
│ │ │ │ ├── github1s/
│ │ │ │ │ ├── authentication.ts
│ │ │ │ │ ├── data-source.ts
│ │ │ │ │ ├── fetcher.ts
│ │ │ │ │ ├── graphql.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── parse-path.ts
│ │ │ │ │ ├── router-parser.ts
│ │ │ │ │ ├── settings.ts
│ │ │ │ │ └── token.ts
│ │ │ │ ├── gitlab1s/
│ │ │ │ │ ├── authentication.ts
│ │ │ │ │ ├── data-source.ts
│ │ │ │ │ ├── fetcher.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── parse-path.ts
│ │ │ │ │ ├── router-parser.ts
│ │ │ │ │ ├── settings.ts
│ │ │ │ │ └── token.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── manager.ts
│ │ │ │ ├── npmjs1s/
│ │ │ │ │ ├── data-source.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── router-parser.ts
│ │ │ │ ├── ossinsight/
│ │ │ │ │ ├── constants.ts
│ │ │ │ │ ├── data-source.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── interfaces.ts
│ │ │ │ │ ├── router-parser.ts
│ │ │ │ │ └── templates.ts
│ │ │ │ ├── sourcegraph/
│ │ │ │ │ ├── blame.ts
│ │ │ │ │ ├── commit.ts
│ │ │ │ │ ├── common.ts
│ │ │ │ │ ├── comparison.ts
│ │ │ │ │ ├── data-source.ts
│ │ │ │ │ ├── definition.ts
│ │ │ │ │ ├── file.ts
│ │ │ │ │ ├── hover.ts
│ │ │ │ │ ├── position.ts
│ │ │ │ │ ├── ref.ts
│ │ │ │ │ ├── reference.ts
│ │ │ │ │ ├── repository.ts
│ │ │ │ │ └── search.ts
│ │ │ │ └── types.ts
│ │ │ ├── changes/
│ │ │ │ ├── files.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── quick-diff.ts
│ │ │ ├── commands/
│ │ │ │ ├── blame.ts
│ │ │ │ ├── code-review.ts
│ │ │ │ ├── commit.ts
│ │ │ │ ├── editor.ts
│ │ │ │ ├── global.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── ref.ts
│ │ │ ├── extension.ts
│ │ │ ├── global.d.ts
│ │ │ ├── helpers/
│ │ │ │ ├── async.ts
│ │ │ │ ├── context.ts
│ │ │ │ ├── date.ts
│ │ │ │ ├── func.ts
│ │ │ │ ├── page.ts
│ │ │ │ ├── submodule.ts
│ │ │ │ ├── urls.ts
│ │ │ │ ├── util.ts
│ │ │ │ └── vscode.ts
│ │ │ ├── listeners/
│ │ │ │ ├── index.ts
│ │ │ │ ├── router/
│ │ │ │ │ ├── changes.ts
│ │ │ │ │ ├── explorer.ts
│ │ │ │ │ └── index.ts
│ │ │ │ └── vscode.ts
│ │ │ ├── messages.ts
│ │ │ ├── providers/
│ │ │ │ ├── decorations/
│ │ │ │ │ ├── changed-file.ts
│ │ │ │ │ ├── source-control.ts
│ │ │ │ │ └── submodule.ts
│ │ │ │ ├── definition.ts
│ │ │ │ ├── file-search.ts
│ │ │ │ ├── file-system/
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── types.ts
│ │ │ │ ├── hover.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── reference.ts
│ │ │ │ └── text-search.ts
│ │ │ ├── repository/
│ │ │ │ ├── branch-tag-manager.ts
│ │ │ │ ├── code-review-manager.ts
│ │ │ │ ├── commit-manager.ts
│ │ │ │ └── index.ts
│ │ │ ├── router/
│ │ │ │ ├── events.ts
│ │ │ │ └── index.ts
│ │ │ ├── statusbar/
│ │ │ │ ├── checkout.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── sponsors.ts
│ │ │ ├── views/
│ │ │ │ ├── code-review-list.ts
│ │ │ │ ├── commit-list.ts
│ │ │ │ └── index.ts
│ │ │ └── vscode.proposed.d.ts
│ │ ├── tsconfig.json
│ │ └── webpack.config.js
│ ├── nim-web/
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── nimcfg.json
│ │ ├── package.json
│ │ ├── snippets/
│ │ │ └── nim.json
│ │ └── syntaxes/
│ │ ├── nim.json
│ │ └── nimble.json
│ ├── ocaml-web/
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── languages/
│ │ │ ├── META.json
│ │ │ ├── dune.json
│ │ │ ├── menhir.json
│ │ │ ├── oasis.json
│ │ │ ├── ocaml.json
│ │ │ ├── ocamlbuild.json
│ │ │ ├── ocamlformat.json
│ │ │ ├── ocamllex.json
│ │ │ ├── opam-install.json
│ │ │ ├── opam.json
│ │ │ └── reason.json
│ │ ├── package.json
│ │ ├── snippets/
│ │ │ ├── dune-project.json
│ │ │ ├── dune.json
│ │ │ ├── ocaml.json
│ │ │ └── ocamllex.json
│ │ └── syntaxes/
│ │ ├── META.json
│ │ ├── atd.json
│ │ ├── cram.json
│ │ ├── dune-project.json
│ │ ├── dune-workspace.json
│ │ ├── dune.json
│ │ ├── menhir-action.json
│ │ ├── menhir.json
│ │ ├── merlin.json
│ │ ├── oasis.json
│ │ ├── ocaml-markdown-codeblock.json
│ │ ├── ocaml.interface.json
│ │ ├── ocaml.json
│ │ ├── ocamlbuild.json
│ │ ├── ocamldoc.json
│ │ ├── ocamlformat.json
│ │ ├── ocamllex.json
│ │ ├── opam-install.json
│ │ ├── opam.json
│ │ ├── reason-markdown-codeblock.json
│ │ └── reason.json
│ └── vlang-web/
│ ├── LICENSE
│ ├── README.md
│ ├── language-configuration.json
│ ├── package.json
│ ├── snippets/
│ │ └── snippets.json
│ └── syntaxes/
│ └── v.tmLanguage.json
├── functions/
│ ├── api/
│ │ ├── github-auth-callback.ts
│ │ └── gitlab-auth-callback.ts
│ └── tsconfig.json
├── package.json
├── public/
│ ├── index.html
│ ├── manifest.json
│ ├── page-title.js
│ ├── robots.txt
│ └── spinner.css
├── scripts/
│ ├── build.js
│ ├── link.js
│ ├── postinstall.js
│ ├── utils.js
│ └── webpack.js
├── src/
│ ├── config.ts
│ ├── github-auth.ts
│ ├── gitlab-auth.ts
│ ├── global.d.ts
│ ├── index.ts
│ ├── notification.css
│ ├── notification.ts
│ └── product.ts
├── tests/
│ ├── __tests__/
│ │ └── index.test.ts
│ ├── jest.config.js
│ ├── package.json
│ ├── tsconfig.json
│ └── typings.d.ts
├── tsconfig.json
├── vscode-web/
│ ├── .VERSION
│ ├── README.md
│ ├── index.html
│ ├── package.json
│ ├── scripts/
│ │ ├── .patch
│ │ ├── build/
│ │ │ ├── nls.js
│ │ │ ├── package.js
│ │ │ └── vscode.js
│ │ ├── clone.js
│ │ ├── patch.js
│ │ ├── utils.js
│ │ └── watch/
│ │ ├── extensions.js
│ │ ├── source.js
│ │ └── vscode.js
│ ├── src/
│ │ ├── setup.d.ts
│ │ └── vs/
│ │ ├── base/
│ │ │ └── common/
│ │ │ └── network.ts
│ │ └── workbench/
│ │ ├── browser/
│ │ │ ├── parts/
│ │ │ │ ├── activitybar/
│ │ │ │ │ └── activitybarPart.ts
│ │ │ │ └── titlebar/
│ │ │ │ └── media/
│ │ │ │ └── titlebarpart.css
│ │ │ └── web.main.ts
│ │ ├── contrib/
│ │ │ ├── files/
│ │ │ │ └── browser/
│ │ │ │ └── editors/
│ │ │ │ └── fileEditorInput.ts
│ │ │ └── webview/
│ │ │ └── browser/
│ │ │ └── pre/
│ │ │ ├── index-no-csp.html
│ │ │ └── index.html
│ │ └── services/
│ │ ├── extensionManagement/
│ │ │ └── browser/
│ │ │ └── builtinExtensionsScannerService.ts
│ │ ├── label/
│ │ │ └── common/
│ │ │ └── labelService.ts
│ │ └── textfile/
│ │ └── browser/
│ │ └── textFileService.ts
│ └── tsconfig.json
└── webpack.config.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .devcontainer/Dockerfile
================================================
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.158.0/containers/typescript-node/.devcontainer/base.Dockerfile
# [Choice] Node.js version: 14, 12, 10
ARG VARIANT="14-buster"
FROM mcr.microsoft.com/devcontainers/typescript-node:${VARIANT}
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends libx11-dev libxkbfile-dev libsecret-1-dev rsync
# copied from https://github.com/microsoft/vscode-oniguruma/blob/main/.devcontainer/Dockerfile
RUN mkdir -p /opt/dev \
&& cd /opt/dev \
&& git clone https://github.com/emscripten-core/emsdk.git \
&& cd /opt/dev/emsdk \
&& ./emsdk install 3.1.21 \
&& ./emsdk activate 3.1.21
ENV PATH="/opt/dev/emsdk:/opt/dev/emsdk/node/14.18.2_64bit/bin:/opt/dev/emsdk/upstream/emscripten:${PATH}"
================================================
FILE: .devcontainer/devcontainer.json
================================================
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.158.0/containers/typescript-node
{
"name": "Node.js & TypeScript",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 10, 12, 14
"args": {
"VARIANT": "20-bullseye"
}
},
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8080],
// Use 'postCreateCommand' to run commands after the container is created.
//"postCreateCommand": "npm install",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
}
================================================
FILE: .editorconfig
================================================
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Tab indentation
[*]
indent_style = tab
trim_trailing_whitespace = true
# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
[{*.yml,*.yaml,*.json}]
indent_style = space
indent_size = 2
================================================
FILE: .github/config.yml
================================================
# Configuration for welcome - https://github.com/behaviorbot/welcome
# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome
# Comment to be posted to on first time issues
newIssueWelcomeComment: >
Hello there!👋 Welcome to the project!💖
Thank you and congrats🎉for opening your very first issue in this project.Be patient while we get back to you.😄
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
# Comment to be posted to on PRs from first time contributors in your repository
newPRWelcomeComment: >
Hello there!👋 Welcome to the project!💖
Thank you and congrats🎉 for opening your first pull request✨ 🙌.We will get back to you as soon as we can.😄
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
# Comment to be posted to on pull requests merged by a first time user
firstPRMergeComment: >
Congrats on merging your first pull request! 🎉🎉🎉 We here at github1s are proud of you!
================================================
FILE: .github/workflows/build.yml
================================================
name: Build & Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [macos-14]
node-version: [20.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run eslint
- run: npm run build
- uses: microsoft/playwright-github-action@v1
- run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} npm run test:ci
================================================
FILE: .github/workflows/codacy-analysis.yaml
================================================
name: Codacy Security Scan
on:
push:
branches: ['master', 'main']
pull_request:
branches: ['master', 'main']
jobs:
codacy-security-scan:
name: Codacy Security Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@master
with:
# Run analysis without SARIF output to avoid GitHub Code Scanning integration issues
# See: https://github.com/codacy/codacy-analysis-cli-action/issues/142
# The Codacy tool generates multiple SARIF runs which is incompatible with
# GitHub's new policy as of July 2025
verbose: true
# Force 0 exit code to prevent workflow failures
max-allowed-issues: 2147483647
# only scan the github1s directory
directory: $GITHUB_WORKSPACE/extensions/github1s
# SARIF upload is temporarily disabled due to incompatibility
# See: https://github.com/codacy/codacy-analysis-cli-action/issues/142
# TODO: Re-enable when Codacy fixes the multiple runs issue
# - name: Upload SARIF results file
# uses: github/codeql-action/upload-sarif@v4
# with:
# sarif_file: results.sarif
# category: codacy-security-scan
================================================
FILE: .github/workflows/test-wtih-vscode-build.yml
================================================
name: Build & Test with VS Code build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [macos-14]
node-version: [22.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- run: npm install && cd vscode-web && npm install
- run: cd vscode-web && npm run build
- run: npm run link && npm run build
- uses: microsoft/playwright-github-action@v1
- run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} npm run test:ci
================================================
FILE: .github/workflows/welcome-first-time-contributors.yml
================================================
name: Welcome first time contributors
on:
pull_request_target:
types:
- opened
issues:
types:
- opened
jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Hello there ${{ github.actor }} 👋
Welcome to github1s !!💖🥳
Thank you and congratulations 🎉 for opening your very first issue in this project. github1s fosters an open and welcoming environment for all our contributors.🌸
Incase you want to claim this issue, please comment down below! We will try to get back to you as soon as we can.👀
Feel free to visit [github1s.com](https://github1s.com/). 👩💻 If you have any interesting ideas, just open an issue. We would love to hear you and engage in discussions.
pr-message: |
Hello there ${{ github.actor }} 👋
Thank you and congrats 🎉 for opening your first PR on this project.✨
We will review it soon!
github1s fosters an open and welcoming environment for all our contributors.🌸
================================================
FILE: .gitignore
================================================
.DS_Store
lib
dist
out
node_modules
================================================
FILE: .gitpod.Dockerfile
================================================
FROM gitpod/workspace-full
RUN sudo apt-get update \
&& sudo apt-get install -y \
g++ gcc make python2.7 pkg-config libx11-dev libxkbfile-dev libsecret-1-dev python-is-python3 rsync \
&& sudo rm -rf /var/lib/apt/lists/*
================================================
FILE: .gitpod.yml
================================================
image:
file: .gitpod.Dockerfile
tasks:
- init: |
npm install
npm run build
command: |
echo "======================="
echo "Please run 'npm run watch'"
echo "======================="
- command: |
echo "==========================================================================="
echo "Please wait for 'npm run watch' to complete compilation"
echo "==========================================================================="
ports:
- port: 8080
onOpen: open-browser
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: false
================================================
FILE: .husky/.gitignore
================================================
_
================================================
FILE: .husky/pre-commit
================================================
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
================================================
FILE: .prettierignore
================================================
lib
dist
out
node_modules
vscode-web/src/vs
vscode-web/extensions
htm.module.js
preact.module.js
preact-hooks.module.js
index.html
================================================
FILE: .prettierrc.js
================================================
export default {
tabWidth: 2,
useTabs: true,
semi: true,
singleQuote: true,
printWidth: 120,
overrides: [
{
files: ['*.yml', '*.yaml', '*.json'],
options: {
useTabs: false,
},
},
],
};
================================================
FILE: LICENSE
================================================
MIT License
Copyright conwnet and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================

# 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](https://github1s.com/microsoft/vscode)

You can also use [https://gitlab1s.com](https://gitlab1s.com) or [https://npmjs1s.com](https://npmjs1s.com) in the same way.
For browser extensions, see [Third-party Related Projects](https://github.com/conwnet/github1s#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](https://www.gitpod.io)" 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](https://github.com/conwnet/github1s/blob/master/docs/guide.md)
- [Roadmap](https://github.com/conwnet/github1s/projects/1)
## 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](https://www.gitpod.io) by clicking the following button:
[](https://gitpod.io/#https://github.com/conwnet/github1s)
### Local development
```bash
git clone git@github.com: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)](https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites) 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](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.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](https://github.com/conwnet/github1s/issues/new)
## Sponsors
The continued development and maintenance of GitHub1s is made possible by these generous sponsors:
|
|
|
netcon 💻 🖋 |
xcv58 💻 🖋 |
Siddhant Khare 💻 🖋 |