frontend-maven-plugin VS hotwire-rails

Compare frontend-maven-plugin vs hotwire-rails and see what are their differences.

frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma. (by eirslett)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
frontend-maven-plugin hotwire-rails
12 98
4,163 960
- -
6.9 3.2
21 days ago over 2 years ago
Java Ruby
Apache 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.

frontend-maven-plugin

Posts with mentions or reviews of frontend-maven-plugin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-02.
  • Using Webpack with Spring Boot
    2 projects | dev.to | 2 May 2023
    Install Node.js Frontend Maven Plugin Gradle Plugin for Node
  • Integrating npm with Maven in a mono repo: seeking advice and best practices
    1 project | /r/java | 8 Apr 2023
  • Use React and Spring Boot to Build a Simple CRUD App
    9 projects | dev.to | 18 Jan 2023
    To build and package your React app with Maven, you can use the frontend-maven-plugin and Maven's profiles to activate it. Add properties for versions and a section to your pom.xml.
  • Spring Boot & HTMX ?
    3 projects | /r/htmx | 30 Nov 2022
    In JavaScript land this stuff is done via npm instead. There is a tool for bridging Maven and NPM land stuff https://github.com/eirslett/frontend-maven-plugin but then you are really talking about maintaining two complete stacks. At some point then you might as well just check out something like SvelteKit and Prisma.
  • Why is npm 'build' giving me an error in maven packaging
    1 project | /r/SpringBoot | 6 Oct 2022
    Ever considered using eirslett/frontend-maven-plugin? It kind of takes care of a lot of heavy loading, such as setting the environment in order for your project to be built correctly.
  • Spring Boot & Vite
    1 project | /r/reactjs | 3 Sep 2022
    You should be able to get away with maven frontend plugin. It will run scripts in your package.json. from there make sure your build output goes in the right place, probably resources/META-INF or something like that.
  • Maven Sass integration
    4 projects | /r/JavaFX | 30 Jul 2022
    Sass is an interesting language for generating CSS files that I'm currently trying to play around with. Unfortunately, the existing sass-maven-plugin are based on obsolete implementations, and adding a dependency on npm seems really cumbersome.
  • Building software for cattle farmers. Week 0.
    2 projects | dev.to | 15 Apr 2022
    3) Bunding into a .jar file : packaging the frontend with the backend into a single JAR file was very confusing. I found the solution using two maven plugins. The first plugin was frontend-maven-plugin which down loads everything that our frontend needs and runs the build command. The second plugin was the Apache Maven Resources Plugin which handles the copying of project resources to the output directory. The combination of these two plugins will give us the ability to run the command of mvnw clean package and have an executable JAR file in the output directory, which we can then execute.
  • Ways to use React in Spring app
    5 projects | dev.to | 6 Mar 2022
    The frontend-maven-plugin is useful to install NodeJS and NPM on the phase of Maven project build. First you add it to POM.xml file:
  • Is there a Rust/Cargo Maven plugin that can install and run cargo goals?
    1 project | /r/rust | 1 Nov 2021
    This is my first time posting here. I have a project that requires me to use Maven (pom.xml) for the build process. I have been using https://github.com/eirslett/frontend-maven-plugin for quite a while and really like it. The frontend-maven-plugin is really neat because it downloads node/npm and saves is in a temporary location within the repo and those local node/npm executables are then used to run certain commands. That way, you can guarantee that the environment running the build has the necessary (pinned to a version) dependencies.

hotwire-rails

Posts with mentions or reviews of hotwire-rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-08.
  • It's not Ruby that's slow, it's your database
    7 projects | news.ycombinator.com | 8 Nov 2022
  • Howire Not Working after deploying to Heroku
    1 project | /r/rails | 3 Jan 2022
  • What's New in Rails 7
    2 projects | dev.to | 22 Dec 2021
    Applications generated with Rails 7 will get Turbo and Stimulus (from Hotwire) by default, instead of Turbolinks and UJS. Hotwire is a new approach that delivers fast updates to the DOM by sending HTML over the wire.
  • Ask HN: What tech stack would you use to build a new web app today?
    6 projects | news.ycombinator.com | 20 Dec 2021
    For Ajax-y stuff, I am really excited by the new crop of "HTML-as-a-Service" or "HTML-over-the-wire."

    https://htmx.org/

    https://hotwired.dev/

  • Ask HN: Do we need JavaScript web frameworks?
    3 projects | news.ycombinator.com | 17 Dec 2021
  • anyone have full tutorial how to upgrade from rails 6.1 to rails 7 ?
    1 project | /r/rails | 16 Dec 2021
    For all the turbo/stimulus/hotwire mix, you want to add a new feature just for the sake of adding it? or do you have a use case that fits the feature? if you have then you probably already have an implementation with a different technology (stimulus reflex? some custom websockets or ajax implementation? something with anycable?) and you have to check how to migrate from that technology to hotwire. If you just want to use the feature with no real need for it to practice then just pick any tutorial from the internet (like the intro in the official website https://hotwired.dev).
  • Ask HN: What are you favorite goto frameworks when writing Web Aplications
    6 projects | news.ycombinator.com | 15 Dec 2021
    I was recently interested in similar topic. Here are 3 similar solutions I found:

    * https://htmx.org/

    * https://unpoly.com/

    * https://hotwired.dev/

    My personal preference is Unpoly (the idea of "layers" is awesome). But the best explanation of concept as a whole (HATEOAS, keeping app state on server using partial page updates, etc) is at HTMX homepage, and in these essays:

    * https://htmx.org/essays/hateoas/

    * https://htmx.org/essays/locality-of-behaviour/

  • Hotwire isn't only for Rails
    3 projects | dev.to | 14 Dec 2021
    At the end of 2020 the Basecamp team released a collection of Javascript libraries called Hotwire. Modern web stacks have popularized javascript-rendered front ends and JSON transmissions. Hotwire's primary motivation is to reduce the Javascript footprint and allow application front ends to be created in primarily HTML. It pairs very nicely with the Ruby on Rails ideology and is often demonstrated in that context. I aim to write a series on how Hotwire can be used in any application to simplify development and reduce the need for heavy Javascript downloads. Hotwire currently consists of two javascript libraries: Turbo and Stimulus. The first part of this series introduces Turbo.
  • How do you handle views?
    4 projects | /r/PHP | 4 Dec 2021
    I've been doing that a while until I just got sock of the JS spagetti and often duplicated code and went full on Angular CSR and never looked back. That being said, I've been seeing a lot recently about Laravel's Livewire and Symfony and Ruby on Rail's integration with Hotwire (stimulus+turbo).
  • Why learn Rails as a frontender?
    1 project | /r/rails | 28 Nov 2021

What are some alternatives?

When comparing frontend-maven-plugin and hotwire-rails you can also consider the following projects:

Svelte - Cybernetically enhanced web apps

htmx - </> htmx - high power tools for HTML

wro4j - Free and Open Source Java project which brings together almost all the modern web tools: JsHint, CssLint, JsMin, Google Closure compressor, YUI Compressor, UglifyJs, Dojo Shrinksafe, Css Variables Support, JSON Compression, Less, Sass, CoffeeScript and much more. In the same time, the aim is to keep it as simple as possible and as extensible as possible in order to be easily adapted to application specific needs.

SvelteKit - web development, streamlined

springboot-react-eirslett-mvn-plugin

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

Alpine

gradle-node-plugin - Gradle plugin for integrating NodeJS in your build. :rocket:

phoenix_live_view - Rich, real-time user experiences with server-rendered HTML

w2ui - UI widgets for modern apps. Data table, forms, toolbars, sidebar, tabs, tooltips, popups. All under 120kb (gzipped).

inertia-laravel - The Laravel adapter for Inertia.js.