fruit-jokes
Version, currently main branch1 version
- main branchlatestFeb 2, 2025
github.com/luislavena/fruit-jokes
Demo Litestream multiple-replicas options
Installation
# Add this to your shard.yml
dependencies:
fruit-jokes:
github: luislavena/fruit-jokes
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.14.0, < 2.0.0- License
- Apache-2.0
- Author
- Luis Lavena
- Targets
driftfrom lib/drift/src/cli.crfruit-jokesfrom src/main.cr
Dependencies
Runtime Dependencies
README
fruit-jokes
This application has been set up to demo how Litestream can be used with multiple replicas to ensure durability of your data.
This is following the 3-2-1 backup strategy:
- 3 copies of your data
- 2 copies in different storage devices
- 1 copy off-site
One copy of your data runs with your application. The other two copies live on different storage services, with one service being different from the other. This helps ensure backup safety.
Demos
demo/docker-- local playground for testing replicasdemo/fly-do-hetzner-- deploy the application to Fly.io and replicas to Digital Ocean and Hetzner
Why Fruit Jokes?
The name comes as an homage to Kramer's attempt to build his new application, following all the new trends of the industry. Happy Festivus!
License
Licensed under the Apache License, Version 2.0. You may obtain a copy of the license here.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Feb 2, 2025
- Crystal
>= 1.14.0, < 2.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/luislavena/fruit-jokes
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1