ipfs/kubo
GitHub: ipfs/kubo
Kubo 是目前最广泛使用的 IPFS 协议官方 Go 语言实现,用于部署和管理去中心化存储节点。
Stars: 16947 | Forks: 3144
Kubo: IPFS Implementation in Go
IPFS 的第一个实现。
什么是 Kubo? | 快速体验 | 安装 | 文档 | 开发 | 获取帮助
## 什么是 Kubo? Kubo 是 [IPFS](https://docs.ipfs.tech/concepts/what-is-ipfs/) 的第一个实现,也是[目前使用最广泛](https://probelab.io/ipfs/topology/#chart-agent-types-avg)的实现。它采用了一种强制性的内容寻址方法([CIDs](https://docs.ipfs.tech/concepts/glossary/#cid),[DAGs](https://docs.ipfs.tech/concepts/glossary/#dag)),以最大化互操作性:用于文件和目录的 [UnixFS](https://docs.ipfs.tech/concepts/glossary/#unixfs),用于 Web 浏览器的 [HTTP Gateways](https://docs.ipfs.tech/concepts/glossary/#gateway),以及用于可验证数据传输的 [Bitswap](https://docs.ipfs.tech/concepts/glossary/#bitswap) 和 [HTTP](https://specs.ipfs.tech/http-gateways/trustless-gateway/)。 **功能特性:** - 作为网络服务运行 IPFS 节点(LAN [mDNS](https://github.com/libp2p/specs/blob/master/discovery/mdns.md) 和 WAN [Amino DHT](https://docs.ipfs.tech/concepts/glossary/#dht)) - [命令行界面](https://docs.ipfs.tech/reference/kubo/cli/) (`ipfs --help`) - 用于节点管理的 [WebUI](https://github.com/ipfs/ipfs-webui/#readme) - 用于可信和[无信任](https://docs.ipfs.tech/reference/http/gateway/#trustless-verifiable-retrieval)内容检索的 [HTTP Gateway](https://specs.ipfs.tech/http-gateways/) - 用于控制 daemon 的 [HTTP RPC API](https://docs.ipfs.tech/reference/kubo/rpc/) - 用于[委托路由](./docs/delegated-routing.md)的 [HTTP Routing V1](https://specs.ipfs.tech/routing/http-routing-v1/) 客户端和服务器 - 面向公共节点运营者的[内容屏蔽](./docs/content-blocking.md) **其他 IPFS 实现:** [Helia](https://github.com/ipfs/helia) (JavaScript),[更多...](https://docs.ipfs.tech/concepts/ipfs-implementations/) ## 快速体验 在[安装 Kubo](#install) 后,验证它是否工作: ``` $ ipfs init generating ED25519 keypair...done peer identity: 12D3KooWGcSLQdLDBi2BvoP8WnpdHvhWPbxpGcqkf93rL2XMZK7R $ ipfs daemon & Daemon is ready $ echo "hello IPFS" | ipfs add -q --cid-version 1 bafkreicouv3sksjuzxb3rbb6rziy6duakk2aikegsmtqtz5rsuppjorxsa $ ipfs cat bafkreicouv3sksjuzxb3rbb6rziy6duakk2aikegsmtqtz5rsuppjorxsa hello IPFS ``` 验证此 CID 是否由您的节点提供给 IPFS 网络:
## 许可证
根据 Apache 2.0 和 MIT 双重许可:
- [LICENSE-APACHE](LICENSE-APACHE)
- [LICENSE-MIT](LICENSE-MIT)标签:DAG, DHT, DNS解析, Go, Golang, IPFS, Kubo, libp2p, merkle-tree, P2P, Ruby工具, UnixFS, Web3, 内容寻址, 分布式哈希表, 分布式系统, 区块链基础设施, 去中心化, 去中心化存储, 响应大小分析, 存储解决方案, 安全编程, 开源项目, 文件系统, 日志审计, 星际文件系统, 点对点网络, 自定义请求头, 请求拦截