Live data from Hacker News

Show HN: Minum – A minimal Java web framework

github.com

1–10 of 113 posts

Show HN: Minum – A minimal Java web framework

#1
I am happy to announce my minimalist zero-dependency web framework, Minum, is out of beta.

http://github.com/byronka/minum

You will be hard-pressed to find another modern project as obsessively minimalistic. Other frameworks will claim simplicity and minimalism and then, casually, mention they are built on a multitude of libraries. This follows self-imposed constraints, predicated on a belief that smaller and lighter is long-term better.

Caveat emptor: This is a project by and for developers who know and like programming (rather than, let us say, configuring). It is written in Java, and presumes familiarity with the HTTP/HTML paradigm.

Driving paradigms of this project:

* ease of use * maintainability / sustainability * simplicity * performance * good documentation * good testing

It requires Java 21, for its virtual threads (Project Loom)

Show HN: Minum – A minimal Java web framework
github.com

Re: Show HN: Minum – A minimal Java web framework

#2
I can see clear value in a framework that minimizes dependencies. The choice to supply both a web framework and a persistence / database layer puzzles me somewhat. I understand this can be the basis of an "everything included" framework, but I think especially for persistence, most would like to make a conscious choice independently.

Re: Show HN: Minum – A minimal Java web framework

#4
post #2

I can see clear value in a framework that minimizes dependencies. The choice to supply both a web framework and a persistence / database layer puzzles me somewhat. I understand this can be the basis of an "everything included" framework, but I think especially for persistence, most would like to make a conscious choice independently.

There’s nothing to prevent using any external db if desired. In fact i’m doing that for a client.

Re: Show HN: Minum – A minimal Java web framework

#5
post #4
post #2

I can see clear value in a framework that minimizes dependencies. The choice to supply both a web framework and a persistence / database layer puzzles me somewhat. I understand this can be the basis of an "everything included" framework, but I think especially for persistence, most would like to make a conscious choice independently.

There’s nothing to prevent using any external db if desired. In fact i’m doing that for a client.

Sure, but do you want to elaborate why you included it?

Re: Show HN: Minum – A minimal Java web framework

#7
post #3

Am I missing something or does the quickstart recommend an XSS vulnerability? String name = request.startLine().queryString().get("name"); return Response.htmlOk(String.format(" Hi there %s! ", name)); Maybe having a little bit more available would be valuable.

here’s a more realistic example:

https://github.com/byronka/minum_usage_example_mvn/blob/d649...

Re: Show HN: Minum – A minimal Java web framework

#8
post #5
post #4

Earlier quoted context omitted.

There’s nothing to prevent using any external db if desired. In fact i’m doing that for a client.

Sure, but do you want to elaborate why you included it?

in case you truly want to go as absolutely minimal as possible. i do. for my own personal projects, i use that database.

Re: Show HN: Minum – A minimal Java web framework

#10

I'm thinking of this as a nice programming exercise for the author. As for being a framework which promises more with less, that only holds until feature x is required.

a perfect example of the thinking behind most frameworks. I don’t think most people are looking for minimal. For those that are, this might be right up their alley.

Minimalism is an interesting ideology. it’s about choosing to do more with less, and there’s a great deal of ingenuity in saying, i only have this one knife and a rope, how do i cross this chasm. so to speak.

no offense intended to the batteries included crowd. this is just something i have developed a taste for.

Post reply on HN