Docs
This hub speaks the Hugging Face Hub API, so the official huggingface_hub and transformers clients work with it once they are pointed here.
Connect a client
The whiteduck client wraps huggingface_hub, so downloads, the cache and file formats stay compatible. It also refuses to send requests to Hugging Face hosts, so your token cannot leave this hub.
- Create an access token in Settings, Access tokens. It starts with
wd_and is shown once. - Install the client and sign in. It stores the hub URL and token in
~/.config/whiteduck/config.toml:
pip install https://provyd.xyz/clients/whiteduck-0.1.0-py3-none-any.whl wd login --host https://api.provyd.xyz wd download you/my-model wd upload you/my-model ./weights.bin
WD_ENDPOINT and WD_TOKEN override the stored values. Other commands: wd ls, wd repo create, wd whoami and wd logout.
Using the Hugging Face client instead
Set both variables before your program imports the client:
export HF_ENDPOINT=https://api.provyd.xyz export HF_TOKEN=wd_...
pip install huggingface_hub hf download you/my-model
Setting HF_ENDPOINT matters: some client methods ignore HfApi(endpoint=...) and read only the variable. The JavaScript client rejects tokens that do not start with hf_ and needs a small fetch adapter, described in the compatibility notes shipped with the source.
Calls that never reach this hub
Do not use these with a wd_ token. The official client sends them to Hugging Face hosts that ignore HF_ENDPOINT, so your token would leave this hub. Nothing on this server can block or log them. If you did, revoke the token in settings.
api.endpoints.huggingface.cloud: list_inference_endpoints, create_inference_endpoint and the other inference endpoint calls, and every hf endpoints commandrouter.huggingface.co: InferenceClient with provider=, or with a bare model id such as "you/my-model"api-inference.huggingface.co: InferenceClient.get_endpoint_info() with a bare model idhuggingface.co: InferenceClient(base_url="…/v1").feature_extraction(model="you/my-model"), which first looks the model up on huggingface.co and sends your token theredatasets-server.huggingface.co: list_dataset_parquet_filesendpoints.huggingface.co: list_inference_catalog, create_inference_endpoint_from_catalog
To call a model here, pass the hub URL instead: InferenceClient(base_url="https://api.provyd.xyz/v1") or InferenceClient(model="https://api.provyd.xyz/api/wd/inference/models/you/my-model"). This hub has no Inference Endpoints product.
Git
Git over SSH is on. Add a public key in Settings, SSH keys, then clone:
git clone ssh://git@wd.provyd.xyz:2222/you/my-modelDatasets and Spaces use datasets/you/name and spaces/you/name.
API
The Hub-compatible API lives under https://api.provyd.xyz/api and follows the Hugging Face paths. Features specific to this hub are under https://api.provyd.xyz/api/wd. Inference is also exposed as an OpenAI-style API at https://api.provyd.xyz/v1. The models this hub starts on request are listed on Inference models.
Status
A liveness check is at https://api.provyd.xyz/healthz. Ask the operator of this hub for its version, uptime and support contact.