github-agent

agent
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: NOASSERTION
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 8 GitHub stars
Code Basarisiz
  • exec() — Shell command execution in node_modules/@babel/code-frame/lib/index.js
  • process.env — Environment variable access in node_modules/@babel/code-frame/lib/index.js
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Browser-native AI assistant for GitHub. Chat with your repositories, search code and review issues from a local app. Your token never leaves the browser and there is no backend.

README.md

GitHub Agent: Browser-Native AI Assistant for GitHub

Chat with your GitHub repositories from a local web app. Browse code, search repos, review issues and run repository tasks through an AI assistant that runs entirely in your browser with no backend server.

License: MIT
Vite
JavaScript
No Backend

GitHub Agent demo

What it does

GitHub Agent is a single-page app that connects to the GitHub API with your personal access token and puts an AI assistant in front of it. Ask questions about a repository in plain English and get answers grounded in the actual code, issues and commit history.

Because it is browser native, your token never leaves your machine. There is no server to deploy and nothing to trust beyond the code in this repo.

Features

  • Repository chat: ask about any repo you can access and get answers from real file contents
  • Code search: find functions, patterns and files across a repository
  • Issue and PR context: pull in discussions to inform answers
  • Local first: your GitHub token stays in the browser, no proxy server
  • Zero deployment: npm run dev and you are working
  • Fast: built on Vite for instant startup and hot reload

Getting started

Prerequisites

  • Node.js 18 or newer
  • A GitHub personal access token with repo scope

Installation

git clone https://github.com/AnubhavChaturvedi-GitHub/github-agent.git
cd github-agent
npm install
npm run dev

Open the printed localhost URL, paste your token when prompted, and pick a repository.

Build for production

npm run build
npm run preview

The output in dist/ is a static bundle you can host anywhere.

Security note

Create a fine-grained personal access token scoped to only the repositories you want the agent to see, and give it read-only permissions unless you specifically need writes. Never commit a token to a repository.

Tech stack

Vite, vanilla JavaScript, the GitHub REST API, ESLint.

Contributing

Issues and pull requests are welcome.

License

Released under the MIT License.

Author

Anubhav Chaturvedi, founder of NetHyTech, a developer community of 30,000+ members.

YouTube
LinkedIn

If this project saved you time, a star on the repo helps other people find it.

Yorumlar (0)

Sonuc bulunamadi