Lucky
Web framework written in Crystal for HTML pages, JSON APIs and single-page frontends, with generators and an ORM.
luckyframework.orgrepositorydocs
Lucky is a web framework written in Crystal for HTML pages, JSON APIs and single-page frontends. Its homepage lists generators, optional built-in authentication and a frontend setup with Bun, Webpack or Vite. Requests are handled by action classes that map each route to its response, and the database layer is built from model and query classes.
A new project starts with the Lucky command-line tool and lucky init. The deployment guides cover Heroku, Fly.io, Dokku and an Ubuntu server.
Worth knowing
An app is a long-lived process rather than a set of static files. The Ubuntu guide runs the app under a systemd unit, so the host has to keep that process running, and static hosting does not fit the framework’s server-side model.
Identity
Rendering and deploy
- Runs as
- Always on6
- Rendering
- On a server, In the browser1
- Install with
- Lucky CLI from Homebrew or Scoop, then lucky init3
Releases
Adoption
Sources
- 2026-10-26: links, Categories, Rendering
luckyframework.org/ - 2026-10-26: links, Written in, License, GitHub stars
api.github.com/repos/luckyframework/lucky - 2026-10-26: links, Runtime, Install with, Databases
luckyframework.org/guides/getting-started/installing - 2026-10-26: First release
api.github.com/repos/luckyframework/lucky/commits/v0.2.0 - 2026-10-26: Maintainer, License model
raw.githubusercontent.com/luckyframework/lucky/main/LICENSE - 2026-10-26: Runs as
luckyframework.org/guides/deploying/ubuntu - 2026-10-26: Contributors
api.github.com/repos/luckyframework/lucky/contributors?per_page=1 - 2026-10-26: Current major version, Last release
api.github.com/repos/luckyframework/lucky/releases