{"id":25073275,"url":"https://github.com/wiredb/wiredb","last_synced_at":"2025-02-28T02:15:11.429Z","repository":{"id":43320240,"uuid":"448509398","full_name":"wiredb/wiredb","owner":"wiredb","description":"WireDB is a NoSQL database based on Log-structured file system.","archived":false,"fork":false,"pushed_at":"2025-02-26T17:59:09.000Z","size":3620,"stargazers_count":259,"open_issues_count":0,"forks_count":32,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-27T05:51:28.236Z","etag":null,"topics":["bitcask","database","kv","kvdb","kvstore","log","log-structuredfs","nosql","nosql-database","restful-api","storage","storage-engine","storage-provider"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wiredb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2022-01-16T09:29:22.000Z","updated_at":"2025-02-26T17:59:13.000Z","dependencies_parsed_at":"2023-11-27T09:59:10.064Z","dependency_job_id":"7b060966-44e8-45c0-b012-7d7d5c2f145f","html_url":"https://github.com/wiredb/wiredb","commit_stats":null,"previous_names":["auula/kalasa","auula/classdb","vasedb/vasedb","auula/vasedb","classdb/classdb","wiredb/wiredkv","wiredb/wiredb","auula/tunadb"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredb%2Fwiredb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredb%2Fwiredb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredb%2Fwiredb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredb%2Fwiredb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wiredb","download_url":"https://codeload.github.com/wiredb/wiredb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241088688,"owners_count":19907635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bitcask","database","kv","kvdb","kvstore","log","log-structuredfs","nosql","nosql-database","restful-api","storage","storage-engine","storage-provider"],"created_at":"2025-02-06T23:10:55.141Z","updated_at":"2025-02-28T02:15:11.423Z","avatar_url":"https://github.com/wiredb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"cmd/wiredb-org.png\" style=\"width: 86px; height: auto; display: inline-block;\"\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003eWireDB is a NoSQL that supports multiple data types based on Log-structured file system.\u003c/p\u003e\n\n\n---\n\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/auula/wiredb)](https://goreportcard.com/report/github.com/auula/wiredb)\n[![Go Reference](https://pkg.go.dev/badge/github.com/auula/wiredb.svg)](https://pkg.go.dev/github.com/auula/wiredb)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/55bc449808ca4d0c80c0122f170d7313)](https://app.codacy.com/gh/auula/wiredb/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n[![codecov](https://codecov.io/gh/wiredb/wiredb/graph/badge.svg?token=ekQ3KzyXtm)](https://codecov.io/gh/wiredb/wiredb)\n[![DeepSource](https://app.deepsource.com/gh/wiredb/wiredb.svg/?label=active+issues\u0026show_trend=true\u0026token=sJBjq88ZxurlEgiOu_ukQ3O_)](https://app.deepsource.com/gh/wiredb/wiredb/?ref=repository-badge)\n[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![release](https://img.shields.io/github/release/wiredb/wiredb.svg)](https://github.com/wiredb/wiredb/releases)\n\n\n\n---\n\n[简体中文](#) | [English](#)\n\n---\n\n## 🎉 特 性\n\n- 支持多种内置的数据结构\n- 支持数据安全 IP 白名单访问功能\n- 高吞吐量、低延迟、高效批量数据写入\n- 支持磁盘数据存储和磁盘垃圾数据回收\n- 支持磁盘数据静态加密和静态数据压缩\n- 支持通过基于 RESTful API 协议操作数据\n\n---\n\n## 🚀 快速开始\n\n使用容器管理工具可以快速部署 [`wiredb:latest`](https://hub.docker.com/r/auula/wiredb) 镜像来测试 WireDB 提供的服务。只需运行以下命令，即可拉取 WireDB 镜像并启动一个容器运行 WireDB 服务：\n\n```bash\ndocker pull auula/wiredb:v1.0.0\n```\n\n运行 WireDB 镜像启动容器服务并且映射端口到外部主机网络，如何下面命令：\n\n```bash\ndocker run -p 2668:2668 auula/wiredb:v1.0.0\n```\n\n注意通过 RESTful API HTTP 协议操作数据时请在 HTTP 请求头中添加 `Auth-Token: xxxx` 访问密码。此默认访问密码为 WireDB 进程自动生成的，需要通过查看容器运行输出的日志信息获得，命令如下：\n\n```bash\nroot@2c2m:~# docker logs 46ae91bc73a6\n                         _            ____\n                 _    __(_)______ ___/ / /\n                | |/|/ / / __/ -_) _  / _ \\\n                |__,__/_/_/  \\__/\\_,_/_.__/  v1.0.0\n\n  WireDB is a NoSQL database based on Log-structured file system.\n  Software License: Apache 2.0  Website: https://wiredb.github.io\n\n[WIREDB:C] 2025/02/27 10:07:01 [WARN]\tThe default password is: T9EHAvi5dcIpPK9G#ADlVj4NB 👈\n[WIREDB:C] 2025/02/27 10:07:01 [INFO]\tLogging output initialized successfully\n[WIREDB:C] 2025/02/27 10:07:01 [INFO]\tLoading and parsing region data files...\n[WIREDB:C] 2025/02/27 10:07:01 [INFO]\tRegion compression activated successfully\n[WIREDB:C] 2025/02/27 10:07:01 [INFO]\tFile system setup completed successfully\n[WIREDB:C] 2025/02/27 10:07:01 [INFO]\tHTTP server started at http://172.0.0.1:2668 🚀\n```\n\n---\n\n推荐使用 Linux 发型版本来运行 WireDB 服务，WireDB 服务进程依赖配置文件中的参数，在运行 WireDB 服务之前将下面的配置内容写到 `config.yaml` 中：\n\n```yaml\nport: 2668                              # 服务 HTTP 协议端口\nmode: \"std\"                             # 默认为 std 标准库\npath: \"/tmp/wiredb\"                     # 数据库文件存储目录\nauth: \"Are we wide open to the world?\"  # 访问 HTTP 协议的秘密\nlogpath: \"/tmp/wiredb/out.log\"          # WireDB 在运行时程序产生的日志存储文件\ndebug: false        # 是否开启 debug 模式\nregion:             # 数据区\n    enable: true    # 是否开启数据压缩功能\n    second: 1800    # 默认垃圾回收器执行周期单位为秒\n    threshold: 3    # 默认个数据文件大小，单位 GB\nencryptor:          # 是否开启静态数据加密功能\n    enable: false\n    secret: \"your-static-data-secret!\"\ncompressor:         # 是否开启静态数据压缩功能\n    enable: false\nallowip:            # 白名单 IP 列表，可以去掉这个字段，去掉之后白名单就不会开启\n    - 192.168.31.221\n    - 192.168.101.225\n    - 127.0.0.1\n```\n\n---\n\n## 🌟 Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/wiredb/wiredb.svg?background=%23ffffff\u0026axis=%23333333\u0026line=%23f84206)](https://starchart.cc/wiredb/wiredb)\n\n\n---\n\n## 👬 Contributors\n\n🤝 Thanks to all the contributors below! \n\n![Contributors](https://contributors-img.web.app/image?repo=wiredb/wiredb)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiredb%2Fwiredb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiredb%2Fwiredb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiredb%2Fwiredb/lists"}