ipfs / go-ipfs-api

The go interface to ipfs's HTTP API
MIT License
455 stars 178 forks source link

Archive this repo and point users at kubo/client/rpc #296

Closed lidel closed 1 year ago

lidel commented 1 year ago

Placeholder issue so we don't forget, see details in https://github.com/ipfs/kubo/issues/9124.

TLDR: we want to maintain only one RPC client, it now lives in https://github.com/ipfs/kubo/tree/master/client/rpc. In rare case the new library does not offer a feature this one does, fill issue in Kubo, or better, submit a PR that adds it to kubo/client/rpc.

tgmtime commented 1 year ago

Using terminal commands like this for such tasks provides more control, better performance, and reliability compared to using external libraries like the one you mentioned. Why would I prefer to use this library over working with terminal commands like: cmd := exec.Command("ipfs", "get", cid) output, err := cmd.CombinedOutput() if err != nil { fmt.Println("Error running command:", err) return }