gitwtfhub

wtf is jsii-rosetta?

benmccann/jsii-rosetta — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2025-06-26

Audience · developerComplexity · 3/5Stale

TL;DR

jsii-rosetta automatically translates TypeScript code examples into other languages like Python, Java, C#, and Go, so a library's documentation works everywhere from one source.

Mindmap

mindmap
  root((repo))
    What it does
      Translates code examples
      TypeScript to many languages
      Powers AWS CDK docs
    Tech stack
      TypeScript
      Compiler tooling
      Caching and parallel builds
    Use cases
      Multi-language SDK docs
      Automated example translation
      Build pipeline integration
    Audience
      Library authors
      Documentation teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Write code examples once in TypeScript and auto-translate them into Python, Java, C#, and Go docs.

REASON 2

Add multi-language example translation to a library's build pipeline with jsii-rosetta extract.

REASON 3

Spread a single documented example across multiple related classes using the infuse command.

REASON 4

Generate a portable tablet file of translated examples to ship alongside a packaged library.

What's in the stack?

TypeScript

How it stacks up

benmccann/jsii-rosetta0verflowme/alarm-clock0verflowme/seclists
LanguageCSS
Last pushed2025-06-262022-10-032020-05-03
MaintenanceStaleDormantDormant
Setup difficultyeasyeasy
Complexity3/52/51/5
Audiencedevelopervibe coderops devops

Figures from each repo's GitHub metadata at analysis time.

Yoink these prompts

Prompt 1
Show me how to run jsii-rosetta extract to translate my TypeScript documentation examples into other languages.
Prompt 2
Help me set up jsii-rosetta in my library's build pipeline so my docs stay in sync across languages.
Prompt 3
Explain how jsii-rosetta handles a TypeScript example that doesn't fully compile.
Prompt 4
Walk me through using the infuse command to spread one example across several related classes in my docs.

Frequently asked questions

wtf is jsii-rosetta?

jsii-rosetta automatically translates TypeScript code examples into other languages like Python, Java, C#, and Go, so a library's documentation works everywhere from one source.

Is jsii-rosetta actively maintained?

Stale — no commits in 1-2 years (last push 2025-06-26).

Who is jsii-rosetta for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.