malli VS kit

Compare malli vs kit and see what are their differences.

kit

Lightweight, modular framework for scalable web development in Clojure (by kit-clj)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
malli kit
33 34
1,416 447
0.6% 1.1%
9.3 8.0
10 days ago 7 days ago
Clojure Clojure
Eclipse Public License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

malli

Posts with mentions or reviews of malli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-10.
  • A History of Clojure (2020) [pdf]
    22 projects | news.ycombinator.com | 10 Aug 2023
  • Critique of Lazy Sequences in Clojure
    5 projects | news.ycombinator.com | 7 Aug 2023
    Clojure's lazy sequences by default are wonderful ergonomically, but it provides many ways to use strict evaluation if you want to. They aren't really a hassle either. I've been doing Clojure for the last few years and have a few grievances, but overall it's the most coherent, well thought out language I've used and I can't recommend it enough.

    There is the issue of startup time with the JVM, but you can also do AOT compilation now so that really isn't a problem. Here are some other cool projects to look at if you're interested:

    Malli: https://github.com/metosin/malli

    Babashka: https://github.com/babashka/babashka

    Clerk: https://github.com/nextjournal/clerk

  • [ANN] Malli 0.11.0 is out - a data-driven data specification library for Clojure/Script
    4 projects | /r/Clojure | 12 Apr 2023
    BREAKING: walking a :schema passes children instead of [id] to the walker function #884
  • Generic functions, a newbie question
    2 projects | /r/Clojure | 8 Apr 2023
    When you get to larger, more complex validations, I'd recommend checking out Malli or Spec.
  • Any resources for "current best practices and learnings?"
    7 projects | /r/Clojure | 16 Feb 2023
    for specs, you can try malli - feels pretty well supported and full featured: https://github.com/metosin/malli (i'm not 100% sure how popular it is for others, but I use it on my personal projects)
  • Single-file scripts that download their dependencies
    8 projects | news.ycombinator.com | 15 Jan 2023
  • Clojure Turns 15 round table video
    2 projects | /r/Clojure | 4 Nov 2022
    Have you tried malli: Data-driven Schemas for Clojure/Script?
  • Clojure from a Schemer's perspective
    3 projects | /r/Clojure | 1 Nov 2022
    All that being said, I particularly use malli and I don't find anything to complain about. There is a very nice and sound ecosystem being built around it (malli-ts is one of my contributions to it, but still in early development stages). I highly recommend reading its README, very informative stuff.
  • Clojure 15th Anniversary: A Retrospective
    2 projects | news.ycombinator.com | 22 Oct 2022
    Any large codebase can be broken up into small isolated components that can be reasoned about independently. This is how you structure Clojure projects if you want them to be maintainable. Clojure inherently encourages doing this by defaulting to immutability. The contract between components is the data being passed to the component and returned by it. Using Malli schemas at the edges of the components is a typical approach to documenting their APIs https://github.com/metosin/malli

    I see the fact that people often end up creating large and tightly coupled monolithic codebases in static languages as a negative aspect of static typing. Such codebases are difficult to reason about even if you have guarantees that the types align. Ultimately, you need to understand the relationships in code, and how they relate to business logic. The more coupling an application has the harder it becomes to reason about it as a whole.

    Ideally, I think applications should be structured as a bunch of Lego blocks that can be composed together. Each component should encapsulate some functionality, and then the flow of the business logic should bubble up to the top and expressed in how these components are chained together.

  • Worrying comment from HN on Building a Startup on Clojure
    3 projects | /r/Clojure | 4 Oct 2022
    Uhhh spec has existed for a long time and before that, schema Nowadays we also have the excellent malli. If his codebase is full of functions where the shape of the data isn’t obvious, isn’t documented and isn’t specified in a specific/schema, that’s on him and his bad coding practices and really no different from passing data in other dynamic languages. A class by itself (without additional effort) only gives you field names.

kit

Posts with mentions or reviews of kit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-09.
  • Ask HN: What is your go-to stack for the web?
    5 projects | news.ycombinator.com | 9 Feb 2024
    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
    1 project | news.ycombinator.com | 27 Dec 2023
  • Why Is Jepsen Written in Clojure?
    8 projects | news.ycombinator.com | 6 Dec 2023
    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]
    22 projects | news.ycombinator.com | 10 Aug 2023
  • Most commonly used libraries/frameworks in Clojure
    2 projects | /r/Clojure | 11 Jun 2023
    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?
    14 projects | /r/Clojure | 24 May 2023
    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
    6 projects | /r/Clojure | 13 May 2023
  • Clojure Turns 15 panel discussion video
    24 projects | news.ycombinator.com | 13 Feb 2023
    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?
    1 project | /r/Clojure | 10 Jan 2023
    The component itself is just a thin wrapper for conman, you can see it here.
  • Ask HN: Share Your Personal Site
    10 projects | news.ycombinator.com | 6 Jan 2023
    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?

When comparing malli and kit you can also consider the following projects:

clojure - The Clojure programming language

biff - A Clojure web framework for solo developers.

schema - Clojure(Script) library for declarative data description and validation

duct - Server-side application framework for Clojure

babashka - Native, fast starting Clojure interpreter for scripting

re-frame-template - A Leiningen template for creating a re-frame application (client only) with a shadow-cljs build.

reitit - A fast data-driven routing library for Clojure/Script

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]

honeysql - Turn Clojure data structures into SQL

clojure-inertia-pingcrm-demo - PingCRM on Clojure - A Clojure/Script fullstack demo application to illustrate how Inertia.js works.

fulcro - A library for development of single-page full-stack web applications in clj/cljs

usermanager-reitit-integrant-example - A little demo web app in Clojure, using Integrant, Ring, Reitit, Selmer (and a database)