跳到正文
GitHub·· 3 小时前AI 评分55

GitHub1s 上线内置 AI 对话,可在浏览器中浏览 GitHub 仓库代码

conwnet/github1s

AI 导读

GitHub1s 是基于 VS Code 的浏览器端代码浏览器,在仓库 URL 的 github 后加 1s 即可打开,无需克隆仓库就能浏览文件、搜索代码和查看改动。

正文

GitHub1s

GitHub1s is a browser-based code explorer built on VS Code. Browse files, search code, and review changes without cloning a repository. Connect your preferred model to the built-in AI chat for help understanding the code.

🌐 Try it now · 📖 Usage guide · 🔮 AI setup

🚀 Quick start

Add 1s after github in a repository URL:

https://github.com/microsoft/vscode
        ↓
https://github1s.com/microsoft/vscode

Public repositories can be browsed without signing in, subject to the upstream services' access and rate limits.

A repository open in GitHub1s, with the file explorer and README preview

You can also browse GitLab repositories at gitlab1s.com and published npm packages at npmjs1s.com. See the usage guide for URL formats, authentication, and navigation.

✨ Features

  • Explore a project. Browse directories, find files, and search code in a familiar VS Code interface.
  • Trace a change. Switch branches or tags, inspect commits and file history, and review pull or merge request diffs on GitHub and GitLab.
  • Understand complex code. Ask GitHub1s AI about a file or selection, then follow up on implementation details.
  • Access private repositories. Connect your GitHub or GitLab account, or supply an access token with the necessary permissions.

Remote repositories are read-only. Search and code navigation depend on the repository platform and available upstream services; see capabilities and limits.

🤖 GitHub1s AI

Get a repository overview, explain a file or selection, and ask follow-up questions. The assistant can look up relevant code as you chat.

Click Toggle Secondary Side Bar in the layout controls at the top of GitHub1s to open the AI panel.

Use a model endpoint that accepts browser requests. Messages and code context are sent to the selected endpoint. See the AI guide for configuration and data handling.

📚 Documentation

Guide What you will find
Using GitHub1s Navigation, authentication, search, and troubleshooting
GitHub1s AI Model setup, context, tools, and data handling
Development Local setup, builds, and checks
Architecture Components, data flow, and source layout
Deployment Hosting, OAuth, and service configuration
Community Third-party extensions and star history

🤝 Contributing

See the development guide to run GitHub1s locally. Report bugs and suggest improvements through GitHub Issues.

👥 Maintainers

conwnet · xcv58 · Siddhant Khare

💖 Thanks

Thanks to everyone who has contributed to GitHub1s, and to Sourcegraph, searchcode, and OSS Insight for the tools and services used by GitHub1s.

📄 License

MIT

来源:GitHub · github.com