# galaxykate/tracery

Tracery: a story-grammar generation library for javascript

Repository: https://github.com/galaxykate/tracery
Canonical: https://ross.abutalabs.com/products/tracery
Language: JavaScript
License: Apache-2.0
License Family: permissive
Last push: 2024-11-03T16:46:02+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4320, "days_push": 668, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2208, forks 253 (observed 2026-08-28T04:06:26.179111+00:00)

## What it is
Tracery is a JavaScript story-grammar generation library that expands grammar objects into generative text. You define rules with symbols and modifiers, and it produces randomized text outputs like stories, names, or descriptions.

## Use cases
- generate random stories from a grammar
- create procedural names for game characters
- build generative twitter bots
- produce randomized flavor text for games
- teach text grammar generation in workshops
- generate varied npc dialogue lines

## When to choose
- you want lightweight grammar-based text expansion in JavaScript
- you need procedural generation of stories, names, or flavor text
- you're building a twitter bot or interactive fiction tool

## When to avoid
- you need modern LLM-based text generation
- you need a maintained library with active development
- you need grammars beyond simple text expansion

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp, data-generation, templating
- domain: artificial-intelligence, developer-tools
- platform: browser
- tags: text-expansion, story-grammar, generative-text, procedural-generation, interactive-fiction, natural-language-processing, game-development, nodejs, javascript

## Member repositories
- galaxykate/tracery (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:26.179111+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:46:20.580473+00:00, confidence not recorded.
  - readme: https://github.com/galaxykate/tracery (fetched 2026-08-28T04:06:26.179111+00:00, sha 154ef7547a2f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
