crybase
Version, currently 0.0.54 versions
- 0.0.5latestJul 7, 2026
- 0.0.4not indexedJul 7, 2026
- 0.0.2not indexedJul 7, 2026
- 0.0.1not indexedJul 7, 2026
github.com/shardscry/crybase
CouchBase client for Crystal language stack
1 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
crybase:
github: shardscry/crybase
version: ~> 0.0.5Then run:
shards installshard.yml
- Crystal
>= 1.20.1- License
- MIT
- Author
- Anar K. Jafarov
Dependencies
Development Dependencies
- ameba~> 1.6.4github: crystal-ameba/amebadev
README
______ ____
/ ____/______ __/ __ )____ _________
/ / / ___/ / / / __ / __ `/ ___/ _ \
/ /___/ / / /_/ / /_/ / /_/ (__ ) __/
\____/_/ \__, /_____/\__,_/____/\___/
/____/
CryBase
Crystal client primitives for Couchbase.
CryBase currently covers Couchbase endpoint discovery, the KV binary protocol with bucket vbucket-count discovery, and the Query HTTP service. Search, Analytics, Index, Eventing, Views, and Management protocol clients are not implemented yet.
Index
Small Use Cases
kv = CryBase::CouchBase::KV::Client.from_string(
"couchbase://Administrator:password@127.0.0.1/commerce",
)
kv.scope = "ecommerce_shop"
kv.collection = "users"
kv.set("user:1", %({"name":"Ada"}))
puts String.new(kv.get("user:1"))
admins = kv.collection("admins")
admins.set("admin:1", %({"name":"Grace"}))
query = CryBase::CouchBase::Query::Client.from_string(
"couchbase://Administrator:password@127.0.0.1/commerce",
)
query.scope = "ecommerce_shop"
rows = query.query(
"SELECT META(u).id AS doc_key, u.name FROM users AS u LIMIT 5",
)
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.0.5- Tagged
- Jul 7, 2026
- Commit
f28b1702fce3- Crystal
>= 1.20.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/shardscry/crybase
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 4