Skip to content

OpScaleHub/chromadb-ui

 
 

Repository files navigation

ChromaDB UI

ChromaDB UI is a web application for interacting with the ChromaDB vector database using a user-friendly interface.

ui1

ui7

ui8


Getting Started

Follow these steps to run ChromaDB UI locally.

  1. Clone the repository
git clone https://github.com/BlackyDrum/chromadb-ui.git
cd chromadb-ui
  1. Install dependencies
npm install
  1. Start the development server
VITE_PORT=8090 npm run dev

Using Docker Compose for ChromaDB

This repository includes a docker-compose.yml file that simplifies starting a ChromaDB container.

  1. Ensure Docker is installed and running on your machine.
  2. Start the ChromaDB container using the following command
docker-compose up -d

This will start a ChromaDB instance and expose it on the appropriate port.

Using Docker

You can also run ChromaDB UI using Docker. The Docker image is built and pushed to the GitHub Container Registry.

Pull the Docker image

docker pull ghcr.io/<your-github-username>/chromadb-ui:latest

Run the Docker container

docker run -e VITE_PORT=8090 -p 8090:80 ghcr.io/<your-github-username>/chromadb-ui:latest

Replace <your-github-username> with your actual GitHub username.

Troubleshooting CORS Issues

If you encounter issues such as CORS errors while running the application, you can resolve them by changing the port configuration:

  1. Update the Docker Compose file
    Modify the CHROMA_SERVER_CORS_ALLOW_ORIGINS environment variable to include the new port:
environment:
    - CHROMA_SERVER_CORS_ALLOW_ORIGINS=["http://localhost:8090"]
  1. Update the package.json
    Change the dev script to specify the new port
"scripts": {
    "dev": "vite --port $VITE_PORT"
}

After making these changes, restart both the Docker container and the Vite development server. This should resolve the CORS issue.

About

Interact with ChromaDB using a user-friendly interface

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Vue 92.6%
  • JavaScript 3.7%
  • Dockerfile 2.3%
  • HTML 1.2%
  • CSS 0.2%