oxen-server
is the storage backend for Oxen. It is where the merkle tree, commit history, and other metadata is stored.
oxen-server
instance on your own infrastructure, or use the hosted version on OxenHub. If you want to kick the tires of Oxen in the privacy of your own infrastructure, we recommend you setup a local server.
oxen-server
binary.
config
command. If you ever need to debug or edit the tokens manually, they are stored in the ~/.config/oxen/auth_config.toml
file.
-a
flag
/tmp/oxen_sync
, which is not a good idea for production. To change it set the SYNC_DIR
environment variable to a path.
IP ADDRESS
and PORT
you can do so by passing them in with the -i
and -p
parameters.
oxen
CLI, you can create a remote repository on the server.
hub.oxen.ai
and https
respectively. If you are running a local server, you can set the host to localhost:3000
and the scheme to http
.
You can either clone data from this remote repository, or push data to it.
$SYNC_DIR/<namespace>/<repo_name>/.oxen
.
.oxen
directory. This directory mirrors the .oxen
directory in your local repository, so that logic can be reused between the client and server.
TODO: We are working on adding support for other storage backends, like S3 and MinIO. If you would like to contribute, please see the Oxen-AI/Oxen repo on GitHub.
oxen
CLI to initialize a local repository, add data to it, and push it to the server.
.oxen
directory.
config.toml
file in your local repository.
config.toml
file, you will see the remote set.