{"id":43893167,"url":"https://github.com/skycoin/cxo","last_synced_at":"2026-02-06T17:11:10.947Z","repository":{"id":75954288,"uuid":"74037569","full_name":"skycoin/cxo","owner":"skycoin","description":"CX Object System","archived":false,"fork":false,"pushed_at":"2019-07-12T06:02:37.000Z","size":22640,"stargazers_count":36,"open_issues_count":8,"forks_count":18,"subscribers_count":20,"default_branch":"develop","last_synced_at":"2024-06-19T01:58:00.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skycoin.png","metadata":{"files":{"readme":"README-CN.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-17T14:59:14.000Z","updated_at":"2023-03-16T12:58:01.000Z","dependencies_parsed_at":"2023-06-26T01:24:54.313Z","dependency_job_id":null,"html_url":"https://github.com/skycoin/cxo","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/skycoin/cxo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skycoin%2Fcxo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skycoin%2Fcxo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skycoin%2Fcxo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skycoin%2Fcxo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skycoin","download_url":"https://codeload.github.com/skycoin/cxo/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skycoin%2Fcxo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29169389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T16:33:35.550Z","status":"ssl_error","status_checked_at":"2026-02-06T16:33:30.716Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-06T17:11:07.017Z","updated_at":"2026-02-06T17:11:10.942Z","avatar_url":"https://github.com/skycoin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![cxo logo](https://user-images.githubusercontent.com/26845312/32426759-2a7c367c-c282-11e7-87bc-9f0a936046af.png)\n\nCXO 对象存储系统\n================\n\n[![Build Status](https://travis-ci.org/skycoin/cxo.svg)](https://travis-ci.org/skycoin/cxo)\n[![GoReportCard](https://goreportcard.com/badge/skycoin/cxo)](https://goreportcard.com/report/skycoin/cxo)\n[![Telegram group link](telegram-group.svg)](https://t.me/joinchat/B_ax-A6oCR9eQuAPiJtvaw)\n[![Google Groups](https://img.shields.io/badge/google%20groups-skycoincxo-blue.svg)](https://groups.google.com/forum/#!forum/skycoincxo)\n\n\nCXO 是一个对象系统，它的作用是用来分享不同的对象。CXO是一个底层的平台，可以在它的上面构建更多的应用。\n\n\n（注：对象存储，也叫做基于对象的存储，是用来描述解决和处理离散单元的方法的通用术语，这些离散单元被称作为对象。\n就像“文件”一样，“对象”包含数据，但是和文件不同的是，对象在一个层结构中不会再有层级结构。每个对象都在一个被称作存储池的扁平地址空间的同一级别里，一个对象不会属于另一个对象的下一级。\n文件和对象都有与它们所包含的数据相关的元数据，但是对象是以扩展元数据为特征的。每个对象都被分配一个唯一的标识符，允许一个服务器或者最终用户来检索对象，而不必知道数据的物理地址。这种方法对于在云计算环境中自动化和简化数据存储有帮助。）\n\n\n### 开始使用与API接口文档\n\n\n参阅 [CXO wiki](https://github.com/skycoin/cxo/wiki/Get-Started) 包含相关信息（尚未完善）\n\n### API文档\n\n参阅 [CXO wiki](https://github.com/skycoin/cxo/wiki) \n包含相关信息（尚未完善）\n\n### 安装与版本\n\n使用[dep](https://github.com/golang/dep)特定版本来使用CXO。存储库的主分支指向最新的稳定版本。实际上，它现在是alpha发布。\n\n\n开始使用\n```\ngo get -u -t github.com/skycoin/cxo/...\n```\n测试全部的包\n```\ngo test -cover -race github.com/skycoin/cxo/...\n```\n\n### 使用 Docker\n\n```\ndocker run -ti --rm -p 8870:8870 -p 8871:8871 skycoin/cxo\n```\n\n\n### 开发社区\n\n- [telegram group (eng.)](https://t.me/joinchat/B_ax-A6oCR9eQuAPiJtvaw)\n- [telegram group (rus.)](https://t.me/joinchat/EUlzX0a5byZxH5MdnAOLLA)\n- [google group (eng.)](https://groups.google.com/forum/#!forum/skycoincxo)\n\n#### 模块\n\n- `cmd` - apps\n  - `cxocli` - CLI是管理基于RPC的工具来控制任何CXO节点\n    ([wiki/CLI](https://github.com/skycoin/cxo/wiki/CLI)).\n  - `cxod` - 一个CXO的守护进程，调和接受所有订阅\n- `cxoutils` - 基础设施\n- `data` - 数据库接口、对象和错误 \n  - `data/cxds` - CX数据存储是键值存储的实现。\n  - `data/idxdb` - 执行索引数据库\n  - `data/tests` - “`data`”接口的测试\n- `node` - 对于CXO 的 TCP传输\n  - `node/log` - 记录器\n  - `node/msg` - 协议消息\n- `skyobject` - cxo编码/解码核心，等\n  - `registry` - 模式、类型等， \n\n以及\n\n- [`intro`](./intro) - 实例\n\n\n#### 格式化和编码风格\n\n参阅 [CONTRIBUTING.md](CONTRIBUTING.md) 包含更多细节。\n\n#### 版本控制\n\n CXO 使用 主/副 版本.  “主” 体现在哪里？\n- API的变化\n- 协议的变化\n- 数据表达的变化\n\n“副”是： \n- API变化小\n- 修复\n- 改进\n\n因此，db文件在不同的主要版本之间是不兼容的。节点不同的主要版本不能沟通。保存的数据可能有另一个不同的表示。\n\n##### 版本\n\n\u003c!-- 1.0 --\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e1.0\u003c/summary\u003e\n\nnot defined\n\n\u003c/details\u003e\n\n\u003c!-- 2.1 --\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e2.1\u003c/summary\u003e\n\n- git tag: `v2.1`\n- commit: `d4e4ab573c438a965588a651ee1b76b8acbb3724`\n\nGopkg.toml\n\n```toml\n[[constraint]]\nname = \"github.com/skycoin/cxo\"\nrevision = \"d4e4ab573c438a965588a651ee1b76b8acbb3724\"\n```\n\nor\n\n```toml\n[[constraint]]\nname = \"github.com/skycoin/cxo\"\nversion = \"v2.1\"\n```\n\n\u003c/details\u003e\n\n\u003c!-- 3.0 --\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e3.0\u003c/summary\u003e\n\n- git tag: `v3.0`\n- commit: `8bc2f995634cd46d1266e2120795b04b025e0d62`\n\nGopkg.toml\n\n```toml\n[[constraint]]\nname = \"github.com/skycoin/cxo\"\nrevision = \"8bc2f995634cd46d1266e2120795b04b025e0d62\"\n```\n\nor\n\n```toml\n[[constraint]]\nname = \"github.com/skycoin/cxo\"\nversion = \"v3.0\"\n```\n\n\u003c/details\u003e\n\n### 依赖\n\n依赖项是采用  [dep](https://github.com/golang/dep).\n（Dep 是 Go 依赖管理工具） \n\n安装 `dep`:\n\n```sh\ngo get -u github.com/golang/dep\n```\n\n`dep` vendors 会引入所有的依赖到库中。\n\n\n如果更改依赖项，则应根据需要使用`dep ensure`更新它们。\n\n\n使用 `dep help`帮助文档查阅相关说明，或更新它们。\n\n\n在添加一个新的依赖项（使用`dep ensure`）后，运行`dep prune`删除任何不必要的子包的依赖关系。\n\n\n更新或初始化时，`dep` 将找到最新版本的依赖项将其编译。\n\n\n实例:\n\n初始化所有依赖项：\n\n```sh\ndep init\ndep prune\n```\n\n更新所有依赖项：\n\n```sh\ndep ensure -update -v\ndep prune\n```\n\n添加一个独立的依赖项（最新版本）：\n\n```sh\ndep ensure github.com/foo/bar\ndep prune\n```\n\n添加一个独立的（更具体的版本），或降级现有的依赖项:\n\n```sh\ndep ensure github.com/foo/bar@tag\ndep prune\n```\n\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskycoin%2Fcxo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskycoin%2Fcxo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskycoin%2Fcxo/lists"}