Ross ROSS = Recommend OSS · open-source software intelligence for agents

guillaumepotier/Garlic.js

Automatically persist your forms' text and select field values locally, until the form is submitted. observed · 2026-08-28

github.com/guillaumepotier/Garlic.js · homepage · CSS · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5044
  • days_rel: n/a
  • days_push: 1764
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2340 stars · 174 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Garlic.js is a JavaScript library that automatically persists form text and select field values in localStorage until the form is submitted, preventing data loss from accidental tab or browser closure. It works declaratively via data attributes with no JavaScript code required.

Use cases

  • prevent users from losing form data when they close the browser tab
  • auto-save form drafts locally before submission
  • persist form field values across page reloads
  • handle conflicts between localStorage values and server-retrieved defaults
  • set expiration times for persisted form data

When to choose

  • you want zero-configuration form persistence with just a data attribute
  • users fill long forms and risk losing data on accidental navigation
  • you need a lightweight, framework-agnostic jQuery plugin

When to avoid

  • you need persistence for radio inputs or textareas with known conflicts
  • you use a modern framework with built-in state management
  • you need server-side draft synchronization

Facets

library · maturity maintenance

form-handling state-management web-development frontend developer-tools browser forms localstorage persistence jquery-plugin draft-saving javascript

2 sources

Member repositories

RepositoryRoleHealth v2
guillaumepotier/Garlic.jsmain32

For agents

markdown · JSON · MCP: product_card(name="guillaumepotier/Garlic.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem