diff --git a/.devcontainer/README.md b/.devcontainer/README.md
index e2de79f248d..01564388380 100644
--- a/.devcontainer/README.md
+++ b/.devcontainer/README.md
@@ -20,7 +20,7 @@ Welcome to the AnythingLLM development container configuration, designed to crea
## Getting Started
-1. Using Github Codepaces. Just select to create a new workspace, and the devcontainer will be created for you.
+1. Using GitHub Codespaces. Just select to create a new workspace, and the devcontainer will be created for you.
2. Using your Local VSCode (Release or Insiders). We suggest you first make a fork of the repo and then clone it to your local machine using VSCode tools. Then open the project folder in VSCode, which will prompt you to open the project in a devcontainer. Select yes, and the devcontainer will be created for you. If this does not happen, you can open the command palette and select "Remote-Containers: Reopen in Container".
@@ -36,16 +36,16 @@ Checklist:
- [ ] The usual message asking you to start the Server and Frontend in different windows are now "hidden" in the building process of the devcontainer. Don't forget to do as suggested.
- [ ] Open a JavaScript file, for example "server/index.js" and check if `eslint` is working. It will complain that `'err' is defined but never used.`. This means it is working.
-- [ ] Open a React File, for example, "frontend/src/main.jsx," and check if `eslint` complains about `Fast refresh only works when a file has exports. Move your component(s) to a separate file.`. Again, it means `eslint` is working. Now check at the status bar if the `Prettier` has a double checkmark :heavy_check_mark: (double). It means Prettier is working. You will see a nice extension `Formatting:`:heavy_check_mark: that can be used to disable the `Format on Save` feature temporarily.
+- [ ] Open a React File, for example, "frontend/src/main.jsx," and check if `eslint` complains about `Fast refresh only works when a file has exports. Move your component(s) to a separate file.`. Again, it means `eslint` is working. Now check at the status bar if the `Prettier` has a double checkmark :heavy_check_mark: (double). It means Prettier is working. You will see a nice extension `Formatting:`:heavy_check_mark: that can be used to disable the `Format on Save` feature temporarily.
- [ ] Check if, on the left pane, you have the NPM Scripts (this may be disabled; look at the "Explorer" tree-dots up-right). There will be scripts inside the `package.json` files. You will basically need to run the `dev:collector`, `dev:server` and the `dev:frontend` in this order. When the frontend finishes starting, a window browser will open **inside** the VSCode. Still, you can open it outside.
:warning: **Important for all developers** :warning:
- [ ] When you are using the `NODE_ENV=development` the server will not store the configurations you set for security reasons. Please set the proper config on file `.env.development`. The side-effect if you don't, everytime you restart the server, you will be sent to the "Onboarding" page again.
-**Note when using Github Codespaces**
+**Note when using GitHub Codespaces**
-- [ ] When running the "Server" for the first time, it will automatically configure its port to be publicly accessible by default, as this is required for the front end to reach the server backend. To know more, read the content of the `.env` file on the frontend folder about this, and if any issues occur, make sure to manually set the port "Visibility" of the "Server" is set to "Public" if needed. Again, this is only needed for developing on Github Codespaces.
+- [ ] When running the "Server" for the first time, it will automatically configure its port to be publicly accessible by default, as this is required for the front end to reach the server backend. To know more, read the content of the `.env` file on the frontend folder about this, and if any issues occur, make sure to manually set the port "Visibility" of the "Server" is set to "Public" if needed. Again, this is only needed for developing on GitHub Codespaces.
**For the Collector:**
diff --git a/.github/workflows/build-and-push-image.yaml b/.github/workflows/build-and-push-image.yaml
index 652891b96b7..fe903f829c2 100644
--- a/.github/workflows/build-and-push-image.yaml
+++ b/.github/workflows/build-and-push-image.yaml
@@ -1,7 +1,7 @@
-# This Github action is for publishing of the primary image for AnythingLLM
+# This GitHub action is for publishing of the primary image for AnythingLLM
# It will publish a linux/amd64 and linux/arm64 image at the same time
# This file should ONLY BY USED FOR `master` BRANCH.
-# TODO: Github now has an ubuntu-24.04-arm64 runner, but we still need
+# TODO: GitHub now has an ubuntu-24.04-arm64 runner, but we still need
# to use QEMU to build the arm64 image because Chromium is not available for Linux arm64
# so builds will still fail, or fail much more often. Its inconsistent and frustrating.
name: Publish AnythingLLM Primary Docker image (amd64/arm64)
diff --git a/.github/workflows/check-translations.yaml b/.github/workflows/check-translations.yaml
index 1dae48814a4..ad1de0c2a0b 100644
--- a/.github/workflows/check-translations.yaml
+++ b/.github/workflows/check-translations.yaml
@@ -1,4 +1,4 @@
-# This Github action is for validation of all languages which translations are offered for
+# This GitHub action is for validation of all languages which translations are offered for
# in the locales folder in `frontend/src`. All languages are compared to the EN translation
# schema since that is the fallback language setting. This workflow will run on all PRs that
# modify any files in the translation directory
diff --git a/BARE_METAL.md b/BARE_METAL.md
index ea30c5fe110..205cebb575d 100644
--- a/BARE_METAL.md
+++ b/BARE_METAL.md
@@ -33,7 +33,7 @@ STORAGE_DIR="/your/absolute/path/to/server/storage"
5. Edit the `frontend/.env` file for the `VITE_BASE_API` to now be set to `/api`. This is documented in the .env for which one you should use.
```
# VITE_API_BASE='http://localhost:3001/api' # Use this URL when developing locally
-# VITE_API_BASE="https://$CODESPACE_NAME-3001.$GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN/api" # for Github Codespaces
+# VITE_API_BASE="https://$CODESPACE_NAME-3001.$GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN/api" # for GitHub Codespaces
VITE_API_BASE='/api' # Use this URL deploying on non-localhost address OR in docker.
```
diff --git a/collector/extensions/resync/index.js b/collector/extensions/resync/index.js
index 024935f5cfd..cb25958528a 100644
--- a/collector/extensions/resync/index.js
+++ b/collector/extensions/resync/index.js
@@ -95,7 +95,7 @@ async function resyncGithub({ chunkSource }, response) {
sourceFilePath: source.searchParams.get('path'),
});
- if (!success) throw new Error(`Failed to sync Github file content. ${reason}`);
+ if (!success) throw new Error(`Failed to sync GitHub file content. ${reason}`);
response.status(200).json({ success, content });
} catch (e) {
console.error(e);
diff --git a/collector/utils/extensions/RepoLoader/GithubRepo/RepoLoader/index.js b/collector/utils/extensions/RepoLoader/GithubRepo/RepoLoader/index.js
index 61ef2036e64..26d3e172c32 100644
--- a/collector/utils/extensions/RepoLoader/GithubRepo/RepoLoader/index.js
+++ b/collector/utils/extensions/RepoLoader/GithubRepo/RepoLoader/index.js
@@ -35,7 +35,7 @@ class GitHubRepoLoader {
// Not a github url at all.
if (url.hostname !== "github.com") {
console.log(
- `[Github Loader]: Invalid Github URL provided! Hostname must be 'github.com'. Got ${url.hostname}`
+ `[GitHub Loader]: Invalid GitHub URL provided! Hostname must be 'github.com'. Got ${url.hostname}`
);
return false;
}
@@ -45,7 +45,7 @@ class GitHubRepoLoader {
const [author, project, ..._rest] = url.pathname.slice(1).split("/");
if (!author || !project) {
console.log(
- `[Github Loader]: Invalid Github URL provided! URL must be in the format of 'github.com/{author}/{project}'. Got ${url.pathname}`
+ `[GitHub Loader]: Invalid GitHub URL provided! URL must be in the format of 'github.com/{author}/{project}'. Got ${url.pathname}`
);
return false;
}
@@ -55,7 +55,7 @@ class GitHubRepoLoader {
return true;
} catch (e) {
console.log(
- `[Github Loader]: Invalid Github URL provided! Error: ${e.message}`
+ `[GitHub Loader]: Invalid GitHub URL provided! Error: ${e.message}`
);
return false;
}
@@ -68,10 +68,10 @@ class GitHubRepoLoader {
if (!!this.branch && this.branches.includes(this.branch)) return;
console.log(
- "[Github Loader]: Branch not set! Auto-assigning to a default branch."
+ "[GitHub Loader]: Branch not set! Auto-assigning to a default branch."
);
this.branch = this.branches.includes("main") ? "main" : "master";
- console.log(`[Github Loader]: Branch auto-assigned to ${this.branch}.`);
+ console.log(`[GitHub Loader]: Branch auto-assigned to ${this.branch}.`);
return;
}
@@ -90,7 +90,7 @@ class GitHubRepoLoader {
})
.catch((e) => {
console.error(
- "Invalid Github Access Token provided! Access token will not be used",
+ "Invalid GitHub Access Token provided! Access token will not be used",
e.message
);
return false;
@@ -118,14 +118,14 @@ class GitHubRepoLoader {
* @throws {Error} If the RepoLoader is not in a ready state.
*/
async recursiveLoader() {
- if (!this.ready) throw new Error("[Github Loader]: not in ready state!");
+ if (!this.ready) throw new Error("[GitHub Loader]: not in ready state!");
const {
GithubRepoLoader: LCGithubLoader,
} = require("@langchain/community/document_loaders/web/github");
if (this.accessToken)
console.log(
- `[Github Loader]: Access token set! Recursive loading enabled!`
+ `[GitHub Loader]: Access token set! Recursive loading enabled!`
);
const loader = new LCGithubLoader(this.repo, {
diff --git a/collector/utils/extensions/RepoLoader/GithubRepo/index.js b/collector/utils/extensions/RepoLoader/GithubRepo/index.js
index b2efe221146..ae3396ccb45 100644
--- a/collector/utils/extensions/RepoLoader/GithubRepo/index.js
+++ b/collector/utils/extensions/RepoLoader/GithubRepo/index.js
@@ -7,7 +7,7 @@ const { writeToServerDocuments } = require("../../../files");
const { tokenizeString } = require("../../../tokenizer");
/**
- * Load in a Github Repo recursively or just the top level if no PAT is provided
+ * Load in a GitHub Repo recursively or just the top level if no PAT is provided
* @param {object} args - forwarded request body params
* @param {import("../../../middleware/setDataSigner").ResponseWithSigner} response - Express response object with encryptionWorker
* @returns
@@ -19,11 +19,11 @@ async function loadGithubRepo(args, response) {
if (!repo.ready)
return {
success: false,
- reason: "Could not prepare Github repo for loading! Check URL",
+ reason: "Could not prepare GitHub repo for loading! Check URL",
};
console.log(
- `-- Working Github ${repo.author}/${repo.project}:${repo.branch} --`
+ `-- Working GitHub ${repo.author}/${repo.project}:${repo.branch} --`
);
const docs = await repo.recursiveLoader();
if (!docs.length) {
@@ -33,7 +33,7 @@ async function loadGithubRepo(args, response) {
};
}
- console.log(`[Github Loader]: Found ${docs.length} source files. Saving...`);
+ console.log(`[GitHub Loader]: Found ${docs.length} source files. Saving...`);
const outFolder = slugify(
`${repo.author}-${repo.project}-${repo.branch}-${v4().slice(0, 4)}`
).toLowerCase();
@@ -69,7 +69,7 @@ async function loadGithubRepo(args, response) {
token_count_estimate: tokenizeString(doc.pageContent),
};
console.log(
- `[Github Loader]: Saving ${doc.metadata.source} to ${outFolder}`
+ `[GitHub Loader]: Saving ${doc.metadata.source} to ${outFolder}`
);
writeToServerDocuments(
data,
@@ -92,7 +92,7 @@ async function loadGithubRepo(args, response) {
}
/**
- * Gets the page content from a specific source file in a give Github Repo, not all items in a repo.
+ * Gets the page content from a specific source file in a give GitHub Repo, not all items in a repo.
* @returns
*/
async function fetchGithubFile({
@@ -112,11 +112,11 @@ async function fetchGithubFile({
return {
success: false,
content: null,
- reason: "Could not prepare Github repo for loading! Check URL or PAT.",
+ reason: "Could not prepare GitHub repo for loading! Check URL or PAT.",
};
console.log(
- `-- Working Github ${repo.author}/${repo.project}:${repo.branch} file:${sourceFilePath} --`
+ `-- Working GitHub ${repo.author}/${repo.project}:${repo.branch} file:${sourceFilePath} --`
);
const fileContent = await repo.fetchSingleFile(sourceFilePath);
if (!fileContent) {
diff --git a/collector/utils/extensions/RepoLoader/index.js b/collector/utils/extensions/RepoLoader/index.js
index 6395e889e55..28e8780239e 100644
--- a/collector/utils/extensions/RepoLoader/index.js
+++ b/collector/utils/extensions/RepoLoader/index.js
@@ -1,6 +1,6 @@
/**
* Dynamically load the correct repository loader from a specific platform
- * by default will return Github.
+ * by default will return GitHub.
* @param {('github'|'gitlab')} platform
* @returns {import("./GithubRepo/RepoLoader")|import("./GitlabRepo/RepoLoader")} the repo loader class for provider
*/
diff --git a/frontend/.env.example b/frontend/.env.example
index 73cd07c62e4..05619d24f67 100644
--- a/frontend/.env.example
+++ b/frontend/.env.example
@@ -1,3 +1,3 @@
VITE_API_BASE='http://localhost:3001/api' # Use this URL when developing locally
-# VITE_API_BASE="https://$CODESPACE_NAME-3001.$GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN/api" # for Github Codespaces
+# VITE_API_BASE="https://$CODESPACE_NAME-3001.$GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN/api" # for GitHub Codespaces
# VITE_API_BASE='/api' # Use this URL deploying on non-localhost address OR in docker.
diff --git a/frontend/src/components/DataConnectorOption/media/index.js b/frontend/src/components/DataConnectorOption/media/index.js
index cbc80b642db..764fc7d60ac 100644
--- a/frontend/src/components/DataConnectorOption/media/index.js
+++ b/frontend/src/components/DataConnectorOption/media/index.js
@@ -1,11 +1,11 @@
-import Github from "./github.svg";
+import GitHub from "./github.svg";
import Gitlab from "./gitlab.svg";
import YouTube from "./youtube.svg";
import Link from "./link.svg";
import Confluence from "./confluence.jpeg";
const ConnectorImages = {
- github: Github,
+ github: GitHub,
gitlab: Gitlab,
youtube: YouTube,
websiteDepth: Link,
diff --git a/frontend/src/components/DefaultChat/index.jsx b/frontend/src/components/DefaultChat/index.jsx
index e3087d1b1df..4340adaeafe 100644
--- a/frontend/src/components/DefaultChat/index.jsx
+++ b/frontend/src/components/DefaultChat/index.jsx
@@ -159,7 +159,7 @@ export default function DefaultChatContainer() {
className="mt-5 w-fit transition-all duration-300 border border-slate-200 px-4 py-2 rounded-lg text-white light:border-black/50 light:text-theme-text-primary text-sm items-center flex gap-x-2 hover:bg-slate-200 hover:text-slate-800 focus:ring-gray-800"
>
-