Skip to content

Support custom API URL#62

Open
Caian wants to merge 1 commit intoipfs-shipyard:masterfrom
Caian:feat/custom-api-url
Open

Support custom API URL#62
Caian wants to merge 1 commit intoipfs-shipyard:masterfrom
Caian:feat/custom-api-url

Conversation

@Caian
Copy link

@Caian Caian commented Jan 19, 2026

This PR adds two options for specifying the URL of the running IPFS daemon. This enables interaction with daemons running as another user, inside a container, in another machine and behind a proxy.

The first option is to set the environment variable:

IPFS_API_URL=http://localhost:5001

Or pass it in the remote URL itself:

git clone ipld://localhost:5001/2347e110c29742a1783134ef45f5bff58b29e40e

There is also support for a custom ipld+https:// scheme if the API is behind an https proxy:

git clone ipld+https://my.ipfs.domain/my_api/2347e110c29742a1783134ef45f5bff58b29e40e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant