oh-my-email
Handlebars.java
oh-my-email | Handlebars.java | |
---|---|---|
- | 2 | |
706 | 1,428 | |
- | - | |
0.0 | 8.2 | |
over 4 years ago | 4 days ago | |
Java | Java | |
- | GNU General Public License v3.0 or later |
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.
oh-my-email
We haven't tracked posts mentioning oh-my-email yet.
Tracking mentions began in Dec 2020.
Handlebars.java
-
Full Time
The blog is just hugo so it's 100% static files over nginx.
The search engine is serverside-rendered mustache templates via handlebars[1], via served via spark[2]. It's basically all vanilla Java. I do raw SQL queries instead of ORM, which makes it quite a bit snappier than most Java applications. The sheer size of the database also mandates that basically every query is a primary key lookup. The code is written around that constraint.
Although the search engine is a bit on the slow side since it's routed through cloudflare and I think I'm relatively far away from the closest datacenter so it adds like 100ms to the load times.
[1] https://github.com/jknack/handlebars.java
[2] https://sparkjava.com/
-
Spring Boot & HTMX ?
tl;dr - if you are working with Spring Boot, the main way to build a web UI is either Thymeleaf or maybe https://github.com/jknack/handlebars.java with HTMX and _hyperscript and/or Alpine.js. If you aren't really into CSS if you couple those with something like https://picocss.com/ you can build pretty good looking stuff pretty fast. Honestly if you go through setting that stuff up you will be in a good spot to keep going with other stuff later.
What are some alternatives?
Apache Velocity - Mirror of Apache Velocity Engine
Thymeleaf - Thymeleaf is a modern server-side Java template engine for both web and standalone environments.
Pebble - Java Template Engine
FreeMarker - Apache Freemarker
Jtwig Project - Java modern template engine
JsonBatch - An Engine to run batch request with JSON based REST APIs
Mustache.java - Implementation of mustache.js for Java