sourcegraph-public-snapshot README

The project's README from github.com/sourcegraph/sourcegraph-public-snapshot. As one markdown file: README.md.

[!NOTE] Sourcegraph transitioned to a private monorepo. This repository, sourcegraph/sourcegraph-public-snapshot is a publicly available copy of the sourcegraph/sourcegraph repository as it was just before the migration.

[!TIP] If you are interested in working with the code, this commit is the last one made under an Apache License.


Docs • Contributing • Twitter • Discord

Build status Scorecard Latest release Discord Contributors


Sourcegraph makes it easy to read, write, and fix code—even in big, complex codebases.

Getting started



Development

Refer to the Developing Sourcegraph guide to get started.

Documentation

The doc directory has additional documentation for developing and understanding Sourcegraph:

License

This repository contains primarily non-OSS-licensed files. See LICENSE.

Copyright (c) 2018-present Sourcegraph Inc.

sourcegraph-public-snapshot (sourcegraph/sourcegraph-public-snapshot)

Searching Database…

这是什么东西?Sourcegraph 是一个面向大型、复杂代码库的代码 AI 平台:它把通用代码搜索、代码智能,以及大规模修复和重构代码的工具结合在了一起。
它是在线服务,还是要我自己部署?它以服务形式运行:你既可以使用云端版 Sourcegraph,也可以自己托管;另外 Sourcegraph.com 提供公开的代码搜索,不用部署任何东西就能直接试用。
我能把这些代码用到自己的项目里吗?大部分不行。仓库里的文件大多不是开源许可证,README 指向的那个提交被标注为最后一个采用 Apache License 的提交。
这个代码库是用什么写的?主要语言是 Go(GitHub 上标注为 Go,文档里也有一份 Go 风格指南),此外还有一个 TypeScript 编写的 Web 前端——仓库基于 Node 20 和 pnpm 构建,使用了 CodeMirror 编辑器组件,并对外提供 GraphQL API。
我想看看源码,应该从哪里入手?README 指向了 Developing Sourcegraph 指南,doc 目录里涵盖了整体架构、数据库配置的最佳实践、Go 风格指南,以及 GraphQL API 的使用技巧。
Size
1.3 GB
Stars
10.3K
Age
11y
Commits · 90 Days