Handlebars.java
MarginaliaSearch
Handlebars.java | MarginaliaSearch | |
---|---|---|
2 | 59 | |
1,428 | 851 | |
- | 6.7% | |
8.2 | 9.9 | |
about 13 hours ago | 3 days ago | |
Java | HTML | |
GNU General Public License v3.0 or later | 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.
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.
MarginaliaSearch
-
Marginalia: 3 Years
> I think a larger concern is how you'll address the Bus Factor going forward
I can't speak to how much energy it is to go from code to serving requests, but FWIW the code is AGPLv3 and seems to be updated regularly https://github.com/MarginaliaSearch/MarginaliaSearch/blob/v2...
-
The Internet Is Full of AI Dogshit
Regarding the last sentence: The problem is that capitalism knows no limits. Sure, it would be nice to pay a monthly subscription for genuinely good and desirable content/search results...
But what if the CEO of the service provider needs another $5m bonus? What if the stock needs to go up so that the shareholder gamblers can get more dividend paid? What if all of a sudden the service gets bought out?
The truth is that what you are seeking is more likely to come from someone who is just passionate about it with not that much motivation based on profit. That doesn't mean that this entity or person can't be financially supported but it gets problematic when profit is the _main_ incentive.
For a good example of an interesting search engine built by a single guy, see Marginalia: https://search.marginalia.nu/
-
Where Have All the Websites Gone?
Have you heard of https://www.marginalia.nu/ in general, and especially the https://search.marginalia.nu/ from there?
-
The Web Is Fantastic
There's a decent amount of people still keeping the fire burning for the "old web." It takes a little digging, but it's out there.
Some links for you:
* https://wiby.me/ — search engine that emphasizes simple/plain/hobbyist pages. Try the "surprise me" link a few times.
* https://neustadt.fr/essays/the-small-web/ — article, "Rediscovering the Small Web"
* https://search.marginalia.nu/ — author (hangs out on HN sometimes, too (marginalia_nu)
Actually, here's a link to a similar discussion on an old HN thread: https://news.ycombinator.com/item?id=30783391
-
Ask HN: What's your "it's not stupid if it works" story?
I built a recipe detector. You can, you know, train some sort of AI model to do this like with fasttext, or maybe do naive bayesian inference, but as it turns out, you can also:
https://github.com/MarginaliaSearch/MarginaliaSearch/blob/ma...
It works annoyingly well.
- Marginalia is a great search engine that returns results from lesser-known blogs and websites
-
Browsing the Eastern Side of the Personal Web
For some values of "nobody"; this westerner enjoys https://search.marginalia.nu (in addition to more common engines) and has high hopes for the new site browser:
-
A new approach to domain ranking
Result ranking takes a lot of variables, and factors like excessive tracking and affiliate links is one of them in my search engine.
You can poke around in the result valuation code here: https://github.com/MarginaliaSearch/MarginaliaSearch/blob/ma...
-
"We pulled off an SEO heist with AI and stole 3.6M impressions."
#1 cause in the decline of Google maybe. https://search.marginalia.nu/ seems to manage though, so maybe Google just doesn't care.
-
Show HN: I am curating the best websites on the internet
Congratulations on shipping.
I see a lot of focus on startups, AI tools, productivity hacks, tech stacks, etc. What audience do you have in mind? I personally find that the most interesting sites on HN are outside of your scope here (examples: https://ciechanow.ski/, https://neal.fun/, https://search.marginalia.nu/).
What are some alternatives?
Thymeleaf - Thymeleaf is a modern server-side Java template engine for both web and standalone environments.
artadosearch - Artado Search is open source, private and highly customizable search engine
FreeMarker - Apache Freemarker
tersenet - A new type of JavaScript-free light-weight fast browser built on rst and web assembly. Does not actually exist.
Apache Velocity - Mirror of Apache Velocity Engine
Senpwai - A desktop app for tracking and batch downloading anime
Pebble - Java Template Engine
lieu - community search engine
Mustache.java - Implementation of mustache.js for Java
mwmbl - An open source, non-profit search engine implemented in python
Jtwig Project - Java modern template engine
worstpress - Welcome to the world's *worst* website builder.