A personal key-value store. đŒ
Skate is simple and powerful. Use it to save and retrieve anything youâd likeâeven binary data. Itâs fully encrypted, backed up to the cloud (that you can self-host if you want) and can be synced with all your machines.
# Store something (and sync it to the network)
skate set kitty meow
# Fetch something (from the local cache)
skate get kitty
# Whatâs in the store?
skate list
# Pull down the latest data
skate sync
# Spaces are fine
skate set "kitty litter" "smells great"
# You can store binary data, too
skate set profile-pic < my-cute-pic.jpg
skate get profile-pic > here-it-is.jpg
# Unicode also works, of course
skate set ç«ćȘ ć”
skate get ç«ćȘ
# For more info
skate --help
Use a package manager:
# macOS or Linux
brew tap charmbracelet/tap && brew install charmbracelet/tap/skate
# Arch Linux (btw)
pacman -S skate
# Nix
nix-env -iA nixpkgs.skate
Or download it:
Or just install it with go:
go install github.com/charmbracelet/skate@latest
Sometimes youâll want to separate your data into different databases:
# Database are automatically created on demand
skate set secret-boss-key@work-stuff password123
# Most commands accept a @db argument
skate set "office rumor"@work-stuff "penelope likes marmalade"
skate get "office rumor"@work-stuff
skate list @work-stuff
# Oh no, the boss is coming!
skate reset @work-stuff
One of the most powerful features of Skate is its ability to link two machines together so they have access to the same data. To link two machines together just run:
skate link
And follow the instructions. Keep in mind that you'll need access to both machines.
When you run skate set, data is encrypted and synced to the network. When
you get, however, data is loaded from the local cache. To fetch any new data
from the server just run skate sync.
Here are some of our favorite ways to use skate.
skate set gh_token GITHUB_TOKEN
#!/bin/bash
curl -su "$1:$(skate get gh_token)" \
https://api.github.com/users/$1 \
| jq -r '"\(.login) has \(.total_private_repos) private repos"'
skate set [email protected] PASSWORD
skate get [email protected]
#!/bin/bash
skate set "$(date)@bookmarks.db" $1
skate list @bookmarks.db
What do you use skate for? Let us knowâ .
Skate is backed by the Charm Cloud. By default it will use the Charm hosted cloud, but itâs incredibly easy to self-host, even if thatâs just on your local network. For details, see the Charm docsâ .
Skate is built on charm/kvâ . If youâd like to build a tool that includes a user key value store, check it out.
Weâd love to hear your thoughts on this project. Feel free to drop us a note!
Part of Charmâ .
Charmçç±ćŒæș âą Charm loves open source
Content type
Image
Digest
sha256:1231b1d94âŠ
Size
7.2 MB
Last updated
over 3 years ago
docker pull charmcli/skate