slack-ruby-client
kit
Our great sponsors
slack-ruby-client | kit | |
---|---|---|
2 | 34 | |
1,182 | 447 | |
0.5% | 3.1% | |
6.7 | 8.0 | |
5 days ago | 2 days ago | |
Ruby | Clojure | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
slack-ruby-client
-
Clojure needs a Rails, but not for the reason you think
Ah, I'm surprised Slack doesn't support Ruby, but to be fair they are pretty tight on official support with only Python, Node and Java.
Fortunately there's https://github.com/slack-ruby/slack-ruby-client, but it's not official. Although it seems to be a good example of a community driven library coming together. I haven't used it personally (I never interfaced with Slack in a Ruby app) but at a glance it looks like it has really good docs, a decent amount of contributors, well maintained, etc.. If I were building some Rails app that used Slack I'd likely reach for this and not feel bad about it.
Kind of a bummer on the other 2 tho. Thankfully I wouldn't be building too many apps using those tools, but I get the point you're saying. In the grand scheme of things I think this also shows at how much more popular Python is than Ruby.
-
Any examples of good gem wrappers around external APIs?
Slack's Ruby client works well and is well organized: https://github.com/slack-ruby/slack-ruby-client
kit
-
Ask HN: What is your go-to stack for the web?
Clojure using for the server side https://github.com/kit-clj/kit
htmx for frontend, using the built-in kit htmx module.
- Kit – Clojure Web Development
-
Why Is Jepsen Written in Clojure?
I am not sure what a web framework is, to be honest. The choices for many parts of a web application are really domain-specific and I'm not sure a single "framework" would work for everyone.
As far as web-related components go, my app uses Rum (as an interface to React), ring, http-kit, pushy (for history manipulation), sente (for websockets), buddy (for authentication tools).
If you are looking for a batteries-included "I want to have some sort of webapp right away" thing, I think https://kit-clj.github.io would fit the bill, but the general feeling in the Clojure community is that unlike Python with Django or Ruby with Rails, the choice of app components is not predetermined by the language.
- A History of Clojure (2020) [pdf]
-
Most commonly used libraries/frameworks in Clojure
Luminus has, in theory, been superseded by Kit: https://kit-clj.github.io/ but even so it is still "an opinionated bundle of libraries" rather than a framework.
-
Is there an open source project focused on ClojureScript, React, Reagent?
I learned by using https://luminusweb.com/docs/clojurescript.html to get me started. It gives you a plethora of sane starting points, and you can just work on switching it to your own business logic. Troubleshooting and adding functionality will usually lead you to understand how things work. The authors of luminus have moved on to build kit: https://kit-clj.github.io/ which is probably another good starting point.
- Help finding a webdev framework that works out of the box
-
Clojure Turns 15 panel discussion video
The cljs stack I hear about a lot (and use) is ShadowCLJS with reagent (https://reagent-project.github.io/) and re-frame (https://day8.github.io/re-frame/). ShadowCLJS is more of a build tool, but is really well documented and easy to use. Reagent is basically react but a simpler API, and re-frame is a layer on top of that provides data subscriptions and event-handlers to manage app state. It's overkill for some apps but I find it's actually super easy to work with and not as much complexity as I thought.
For backend there is luminus (https://luminusweb.com/) or Kit (https://kit-clj.github.io/). They are basically project templates that wire together a ton of popular solutions for various things - database access, migrations, security, html templating, etc. Also includes frontend frameworks like re-frame if you want.
-
your thoughts on the kit framework?
The component itself is just a thin wrapper for conman, you can see it here.
-
Ask HN: Share Your Personal Site
Here’s me: https://luciano.laratel.li/
I was happy I could get the domain! Pretty simple hand-rolled server-rendered site using the kit-clj[0] and neat-css[1]. Main backbone of the site is here[2]. I used to use a CLJS SPA but it was overkill and not as nice to use (load times particularly.)
[0]: https://kit-clj.github.io/
What are some alternatives?
cryptopunks - (crypto) pixel punks - libraries, tools & scripts, and more [UnavailableForLegalReasons - Repository access blocked]
biff - A Clojure web framework for solo developers.
pipedrive.rb - Pipedrive.com API Wrapper
duct - Server-side application framework for Clojure
gw2 - A Ruby interface for accessing the Guild Wars 2 API.
re-frame-template - A Leiningen template for creating a re-frame application (client only) with a shadow-cljs build.
stripe-ruby - Ruby library for the Stripe API.
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
shaf_client - A HAL client with some customization for Shaf APIs
clojure-inertia-pingcrm-demo - PingCRM on Clojure - A Clojure/Script fullstack demo application to illustrate how Inertia.js works.
bot-meetingplace-events - A friendly bot to give us a heads up when the next events are.
usermanager-reitit-integrant-example - A little demo web app in Clojure, using Integrant, Ring, Reitit, Selmer (and a database)