CLI tool for managing LLM models on IPFS and GitHub Pages
Project description
OctoFace CLI
A command-line tool for managing LLM models on IPFS and GitHub Pages.
Installation
pip install octoface
Usage
Set up credentials
# Set GitHub API token
export GITHUB_API_TOKEN="your-github-api-token"
# Set up web3.storage
npm i --global @web3-storage/w3cli
w3 login # Follow prompts to authenticate
w3 space create my-space-name # Create a storage space
w3 space use my-space-name # Select the space for uploads
Test GitHub API access
octoface test-github
Download models from HuggingFace
octoface download "hf-username/cool-model"
Upload models to IPFS and GitHub
# Upload local model
octoface upload . --name "gemma-3-4b-it"
# Upload with description
octoface upload "./path/to/model/gemma-3-4b-it" --description "State-of-the-art open models from Google"
# Upload with tags
octoface upload "./path/to/model" --name "My Model" --description "A cool model" --tags "cool,awesome"
# Download from HF and upload in one step
octoface upload "hf-username/cool-model"
Generate files for manual submission
If you don't have push access to the OctoFaceHub repository, you can generate the necessary files and submit them manually:
# Generate files using a local model directory
octoface generate-files --path "./path/to/model" --name "My Model" --description "A cool model" --tags "cool,awesome"
# Generate files using an existing IPFS CID
octoface generate-files --cid "bafybeih2qqh6rfmgrrggvkwsve7yuru72tm66vmp2cc5q7nmhytnovq7dm" --name "My Model" --description "A cool model" --tags "cool,awesome"
# Specify custom output directory
octoface generate-files --path "./path/to/model" --name "My Model" --description "A cool model" --tags "cool,awesome" --output "./my-files"
After generating the files, follow the instructions in the GUIDE.md file to submit your model to OctoFaceHub.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file octoface-0.2.0.tar.gz.
File metadata
- Download URL: octoface-0.2.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27e0eeded0d6a3bc9f8ec242b4d406e59b658293db06de89166c63c8c2bd26b2
|
|
| MD5 |
4b93f2f4517aa2b3175b98ebe7e67744
|
|
| BLAKE2b-256 |
eed60f8938c8ac64ee94cc4d7e1bae20a8e818ad76ce763b12415dc47d2eeab2
|
Provenance
The following attestation bundles were made for octoface-0.2.0.tar.gz:
Publisher:
publish.yml on octofacehub/octoface
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
octoface-0.2.0.tar.gz -
Subject digest:
27e0eeded0d6a3bc9f8ec242b4d406e59b658293db06de89166c63c8c2bd26b2 - Sigstore transparency entry: 187945406
- Sigstore integration time:
-
Permalink:
octofacehub/octoface@2db0a8ed7d71c751d2ce6347570656a65567d873 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/octofacehub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2db0a8ed7d71c751d2ce6347570656a65567d873 -
Trigger Event:
release
-
Statement type:
File details
Details for the file octoface-0.2.0-py3-none-any.whl.
File metadata
- Download URL: octoface-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e51ee4660922875f74bfbf6e09cec7214e9fa74a8113609299352b05e48f64a2
|
|
| MD5 |
6ad8e432861801a4c36cb0611541b4f5
|
|
| BLAKE2b-256 |
649da74554e04889da4557a58e0a0692156776ea3a1f2b7f2a57042381ab9dc4
|
Provenance
The following attestation bundles were made for octoface-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on octofacehub/octoface
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
octoface-0.2.0-py3-none-any.whl -
Subject digest:
e51ee4660922875f74bfbf6e09cec7214e9fa74a8113609299352b05e48f64a2 - Sigstore transparency entry: 187945410
- Sigstore integration time:
-
Permalink:
octofacehub/octoface@2db0a8ed7d71c751d2ce6347570656a65567d873 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/octofacehub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2db0a8ed7d71c751d2ce6347570656a65567d873 -
Trigger Event:
release
-
Statement type: