Skip to content

Commit fe3817b

Browse files
Rename organization to sourcebot-dev
1 parent d0d104a commit fe3817b

File tree

9 files changed

+33
-33
lines changed

9 files changed

+33
-33
lines changed

.github/workflows/ghcr-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
# Use docker.io for Docker Hub if empty
13-
REGISTRY_IMAGE: ghcr.io/taqlaai/sourcebot
13+
REGISTRY_IMAGE: ghcr.io/sourcebot-dev/sourcebot
1414

1515
jobs:
1616
build:

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "vendor/zoekt"]
22
path = vendor/zoekt
3-
url = https://github.com/TaqlaAI/zoekt
3+
url = https://github.com/sourcebot-dev/zoekt

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Blazingly fast code search 🏎️
1111
<p align="center">
1212
<a href="https://demo.sourcebot.dev"><img src="https://img.shields.io/badge/Try the Demo!-blue?logo=googlechrome&logoColor=orange"/></a>
1313
<a href="mailto:[email protected]"><img src="https://img.shields.io/badge/Email%20Us-brightgreen" /></a>
14-
<a href="https://github.com/TaqlaAI/sourcebot/blob/main/LICENSE"><img src="https://img.shields.io/github/license/TaqlaAI/sourcebot"/></a>
15-
<a href="https://github.com/TaqlaAI/sourcebot/actions/workflows/ghcr-publish.yml"><img src="https://img.shields.io/github/actions/workflow/status/TaqlaAI/sourcebot/ghcr-publish.yml"/><a>
16-
<a href="https://github.com/TaqlaAI/sourcebot/stargazers"><img src="https://img.shields.io/github/stars/TaqlaAI/sourcebot" /></a>
14+
<a href="https://github.com/sourcebot-dev/sourcebot/blob/main/LICENSE"><img src="https://img.shields.io/github/license/sourcebot-dev/sourcebot"/></a>
15+
<a href="https://github.com/sourcebot-dev/sourcebot/actions/workflows/ghcr-publish.yml"><img src="https://img.shields.io/github/actions/workflow/status/sourcebot-dev/sourcebot/ghcr-publish.yml"/><a>
16+
<a href="https://github.com/sourcebot-dev/sourcebot/stargazers"><img src="https://img.shields.io/github/stars/sourcebot-dev/sourcebot" /></a>
1717
</p>
1818

1919

@@ -37,15 +37,15 @@ You can try out our public hosted demo [here](https://demo.sourcebot.dev/)!
3737
Get started with a single docker command:
3838

3939
```
40-
docker run -p 3000:3000 --rm --name sourcebot ghcr.io/taqlaai/sourcebot:main
40+
docker run -p 3000:3000 --rm --name sourcebot ghcr.io/sourcebot-dev/sourcebot:main
4141
```
4242

4343
Navigate to `localhost:3000` to start searching the Sourcebot repo. Want to search your own repos? Checkout how to [configure Sourcebot](#configuring-sourcebot).
4444

4545
<details>
4646
<summary>What does this command do?</summary>
4747

48-
- Pull and run the Sourcebot docker image from [ghcr.io/taqlaai/sourcebot:main](https://github.com/taqlaai/sourcebot/pkgs/container/sourcebot). Make sure you have [docker installed](https://docs.docker.com/get-started/get-docker/).
48+
- Pull and run the Sourcebot docker image from [ghcr.io/sourcebot-dev/sourcebot:main](https://github.com/sourcebot-dev/sourcebot/pkgs/container/sourcebot). Make sure you have [docker installed](https://docs.docker.com/get-started/get-docker/).
4949
- Read the repos listed in [default config](./default-config.json) and start indexing them.
5050
- Map port 3000 between your machine and the docker image.
5151
- Starts the web server on port 3000.
@@ -70,7 +70,7 @@ Sourcebot supports indexing and searching through public and private repositorie
7070
```sh
7171
touch my_config.json
7272
echo '{
73-
"$schema": "https://raw.githubusercontent.com/TaqlaAI/sourcebot/main/schemas/index.json",
73+
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/index.json",
7474
"Configs": [
7575
{
7676
"Type": "github",
@@ -86,13 +86,13 @@ Sourcebot supports indexing and searching through public and private repositorie
8686
3. Run Sourcebot and point it to the new config you created with the `-e CONFIG_PATH` flag:
8787

8888
```sh
89-
docker run -p 3000:3000 --rm --name sourcebot -v $(pwd):/data -e CONFIG_PATH=/data/my_config.json ghcr.io/taqlaai/sourcebot:main
89+
docker run -p 3000:3000 --rm --name sourcebot -v $(pwd):/data -e CONFIG_PATH=/data/my_config.json ghcr.io/sourcebot-dev/sourcebot:main
9090
```
9191

9292
<details>
9393
<summary>What does this command do?</summary>
9494

95-
- Pull and run the Sourcebot docker image from [ghcr.io/taqlaai/sourcebot:main](https://github.com/taqlaai/sourcebot/pkgs/container/sourcebot).
95+
- Pull and run the Sourcebot docker image from [ghcr.io/sourcebot-dev/sourcebot:main](https://github.com/sourcebot-dev/sourcebot/pkgs/container/sourcebot).
9696
- Mount the current directory (`-v $(pwd):/data`) to allow Sourcebot to persist the `.sourcebot` cache.
9797
- Mirrors (clones) llama.cpp at `HEAD` into `.sourcebot/github/ggerganov/llama.cpp`.
9898
- Indexes llama.cpp into a .zoekt index file in `.sourcebot/index/`.
@@ -101,7 +101,7 @@ Sourcebot supports indexing and searching through public and private repositorie
101101
</details>
102102
<br>
103103

104-
You should see a `.sourcebot` folder in your current directory. This folder stores a cache of the repositories zoekt has indexed. The `HEAD` commit of a repository is re-indexed [every hour](https://github.com/TaqlaAI/zoekt/blob/11b7713f1fb511073c502c41cea413d616f7761f/cmd/zoekt-indexserver/main.go#L86). Indexing private repos? See [Providing an access token](#providing-an-access-token).
104+
You should see a `.sourcebot` folder in your current directory. This folder stores a cache of the repositories zoekt has indexed. The `HEAD` commit of a repository is re-indexed [every hour](https://github.com/sourcebot-dev/zoekt/blob/11b7713f1fb511073c502c41cea413d616f7761f/cmd/zoekt-indexserver/main.go#L86). Indexing private repos? See [Providing an access token](#providing-an-access-token).
105105

106106
<details>
107107
<summary><img src="https://gitlab.com/favicon.ico" width="16" height="16" /> Using GitLab?</summary>
@@ -112,7 +112,7 @@ Sourcebot supports indexing and searching through public and private repositorie
112112

113113
```sh
114114
{
115-
"$schema": "https://raw.githubusercontent.com/TaqlaAI/sourcebot/main/schemas/index.json",
115+
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/index.json",
116116
"Configs": [
117117
{
118118
"Type": "gitlab"
@@ -144,7 +144,7 @@ In order to index private repositories, you'll need to generate a GitHub Persona
144144
You'll need to pass this PAT each time you run Sourcebot by setting the `GITHUB_TOKEN` environment variable:
145145
146146
<pre>
147-
docker run -p 3000:3000 --rm --name sourcebot -e <b>GITHUB_TOKEN=[your-github-token]</b> -e CONFIG_PATH=/data/my_config.json -v $(pwd):/data ghcr.io/taqlaai/sourcebot:main
147+
docker run -p 3000:3000 --rm --name sourcebot -e <b>GITHUB_TOKEN=[your-github-token]</b> -e CONFIG_PATH=/data/my_config.json -v $(pwd):/data ghcr.io/sourcebot-dev/sourcebot:main
148148
</pre>
149149
</details>
150150
@@ -161,7 +161,7 @@ Generate a GitLab Personal Access Token (PAT) [here](https://gitlab.com/-/user_s
161161
You'll need to pass this PAT each time you run Sourcebot by setting the `GITLAB_TOKEN` environment variable:
162162

163163
<pre>
164-
docker run -p 3000:3000 --rm --name sourcebot -e <b>GITLAB_TOKEN=[your-gitlab-token]</b> -e CONFIG_PATH=/data/my_config.json -v $(pwd):/data ghcr.io/taqlaai/sourcebot:main
164+
docker run -p 3000:3000 --rm --name sourcebot -e <b>GITLAB_TOKEN=[your-gitlab-token]</b> -e CONFIG_PATH=/data/my_config.json -v $(pwd):/data ghcr.io/sourcebot-dev/sourcebot:main
165165
</pre>
166166

167167
</details>
@@ -171,7 +171,7 @@ docker run -p 3000:3000 --rm --name sourcebot -e <b>GITLAB_TOKEN=[your-gitlab-to
171171

172172
## Build from source
173173
>[!NOTE]
174-
> Building from source is only required if you'd like to contribute. The recommended way to use Sourcebot is to use the [pre-built docker image](https://github.com/TaqlaAI/sourcebot/pkgs/container/sourcebot).
174+
> Building from source is only required if you'd like to contribute. The recommended way to use Sourcebot is to use the [pre-built docker image](https://github.com/sourcebot-dev/sourcebot/pkgs/container/sourcebot).
175175
176176
1. Install <a href="https://go.dev/doc/install"><img src="https://go.dev/favicon.ico" width="16" height="16"> go</a> and <a href="https://nodejs.org/"><img src="https://nodejs.org/favicon.ico" width="16" height="16"> NodeJS</a>. Note that a NodeJS version of at least `21.1.0` is required.
177177
@@ -186,7 +186,7 @@ docker run -p 3000:3000 --rm --name sourcebot -e <b>GITLAB_TOKEN=[your-gitlab-to
186186
187187
3. Clone the repository with submodules:
188188
```sh
189-
git clone --recurse-submodules https://github.com/TaqlaAI/sourcebot.git
189+
git clone --recurse-submodules https://github.com/sourcebot-dev/sourcebot.git
190190
```
191191
192192
4. Run `make` to build zoekt and install dependencies:
@@ -217,7 +217,7 @@ docker run -p 3000:3000 --rm --name sourcebot -e <b>GITLAB_TOKEN=[your-gitlab-to
217217
```sh
218218
ghp_...
219219
```
220-
zoekt will [read this file](https://github.com/TaqlaAI/zoekt/blob/6a5753692b46e669f851ab23211e756a3677185d/cmd/zoekt-mirror-github/main.go#L60) to authenticate with GitHub.
220+
zoekt will [read this file](https://github.com/sourcebot-dev/zoekt/blob/6a5753692b46e669f851ab23211e756a3677185d/cmd/zoekt-mirror-github/main.go#L60) to authenticate with GitHub.
221221
</details>
222222
223223
<details>
@@ -228,7 +228,7 @@ docker run -p 3000:3000 --rm --name sourcebot -e <b>GITLAB_TOKEN=[your-gitlab-to
228228
```sh
229229
glpat-...
230230
```
231-
zoekt will [read this file](https://github.com/TaqlaAI/zoekt/blob/11b7713f1fb511073c502c41cea413d616f7761f/cmd/zoekt-mirror-gitlab/main.go#L43) to authenticate with GitLab.
231+
zoekt will [read this file](https://github.com/sourcebot-dev/zoekt/blob/11b7713f1fb511073c502c41cea413d616f7761f/cmd/zoekt-mirror-gitlab/main.go#L43) to authenticate with GitLab.
232232
</details>
233233
</div>
234234
@@ -243,15 +243,15 @@ docker run -p 3000:3000 --rm --name sourcebot -e <b>GITLAB_TOKEN=[your-gitlab-to
243243
244244
## Telemetry
245245
246-
By default, Sourcebot collects anonymized usage data through [PostHog](https://posthog.com/) to help us improve the performance and reliability of our tool. We do not collect or transmit [any information related to your codebase](https://github.com/search?q=repo:TaqlaAI/sourcebot++captureEvent&type=code). In addition, all events are [sanitized](https://github.com/TaqlaAI/sourcebot/blob/main/src/app/posthogProvider.tsx) to ensure that no sensitive or identifying details leave your machine. The data we collect includes general usage statistics and metadata such as query performance (e.g., search duration, error rates) to monitor the application's health and functionality. This information helps us better understand how Sourcebot is used and where improvements can be made :)
246+
By default, Sourcebot collects anonymized usage data through [PostHog](https://posthog.com/) to help us improve the performance and reliability of our tool. We do not collect or transmit [any information related to your codebase](https://github.com/search?q=repo:sourcebot-dev/sourcebot++captureEvent&type=code). In addition, all events are [sanitized](https://github.com/sourcebot-dev/sourcebot/blob/main/src/app/posthogProvider.tsx) to ensure that no sensitive or identifying details leave your machine. The data we collect includes general usage statistics and metadata such as query performance (e.g., search duration, error rates) to monitor the application's health and functionality. This information helps us better understand how Sourcebot is used and where improvements can be made :)
247247

248248
If you'd like to disable all telemetry, you can do so by setting the environment variable `SOURCEBOT_TELEMETRY_DISABLED` to `1` in the docker run command:
249249
250250
<pre>
251-
docker run -e <b>SOURCEBOT_TELEMETRY_DISABLED=1</b> /* additional args */ ghcr.io/taqlaai/sourcebot:main
251+
docker run -e <b>SOURCEBOT_TELEMETRY_DISABLED=1</b> /* additional args */ ghcr.io/sourcebot-dev/sourcebot:main
252252
</pre>
253253
254-
Or if you are [building locally](#building-sourcebot), add the following to your [.env](./.env) file:
254+
Or if you are [building locally](#build-from-source), add the following to your [.env](./.env) file:
255255
```sh
256256
SOURCEBOT_TELEMETRY_DISABLED=1
257257
NEXT_PUBLIC_SOURCEBOT_TELEMETRY_DISABLED=1

default-config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/TaqlaAI/sourcebot/main/schemas/index.json",
2+
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/index.json",
33
"Configs": [
44
{
55
"Type": "github",
6-
"GitHubOrg": "TaqlaAI",
6+
"GitHubOrg": "sourcebot-dev",
77
"Name": "^sourcebot$"
88
}
99
]

demo-site-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/TaqlaAI/sourcebot/main/schemas/index.json",
2+
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/index.json",
33
"Configs": [
44
{
55
"Type": "github",

example-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/TaqlaAI/sourcebot/main/schemas/index.json",
2+
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/index.json",
33
"Configs": [
44
// ~~~~~~~~~~~~ GitHub Examples ~~~~~~~~~~~~
55
// Index all repos in organization "my-org".

src/app/navigationMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import logoDark from "../../public/sb_logo_dark_small.png";
1111
import logoLight from "../../public/sb_logo_light_small.png";
1212
import { useRouter } from "next/navigation";
1313

14-
const SOURCEBOT_GITHUB_URL = "https://github.com/TaqlaAI/sourcebot";
14+
const SOURCEBOT_GITHUB_URL = "https://github.com/sourcebot-dev/sourcebot";
1515

1616
export const NavigationMenu = () => {
1717
const router = useRouter();

src/lib/schemas.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const searchRequestSchema = z.object({
77
});
88

99

10-
// @see : https://github.com/TaqlaAI/zoekt/blob/main/api.go#L212
10+
// @see : https://github.com/sourcebot-dev/zoekt/blob/main/api.go#L212
1111
export const locationSchema = z.object({
1212
// 0-based byte offset from the beginning of the file
1313
ByteOffset: z.number(),
@@ -22,7 +22,7 @@ export const rangeSchema = z.object({
2222
End: locationSchema,
2323
});
2424

25-
// @see : https://github.com/TaqlaAI/zoekt/blob/3780e68cdb537d5a7ed2c84d9b3784f80c7c5d04/api.go#L350
25+
// @see : https://github.com/sourcebot-dev/zoekt/blob/3780e68cdb537d5a7ed2c84d9b3784f80c7c5d04/api.go#L350
2626
export const searchResponseStats = {
2727
ContentBytesLoaded: z.number(),
2828
IndexBytesLoaded: z.number(),
@@ -46,7 +46,7 @@ export const searchResponseStats = {
4646
FlushReason: z.number(),
4747
}
4848

49-
// @see : https://github.com/TaqlaAI/zoekt/blob/3780e68cdb537d5a7ed2c84d9b3784f80c7c5d04/api.go#L497
49+
// @see : https://github.com/sourcebot-dev/zoekt/blob/3780e68cdb537d5a7ed2c84d9b3784f80c7c5d04/api.go#L497
5050
export const searchResponseSchema = z.object({
5151
Result: z.object({
5252
...searchResponseStats,
@@ -81,7 +81,7 @@ export const fileSourceResponseSchema = z.object({
8181
});
8282

8383

84-
// @see : https://github.com/TaqlaAI/zoekt/blob/3780e68cdb537d5a7ed2c84d9b3784f80c7c5d04/api.go#L728
84+
// @see : https://github.com/sourcebot-dev/zoekt/blob/3780e68cdb537d5a7ed2c84d9b3784f80c7c5d04/api.go#L728
8585
const repoStatsSchema = z.object({
8686
Repos: z.number(),
8787
Shards: z.number(),
@@ -93,7 +93,7 @@ const repoStatsSchema = z.object({
9393
OtherBranchesNewLinesCount: z.number(),
9494
});
9595

96-
// @see : https://github.com/TaqlaAI/zoekt/blob/3780e68cdb537d5a7ed2c84d9b3784f80c7c5d04/api.go#L716
96+
// @see : https://github.com/sourcebot-dev/zoekt/blob/3780e68cdb537d5a7ed2c84d9b3784f80c7c5d04/api.go#L716
9797
const indexMetadataSchema = z.object({
9898
IndexFormatVersion: z.number(),
9999
IndexFeatureVersion: z.number(),
@@ -105,7 +105,7 @@ const indexMetadataSchema = z.object({
105105
ID: z.string(),
106106
});
107107

108-
// @see : https://github.com/TaqlaAI/zoekt/blob/3780e68cdb537d5a7ed2c84d9b3784f80c7c5d04/api.go#L555
108+
// @see : https://github.com/sourcebot-dev/zoekt/blob/3780e68cdb537d5a7ed2c84d9b3784f80c7c5d04/api.go#L555
109109
export const repositorySchema = z.object({
110110
Name: z.string(),
111111
URL: z.string(),

src/lib/server/searchService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { zoektFetch } from "./zoektClient";
99
export const search = async ({ query, maxMatchDisplayCount, whole }: SearchRequest): Promise<SearchResponse | ServiceError> => {
1010
const body = JSON.stringify({
1111
q: query,
12-
// @see: https://github.com/TaqlaAI/zoekt/blob/main/api.go#L892
12+
// @see: https://github.com/sourcebot-dev/zoekt/blob/main/api.go#L892
1313
opts: {
1414
NumContextLines: 2,
1515
ChunkMatches: true,

0 commit comments

Comments
 (0)