https://github.com/jenswalter/openai-folder-sync
CLI tool for synchronizing a local directory with the OpenAI Vector Store.
https://github.com/jenswalter/openai-folder-sync
cli openai
Last synced: 3 months ago
JSON representation
CLI tool for synchronizing a local directory with the OpenAI Vector Store.
- Host: GitHub
- URL: https://github.com/jenswalter/openai-folder-sync
- Owner: JensWalter
- License: apache-2.0
- Created: 2024-11-25T08:34:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-04-07T07:00:45.000Z (3 months ago)
- Last Synced: 2026-04-07T09:03:51.076Z (3 months ago)
- Topics: cli, openai
- Language: Rust
- Homepage:
- Size: 199 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# OPENAI-FOLDER-SYNC
CLI tool for synchronizing a local directory with the OpenAI Vector Store.
# Install
We currently only support install through cargo
```
cargo install --git https://github.com/JensWalter/openai-folder-sync.git
```
# Usage
**Installed Binary**
```
openai-folder-sync --vector-store 'vs_ABCDEFGHIJK' --local-dir '/Users/jens/tmp/wiki/content' --extensions md
```
**Via Cargo**
```
cargo run -- --vector-store 'vs_ABCDEFGHIJK' --local-dir '/Users/jens/tmp/wiki/content' --extensions md
```
# Help
```
CLI tool for syncing files with the OpenAI vector store.
Usage: openai-folder-sync [OPTIONS] --openai-api-key --vector-store --local-dir
Options:
-o, --openai-api-key
[env: OPENAI_API_KEY=]
-v, --vector-store
[env: VECTOR_STORE=]
-l, --local-dir
[env: LOCAL_DIR=]
-e, --extensions
comma separated list of file extensions to sync [env: EXTENSIONS=]
-g, --git-info
embed git info from git cli into the file content [env: GIT_INFO=] [possible values: true, false]
-h, --help
Print help
-V, --version
Print version
```