This VS Code web extension allows browsing GitHub repositories. After user authorization, repo files appear in sidebar; individual files can be clicked to view contents in a panel. Includes caching and rate limiting.


- Frontend
- VS Code web extension: initialized with vscode-generator-code
- Webview: vscode-webview-ui-toolkit, Vite, React
- VS Code web extension: initialized with vscode-generator-code
- Backend
- Build: Turborepo
Item | Version |
---|---|
Node.js | >= 16.17.0 |
Python | >= 3.11.4 |
Docker | latest |
PNPM | latest |
- Get environment variables
- Copy the file ./apps/backend/.env.example to
./apps/backend/.env
- Register a new OAuth application on GitHub with these parameters:
Key Value Example Application name any repoview
Homepage URL any https://github.com/kosta7/RepoView
Authorization callback URL http://localhost:8080
Enable Device Flow false
- Copy generated Client ID and Client Secret and paste them into
./apps/backend/.env
asGITHUB_CLIENT_ID
andGITHUB_CLIENT_SECRET
- Run
python -c 'import secrets; print(secrets.token_hex())'
and paste the result into./apps/backend/.env
asSECRET_KEY
- Copy the file ./apps/backend/.env.example to
- Activate a new Python environment (e.g. using
python -m venv
)python -m venv apps/backend/venv
source apps/backend/venv/bin/activate
- Install dependencies:
pnpm install
pip install -r apps/backend/requirements.txt
- Start Docker (to be able to run VS Code development server, Redis, and AWS)
pnpm run dev
The purpose of this project is to explore VS Code capabilities. Feel free to open an issue if you have a question or suggestion.