Framework for a frontend-only project?

This page summarizes the projects mentioned and recommended in the original post on /r/Frontend

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Alpine.js

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

  • All of your requirements can be met by React or Vue but I would use https://alpinejs.dev

  • SvelteKit

    web development, streamlined (by sveltejs)

  • I think what you want is Svelte Kit for dev and then the static export so you can directly open the HTML files. NextJS (probably others, maybe Nuxt?) can do this too but IMO Svelte is the easiest framework to learn.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • imba

    🐤 The friendly full-stack language

  • You might get away with Svelte (not Sveltekit) here since it compiles down to javascript. Another fun framework to try out for this might be https://imba.io/, which also has an option to compile things down to pure HTML, CSS & JS (plus it’s very fun to work with).

  • hyperHTML

    A Fast & Light Virtual DOM Alternative

  • The main limiting factor, like someone else said, is that you can't load external JavaScript files from your local file system without serving them. Your best bet would probably be to try and find a CDN source for some minimal Web Components library like Lit or HyperHTML and just write everything in a single HTML file.

  • vite-plugin-singlefile

    Vite plugin for inlining JavaScript and CSS resources

  • Use a vite plugin to generate build as a single file https://github.com/richardtallent/vite-plugin-singlefile

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts