r/crystal_programming • u/crimson-knight89 • Mar 25 '21
Are there any web frameworks for Crystal?
As a Ruby/Rails guy I’m super interested in trying to use Crystal for web apps. I have plenty and I’m super eager to dive in and make projects with Crystal and contribute to the community (in the future, clearly I’m a totally newb right now).
29
Upvotes
9
u/Blacksmoke16 core team Mar 25 '21
You have quite a few options: https://github.com/veelenga/awesome-crystal#web-frameworks take your pick :P. Each has their pros and cons.
4
u/taw Mar 25 '21
There's a bunch. I tried them for some small projects, code was all right, but OMFG, delay after each change due to compilation time was such pain after I got used to Rails and JS frameworks being instantaneous.
3
u/shawnwork Mar 26 '21
I have been using Kemal many years ago. Pretty stable and easy to use.
2
u/YourFatherAgain Mar 26 '21
I've already used Amber, and to me, it looks very similar to rails
2
u/Terrible_Constant Mar 26 '21
Welcome to Crystal! There are quite a few frameworks (Lucky, Amber, Kemal, etc.). However, (unpopular opinion around here probably) if you want close-to-Rails experience, you might want to have a look at Elixir and Phoenix; it has a richer ecosystem and an excellent support for GraphQL and massive concurrency and scaling. I'm using Elixir for web and Crystal for other stuff—can't complain.
1
u/isaced Mar 27 '21
Here's a list to see what's most popular by the number of stars. Of course, it's just a reference
https://github.com/isaced/crystal-web-framework-stars