Found a feature you want? Try moving it with Portsmith
Description and use
Portsmith lets developers extract and consolidate JavaScript/TypeScript features across repositories, producing a reviewable patch while keeping original codebases intact.
Problem
Reuse focused JavaScript/TypeScript features across multiple repositories without duplicating code.
Outcome
Portsmith enables developers to extract and consolidate features across repositories, producing a reviewable patch while keeping original codebases intact.
Workflow
- Identify the feature to reuse
- Run Portsmith with the command
npx --yes --package=portsmith-workbench@alpha portsmith-demo(or a custom command) - Portsmith prepares changes in a temporary copy of the target repository
- Declared behavior checks are executed to ensure feature integrity
- A patch file is exported for review
- Apply the patch to the original repository if approved
Evidence
I built Portsmith to help reuse focused JS/TS features across repositories.
It prepares changes in a copy, runs declared behavior checks and exports a patch you can review.
Your original repos stay unchanged.
- Record date: 2026-10-14T14:41:23.119Z