You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{/* TODO: document the concept of connections, the JSON schema, etc.*/}
9
+
A **connection** in Sourcebot represents a link to a code host (such as GitHub, GitLab, Bitbucket, etc.). Each connection defines how Sourcebot should authenticate and interact with a particular host, and which repositories to sync and index from that host. Connections are uniquely identified by their name.
9
10
10
-
### Supported code hosts
11
+
A JSON configuration file is used to specify connections. For example:
Configuration files must conform to the [JSON schema](https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json).
45
+
46
+
When running Sourcebot, this file must be mounted in a volume that is accessible to the container, with it's path specified in the `CONFIG_FILE` environment variable. For example:
47
+
48
+
```bash
49
+
docker run \
50
+
-v $(pwd)/config.json:/data/config.json \
51
+
-e CONFIG_FILE=/data/config.json \
52
+
... \ # other config
53
+
ghcr.io/sourcebot-dev/sourcebot:latest
54
+
```
55
+
56
+
## Getting started
57
+
---
58
+
59
+
To get started, pick a platform below and follow the instructions to connect your code.
11
60
12
61
<SupportedPlatforms />
13
62
14
-
<Note>Missing your code host? [Submit a feature request on GitHub](https://github.com/sourcebot-dev/sourcebot/discussions/categories/ideas).</Note>
63
+
<Note>Missing your code host? [Submit a feature request on GitHub](https://github.com/sourcebot-dev/sourcebot/discussions/categories/ideas).</Note>
Copy file name to clipboardExpand all lines: docs/docs/deployment-guide.mdx
-9Lines changed: 0 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,15 +86,6 @@ Watch this 1:51 minute video to get a quick overview of how to deploy Sourcebot
86
86
The first account which is registered on a fresh Sourcebot deployment is given the [owner role](/docs/configuration/auth/roles-and-permissions).
87
87
</Note>
88
88
</Step>
89
-
90
-
<Steptitle="Link your code">
91
-
Sourcebot supports indexing public & private code on the following code hosts:
92
-
93
-
<SupportedPlatforms />
94
-
95
-
<Note>Missing your code host? [Submit a feature request on GitHub](https://github.com/sourcebot-dev/sourcebot/discussions/categories/ideas).</Note>
Copy file name to clipboardExpand all lines: docs/docs/license-key.mdx
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,11 @@ sidebarTitle: License key
7
7
If you'd like a trial license, [reach out](https://www.sourcebot.dev/contact) and we'll send one over within 24 hours
8
8
</Note>
9
9
10
-
All core Sourcebot features are available in Sourcebot OSS (MIT Licensed). Some additional features require a license key. See the [pricing page](https://www.sourcebot.dev/pricing) for more details.
10
+
All core Sourcebot features are available in Sourcebot OSS (MIT Licensed) without any limits. Some additional features require a license key. See the [pricing page](https://www.sourcebot.dev/pricing) for more details.
11
11
12
12
13
13
## Activating a license key
14
+
---
14
15
15
16
After purchasing a license key, you can activate it by setting the `SOURCEBOT_EE_LICENSE_KEY` environment variable.
Copy file name to clipboardExpand all lines: docs/docs/overview.mdx
+18-4Lines changed: 18 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,21 @@ title: "Overview"
6
6
7
7
<AccordionGroup>
8
8
<Accordiontitle="Why Sourcebot?">
9
-
-**Open-source:**
10
-
-**Fast:** Search across millions of lines of code in seconds using Sourcebot's blazingly fast indexed search.
11
-
-**Scalable:** Sourcebot uses [trigram indexing](https://en.wikipedia.org/wiki/Trigram_search), allowing it to scale to massive codebases.
12
-
-**Self-hosted:** Sourcebot is designed to be easily self-hosted, allowing you to deploy it onto your own infrastructure, keeping your code private and secure.
9
+
-**Full-featured search:** Fast indexed-based search with regex support, filters, branch search, boolean logic, and more.
10
+
-**Self-hosted:** Ships as a single [docker container](https://github.com/sourcebot-dev/sourcebot/pkgs/container/sourcebot) that can be deployed anywhere.
11
+
-**Modern design:** Light/Dark mode, vim keybindings, keyboard shortcuts, syntax highlighting, etc.
12
+
-**Scalable:** Scales to millions of lines of code.
13
+
-**Open-source:** Core features are MIT licensed, no vendor lock-in.
13
14
</Accordion>
14
15
</AccordionGroup>
15
16
16
17
## Features
17
18
---
18
19
20
+
<Info>
21
+
Find an overview of all Sourcebot features below. For details, see the individual documentation pages.
22
+
</Info>
23
+
19
24
### Fast-indexed based search
20
25
21
26
Search across millions of lines of code in seconds using Sourcebot's blazingly fast indexed search. Find exactly what you are looking for with regular expressions, search filters, boolean logic, and more.
@@ -157,6 +162,15 @@ One of our design philosophies for Sourcebot is to keep our infrastructure [radi
157
162
158
163
Sourcebot does not support horizontal scaling at this time, but it is on our roadmap. If this is something your team would be interested in, please contact us at [[email protected]](mailto:[email protected]).
159
164
165
+
## License key
166
+
---
167
+
168
+
Sourcebot's core features are available under an [MIT license](https://github.com/sourcebot-dev/sourcebot/blob/HEAD/LICENSE) without any limits. Some [additional features](/docs/license-key#feature-availability) such as SSO and code navigation require a [license key](/docs/license-key).
0 commit comments