turbo VS Stimulus

Compare turbo vs Stimulus and see what are their differences.

turbo

Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turbopack and Turborepo. (by vercel)

Stimulus

A modest JavaScript framework for the HTML you already have (by hotwired)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
turbo Stimulus
55 111
24,661 12,429
2.4% 0.6%
9.9 6.8
3 days ago 1 day ago
Rust TypeScript
Mozilla 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.

turbo

Posts with mentions or reviews of turbo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-07.
  • dev.to wrapped 2023 🎁
    2 projects | dev.to | 7 Dec 2023
    # src Dockerfile: https://github.com/vercel/turbo/blob/main/examples/with-docker/apps/web/Dockerfile FROM node:18-alpine AS alpine # setup pnpm on the alpine base FROM alpine as base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable RUN pnpm install turbo --global FROM base AS builder # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat RUN apk update # Set working directory WORKDIR /app COPY . . RUN turbo prune --scope=web --docker # Add lockfile and package.json's of isolated subworkspace FROM base AS installer RUN apk add --no-cache libc6-compat RUN apk update WORKDIR /app # First install the dependencies (as they change less often) COPY .gitignore .gitignore COPY --from=builder /app/out/json/ . COPY --from=builder /app/out/pnpm-lock.yaml ./pnpm-lock.yaml COPY --from=builder /app/out/pnpm-workspace.yaml ./pnpm-workspace.yaml RUN pnpm install # Build the project COPY --from=builder /app/out/full/ . COPY turbo.json turbo.json RUN turbo run build --filter=web # use alpine as the thinest image FROM alpine AS runner WORKDIR /app # Don't run production as root RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs USER nextjs COPY --from=installer /app/apps/web/next.config.js . COPY --from=installer /app/apps/web/package.json . # Automatically leverage output traces to reduce image size # https://nextjs.org/docs/advanced-features/output-file-tracing COPY --from=installer --chown=nextjs:nodejs /app/apps/web/.next/standalone ./ COPY --from=installer --chown=nextjs:nodejs /app/apps/web/.next/static ./apps/web/.next/static COPY --from=installer --chown=nextjs:nodejs /app/apps/web/public ./apps/web/public CMD node apps/web/server.js
  • .dockerignore being ignored by docker-compose? no space left on device
    3 projects | /r/docker | 5 Dec 2023
    Following this example: https://github.com/vercel/turbo/tree/main/examples/with-docker/apps/web. Except I'm using pnpm. Edit Reddit Codeblocks are horrible and keeps removing all formatting.
  • How to Win Any Hackathon 🚀🤑
    7 projects | dev.to | 2 Nov 2023
    The Dockerfile might seem a bit complicated (it is), but the reason for that is mostly just turborepo and the need for good caching. Realistically, you will only need to change the last line, if at all. It is based on this awesome Github Issue.
  • PURISTA: Build with rimraf, esbuild, Turbo & git-cliff
    3 projects | dev.to | 11 Sep 2023
    PURISTA is organized in a monorepo. During the development and build process, Turbo is used to execute different tasks and steps on multiple packages with one command.
  • How I approach and structure Enterprise frontend applications after 4 years of using Next.js
    5 projects | dev.to | 9 Sep 2023
    Turbo repo
  • Vercel Integration and Next.js App Router Support
    3 projects | dev.to | 10 Aug 2023
    Previously we mapped each Vercel project to a single Supabase project. With this release, we're introducing the concept of project 'Connections'. Supabase projects can have an unlimited number of Vercel Connections. This is especially useful for monorepos using Turborepo.
  • How Turborepo is porting from Go to Rust
    7 projects | news.ycombinator.com | 21 Jul 2023
    One detail I enjoy from this post is that sometimes you can just call a CLI[0]. It's easy to spend a lot of time figuring out how to expose some Rust/C code as a library for your language, but I like the simplicity of just compiling, shipping the binary and then calling it as a subprocess.

    Yes, there's overhead in starting a new process to "just call a function", but I think this approach is still underutilized.

    [0]: https://github.com/vercel/turbo/blob/c0ee0dea7388d1081512c93...

  • App Router example repos
    6 projects | /r/nextjs | 30 Jun 2023
  • Setting up a project for Server and Client inside VS Code?
    3 projects | /r/webdev | 25 Jun 2023
    You can have it in the same repo. Just don't do any weird stuff where you are importing backend into frontend or something like that. But the best way would be to set up a Monorepo, that way you could have shared packages and the tools manages the dependencies. There a few build tools you can choose to help with this. Turborepo and NX are the most popular. But honestly these are complex to configure yourself.
  • Fhtagn – a tiny CLI programs tester written in Awk
    3 projects | news.ycombinator.com | 19 Jun 2023
    I've been using https://www.prysk.net/ for the past few months, and I really like the simplicity of running a programming and using standard tools to validate the output and any system changes. Here's a bunch of tests in the turborepo codebase if anyone is interested https://github.com/vercel/turbo/tree/main/turborepo-tests/in...

Stimulus

Posts with mentions or reviews of Stimulus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-27.
  • Turbo Streaming Modals in Ruby on Rails
    4 projects | dev.to | 27 Mar 2024
    I also recommend checking out the docs for Stimulus and Turbo to familiarise yourself with all their features and the APIs used in this series.
  • Google: Angular and Wiz Are Merging
    3 projects | news.ycombinator.com | 21 Mar 2024
    Any tips on preparing to work with Wiz as an incoming intern. I heard its identical to Stimulus: https://stimulus.hotwired.dev/
  • How to integrate Component Architecture into Symfony?
    2 projects | dev.to | 15 Mar 2024
    use Stimulus
  • Build Drag and Drop with Rails Hotwire
    4 projects | dev.to | 10 Sep 2023
    With Stimulus, you've got a powerful tool to take your app's interactivity up a notch. For even more awesome features and Stimulus wizardry, check out the Stimulus Documentation.
  • Supercharge your Stimulus controllers with Custom APIs
    2 projects | dev.to | 27 Jul 2023
    The next version of Stimulus makes it easier to access parts of the private API thanks to my pull request.
  • Why are you still using jQuery?
    2 projects | /r/webdev | 14 Jul 2023
    I like Stimulus, it was a bit pushed by Symfony with their ux thing.
  • What's your favorite micro frontend framework?
    2 projects | /r/webdev | 23 Jun 2023
    Sure, something like https://github.com/hotwired/stimulus
  • Dusting off my rails knowledge, need some tips / guidance on rails 7 and production
    10 projects | /r/rails | 7 Apr 2023
    source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby "3.1.0" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem "rails", "~> 7.0.4", ">= 7.0.4.2" # The original asset pipeline for Rails [https://github.com/rails/sprockets-rails] gem "sprockets-rails" # Use sqlite3 as the database for Active Record gem "sqlite3", "~> 1.4" # Use the Puma web server [https://github.com/puma/puma] gem "puma", "~> 5.0" # Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails] gem "importmap-rails" # Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev] gem "turbo-rails" # Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev] gem "stimulus-rails" # Build JSON APIs with ease [https://github.com/rails/jbuilder] gem "jbuilder" gem "mongoid" gem "mongoid-grid_fs" gem 'bootstrap', '~> 5.2.2' #sourced from https://github.com/twbs/bootstrap-rubygem gem 'rack-cors' # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ] # Reduces boot times through caching; required in config/boot.rb gem "bootsnap", require: false
  • Configure Stimulus with esbuild and Babel — Rails & Javascript
    7 projects | dev.to | 26 Feb 2023
    Stimulus: A modest JavaScript framework for the HTML you already have.
  • Laravel Ecommerce Tutorial: Part 4, Managing Product Categories
    3 projects | dev.to | 22 Jan 2023
    This will create the obliterate controller in resources/js/controllers/obliterate_controller.js . If you have no idea what a stimulus controller is, checkout the stimulus homepage, it should have everything you need to know. Also checkout the hotwired stack's homepage

What are some alternatives?

When comparing turbo and Stimulus you can also consider the following projects:

esbuild - An extremely fast bundler for the web

turbo-rails - Use Turbo in your Ruby on Rails app

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

hotwire-rails - Use Hotwire in your Ruby on Rails app

django-unicorn - The magical reactive component framework for Django ✨

create-t3-app - The best way to start a full-stack, typesafe Next.js app

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

inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

parcel - The zero configuration build tool for the web. 📦🚀

jquery-rails - A gem to automate using jQuery with Rails

react-rails - Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker.