Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 30 2019 08:08
    hoang17 starred kemalcr/kemal
  • Jan 30 2019 06:38
    cayter starred kemalcr/kemal
  • Jan 27 2019 18:40
  • Jan 27 2019 15:56
    sdogruyol closed #498
  • Jan 27 2019 15:56
    sdogruyol commented #498
  • Jan 27 2019 15:53
    sdogruyol closed #509
  • Jan 27 2019 15:53
    sdogruyol commented #509
  • Jan 27 2019 05:14
    mjb2kmn starred kemalcr/kemal
  • Jan 25 2019 01:42
    unixc3t starred kemalcr/kemal
  • Jan 24 2019 22:41
    talentlessguy starred kemalcr/kemal
  • Jan 24 2019 04:00
    ntilotta starred kemalcr/kemal
  • Jan 23 2019 10:12
    iwaruby starred kemalcr/kemal
  • Jan 23 2019 02:35
    isaced starred kemalcr/kemal
  • Jan 21 2019 18:33
    f9n starred kemalcr/kemal
  • Jan 19 2019 12:53
    SeedyROM starred kemalcr/kemal
  • Jan 17 2019 19:06

    sdogruyol on master

    Do not try to call ExceptionHan… Merge pull request #515 from ke… (compare)

  • Jan 17 2019 19:06
    sdogruyol closed #515
  • Jan 17 2019 19:06
    sdogruyol closed #514
  • Jan 17 2019 19:06
    sdogruyol edited #515
  • Jan 17 2019 15:09
    galfarragem starred kemalcr/kemal
plainas
@plainas
I wouldn't like to downgrade crystal. does this mean that I need to manually edit the dependency?
Muhammed Yaşar
@yorci
@plainas what version do you use both kemal and crystal ?
plainas
@plainas
kemal 0.26.1
Crystal 0.35.1 [5999ae29b] (2020-06-19)
Blitline
@Blitline_twitter
How is kemalcr.com so fast? What is the rest of the stack besides kemal? Nginx? Varnish?
Jonathan Silverman
@mixflame
Crystal is fast
plainas
@plainas
@Blitline_twitter there is not stack behind kemal... all those things would go in the front of a kemal service if you wanted. Kemal is a framework to write http server applications. That is all. Written in a language that compiles to native binaries. And without fluff/bloat
just tangencial, but the whole mindset of looking as nginx and varnish as an holly grail of speed that you can put in front of crappy slowly software is quite telling of the current state of server technologies. Not trying to be overly negative. I love nginx.
I've heard of several people exposing their kemal applications directly to the internet. The reason most people put said proxies in front of their apps is usually their absurd scale limitations
plainas
@plainas
anyways, Here's a suggestion for the guides: Add an example of how to put the code inside a module and a class and how to handle objects whose lifetime transverses the request scopes. Database connections handles, etc. Such examples exist, for example in the websocket example, but they only work with the code placed directly as main code.
And here's a suggestion for kemal generaly: provide a way to add routes grammatically by calling a method. The current macros are great for many applications and have a lovely simple syntax. But they don't play well with things like loading route configurations from a file and so on. They force routes to be hardcoded at compiletime.
This can be done without breaking current functionality. Most python micro-frameworks do this. They provide an anotation based route definition, but you can still call the method used to add a route manually.
Ed
@drum445

I've heard of several people exposing their kemal applications directly to the internet. The reason most people put said proxies in front of their apps is usually their absurd scale limitations

What do you mean by this? That nginx or the app doesn't scale?

Julien Reichardt
@j8r
He probably meant that a cache is added on top of applications to have more perf
Christian Kakesa
@fenicks
Whats the best way to retrieve current_url with Kemal? HTTP headers or an help is provided?
plainas
@plainas
Hey everyone, I would like to leave a thank you note for sdogruyol and others that made and maintained kemal. This was a very usefull piece of software for me. I used it a few times to create small http services. Great simplicity and lightness. To the point as it should be. As it seams that the community is loosing steam, I will migrate the only active project I have that uses it to use crystal's built in web server library. I think this would be a useful piece of software as it is, but crystal is still not stable enough to guarantee an acceptable level of forward compatibility of projects like this one. Thank you! We absolutely need more pragmatism and simplicity like that shown in this project in the IT world.
Joris Vanhecke
@vanhecke
Hi guys. does anyone have a "page load time" feature snippet?
I want to show load time in footer
Massimiliano Bertinetti
@maxbertinetti
Daniel Worrall
@Daniel-Worrall
holy shit, you guys weren't kidding. Marketplace is flooded with plugin dupes
Massimiliano Bertinetti
@maxbertinetti
This is the official. The other are not supported and updated anymore. This one is under crystal-lang-tools organis
Harri Sarsa
@harsaharsa
@sdogruyol or anyone else in the know – we're trying to verify the license for the kemal-session dependency (kemalcr/kemal-session#90) which doesn't have LICENSE
anyone remember discussion around this? Is the dependency MIT?
Ed
@drum445
Been away for a while, is Crystal/Kemal still alive and well?
Daniel Worrall
@Daniel-Worrall
It was gone for a little, it's back a bit I think. Use master branch
Lairan
@alex-lairan
This message was deleted

@harsaharsa I think you can do a pull request to add the MIT license

@drum445 crystal is alive, and healthy, but kemal seems to be less attractive to crystal developers.
Lucky and Amber had taken the lead of the web development.

spTorin
@spTorin
Lucky and Amber is big projects. Maybe there is another small web framework? Not abandoned.
ddd
@Dan-Do
There is grib forked from kemal
or grip :)
Giorgi Kavrelishvili
@grkek
Its Grip, thank you for the support @Dan-Do
here you go :)
Vincent
@vinyll_gitlab
Oh great. I see Kemal is stalled for very basic things such as https://github.com/kemalcr/kemal/issues/583.`
I guess it's safer to consider an alternative
Daniel Worrall
@Daniel-Worrall
Stalled? The issue is a duplicate of something that is already fixed
Vincent
@vinyll_gitlab
Indeed the issue is fixed in master.
maybe the resolution would be to update the doc and mention the master branch instead of the latest version so that one stops bumping on this error?
Ed
@drum445
@alex-lairan that's a shame to hear, I have used sinatra for many years so Kemal was my "gateway" project in Crystal
Giorgi Kavrelishvili
@grkek
You can always give a shot to Grip :) @drum445
Ed
@drum445
I did a few months back and thought it was solid, for my use-cases Kemal fit better however, as it was more of a view based app
Does grip have solid templating?
Giorgi Kavrelishvili
@grkek
Grip doesn't have a templating engine, nor does Kemal, you can use crinja for both or kilt maybe
Kemal has the kilt engine as a dependency which can be done same for grip
its an extra step but once setup you are good to go
Ed
@drum445
Kemal does use kilt (which it shouldn't), but it has useful helpers for rendering erb
which is quite handy, no reason I couldn't add them to grip though
Giorgi Kavrelishvili
@grkek
Few months did change a lot in grip, try it once more and believe me you will love it :)
The function chaining approach just gives you an instant image of what the endpoint is doing, it looks clear and lovely.
Daniel Worrall
@Daniel-Worrall
This isn't the grip shilling channel
Giorgi Kavrelishvili
@grkek
.> sorry
I got carried away haha