https://github.com/maxmunzel/kvass Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Copilot + Packages + Security + Code review + Issues + Discussions + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Skills + GitHub Sponsors + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} maxmunzel / kvass Public * Notifications * Fork 6 * Star 345 a personal key-value store License MIT license 345 stars 6 forks Star Notifications * Code * Issues 2 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights maxmunzel/kvass This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code Latest commit @maxmunzel maxmunzel Merge pull request #4 from alrs/dropped-errs ... e32fdab Jul 24, 2022 Merge pull request #4 from alrs/dropped-errs Fix dropped Sqlite Errors e32fdab Git stats * 34 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github/workflows Create go.yml Jul 6, 2022 src Merge pull request #4 from alrs/dropped-errs Jul 24, 2022 .gitignore Update .gitignore Jul 8, 2022 LICENSE Add License Jul 3, 2022 README.md Update README.md Jul 20, 2022 go.mod Added QR Codes Jul 9, 2022 go.sum Added QR Codes Jul 9, 2022 kvass.go Added QR Codes Jul 9, 2022 View code kvass: a personal key-value store Installation Shoutouts README.md kvass: a personal key-value store kvass_small # simple usage $ kvass set hello world $ kvass get hello world # enumerate keys $ kvass ls hello # store arbitrary files $ kvass set logo < kvass.jpg $ kvass get logo > kvass.jpg # Its trivial to set up and operate kvass across multiple devices $ ssh you@yourserver.com kvass config show Encryption Key: 5abf59f5f1a2f3c998a4f592ce081a23e14a68fd8a792259c6ec0fc1e8fb1246 # <- copy this for the next step ProcessID: 752176921 Remote: (None) $ kvass config key 5abf59f5f1a2f3c998a4f592ce081a23e14a68fd8a792259c6ec0fc1e8fb1246 # set the same key for all your devices $ kvass config remote yourserver.com:8000 # tell kvass where to find the server instance # run "kvass serve" on your server using systemd, screen or the init system of your choice. (runit, anyone?) # every set will now be broadcasted to the server $ kvass set "hello from the other side" hello $ ssh you@yourserver kvass get "hello from the other side" hello # and every get will check the server for updates $ ssh you@yourserver kvass set hello $ kvass get hello # Good to know: All communication between the client and server is authenticated and encrypted using AES-256 GCM. # remember the file we stored earlier? Let's get a shareable url for it! $ kvass url logo http://demo.maxnagy.com:8000/get?q=OQMwTQmFCz6xiWxFxt4Mkw # you can also print the corresponding qr code directly to your terminal kvass qr logo Screen Shot 2022-07-20 at 13 23 17 # run kvass without arguments to get a nice cheat sheet of supported commands $ kvass kvass [--db=string] Description: kvass - a personal KV store Options: --db the database file to use (default: ~/.kvassdb.sqlite) Sub-commands: kvass ls list keys kvass get get a value kvass set set a value kvass rm remove a key kvass url show shareable url of an entry kvass qr print shareable qr code of entry to console kvass config set config parameters kvass serve start in server mode Installation go install github.com/maxmunzel/kvass@latest Shoutouts Charm skate -- the inspiration for this tool About a personal key-value store Resources Readme License MIT license Stars 345 stars Watchers 2 watching Forks 6 forks Releases No releases published Packages 0 No packages published Contributors 2 * @maxmunzel maxmunzel * @alrs alrs Lars Lehtonen Languages * Go 100.0% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.