{"id":32860559,"url":"https://github.com/jarebruno/chroma-playground","last_synced_at":"2026-05-05T04:37:52.741Z","repository":{"id":323129398,"uuid":"1092044066","full_name":"jarebruno/chroma-playground","owner":"jarebruno","description":"Playground using chroma as vector database and kubernetes to deploy it","archived":false,"fork":false,"pushed_at":"2025-11-08T09:58:28.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-08T10:07:13.247Z","etag":null,"topics":["bun","chromadb","kubernetes","openai","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jarebruno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-07T22:49:01.000Z","updated_at":"2025-11-08T09:58:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jarebruno/chroma-playground","commit_stats":null,"previous_names":["jarebruno/chroma-playground"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jarebruno/chroma-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarebruno%2Fchroma-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarebruno%2Fchroma-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarebruno%2Fchroma-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarebruno%2Fchroma-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarebruno","download_url":"https://codeload.github.com/jarebruno/chroma-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarebruno%2Fchroma-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32636045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","chromadb","kubernetes","openai","typescript"],"created_at":"2025-11-08T20:00:25.490Z","updated_at":"2026-05-05T04:37:52.737Z","avatar_url":"https://github.com/jarebruno.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chroma-playground\n\nChroma playground is a playground where you can play with [Chroma](https://www.trychroma.com/home), a vectorial database. This kind of databases, let you capture the meaning of items because they embed and transform them into vectorial points and thanks to algorithms like k nearest neighbor, to retrieve closest item. To create the embeddings, the Open AI embedding function has been used.\n\nTech stack:\n  - [Chroma](https://www.trychroma.com/home)\n  - [Open AI API](https://platform.openai.com/docs/overview)\n  - [Bun](https://bun.com/docs)\n  - [Typescript](https://www.typescriptlang.org/)\n  - [Kubernetes](https://kubernetes.io/)\n\n## How to run\n\n### 1. Infrastructure deployment\n\nInfrastructure has been coded under the `infra` folder using kubernetes configuration files.\n\nTo deploy the infrastructure\n\n```sh\nminikube start\nkubectl apply -k infra/\n```\n\nTo assign an IP to the the service and expose it locally\n\n```sh\nminikube tunnel\n```\n\n### 2. Configure the environment variables\n\nCopy the `.env.template` file and set the environment variables with your own\n\n\n### 3. Configure the environment variables\n\nInstall dependencies\n\n```sh\nbun install\n```\n\n\n### 4. Ingest the data\n\nThe chroma database must be ingested first with the policies defined in the `data` folder. To achieve that, execute the `ingest.ts` file with\n\n```sh\nbun run ingest\n```\n\n\n### 5. Query the data\n\nTo get the most semantic related item to a custom prompt, execute the `query` file with\n\n```sh\nbun run query \"Put here your prompt\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarebruno%2Fchroma-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarebruno%2Fchroma-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarebruno%2Fchroma-playground/lists"}