GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codemod/codemod: The CLI for codemods: scaffold, share, and run multi-step transformations of any size. First-class ast-grep support. Fast, reliable, polyglot.

BranchesTags
Open more actions menu

Latest commit

 

History

2,148 Commits
2,148 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.cargo
.cargo
 
 
.changeset
.changeset
 
 
.github
.github
 
 
.husky
.husky
 
 
.vscode
.vscode
 
 
crates
crates
 
 
docs
docs
 
 
packages
packages
 
 
schemas
schemas
 
 
scripts
scripts
 
 
skills
skills
 
 
xtask
xtask
 
 
.all-contributorsrc
.all-contributorsrc
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.nvmrc
.nvmrc
 
 
.oxfmtrc.json
.oxfmtrc.json
 
 
.oxlintrc.json
.oxlintrc.json
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONTRIBUTOR_LICENSE_AGREEMENT.md
CONTRIBUTOR_LICENSE_AGREEMENT.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
cliff.toml
cliff.toml
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 
rustfmt.toml
rustfmt.toml
 
 

Repository files navigation

Codemod Registry Header


Platform · Community · Docs

Codemod

Community License

Codemod is the AI-powered, community-led platform for automating code migrations, framework upgrades, and large-scale changes.

This repo houses the Codemod CLI and its underlying workflow engine – everything you need to scaffold, test, and run codemods locally or in CI. The CLI can also connect to Codemod’s hosted Registry and Platform when you want to publish or orchestrate migrations across many repositories.

Key Features

  • Codemod CLI – Run, test, and publish codemods from your terminal or CI.
  • Workflows – Orchestrate multi-step migrations with YAML configuration, matrix strategies, and manual approval gates.
  • JSSG – JavaScript ast-grep: write powerful AST transformations in TypeScript with pattern matching and semantic analysis.
  • Codemod Registry – Share or discover community codemods via npx codemod publish or npx codemod search.
  • Codemod MCP – AI tools for code analysis, AST manipulation, and codemod creation in AI-powered IDEs.

Getting Started

# 1) Open the interactive launcher
npx codemod

# 2) Scaffold a new codemod project
npx codemod init my-codemod

# 3) Test it locally
npx codemod workflow run -w my-codemod/workflow.yaml

# 4) Publish it when you're ready
npx codemod publish my-codemod

# 5) Run it from the Registry
npx codemod @codemod/my-codemod

In an interactive terminal, bare npx codemod opens a launcher for creating a package or running one from the registry. In non-interactive contexts, it prints next steps and exits with status 1.

See the full CLI reference for every command and option.

Codemod Platform

The CLI is the engine that powers campaigns inside Codemod Platform. Need to coordinate changes across multiple repositories, track progress, or collaborate with your team? The Platform adds insights, orchestration, dashboards, and authoring tools that help teams successfully land large-scale code migrations.

Explore our documentation to learn more, and join the conversation or share your feedback in our Slack community.

Contributing

There are two ways to contribute to the Codemod ecosystem:

Contribute to Codemod OSS

Help improve the CLI, workflow engine, and JSSG runtime. See the contributing guide to get started with development setup, testing, and pull requests.

Build and share codemods

Create codemods for framework upgrades, security patches, or common refactoring patterns. Published codemods help the entire community migrate faster.

  • Workflows quickstart – Scaffold your first codemod package
  • JSSG guide – Write AST transformations in JS/TS
  • Publishing – Share your contributions to Codemod Registry

Looking for ideas? Spark a discussion in our Slack community or browse Codemod Registry for codemods that could use improvements.

Contributors ✨

Chart of Codemod repo contributions

Thanks goes to these wonderful people (emoji key):

Alex Bit
Alex Bit

💻 📖
Mohamad Mohebifar
Mohamad Mohebifar

💻 🐛
amirabbas-gh
Amirabbas Ghasemi

💻 🐛
Mohab Sameh
Mohab Sameh

💻 📖
siamak
Siamak

💻 🐛 🎨
Jahred Hope
Jahred Hope

💻
Jacob Smith
Jacob Smith

📖
Augustin Mauroy
Augustin Mauroy

💻 🐛 🤔
Bruno Rodrigues
Bruno Rodrigues

💻
Cameron Seebach
Cameron Seebach

🐛 💻
Benny Joo
Benny Joo

💻 🐛 📖
Grzegorz
Grzegorz

🐛 💻
Greg Pabian
Greg Pabian

💻 🐛 📖
arshcodemod
arshcodemod

📖 📢
Sasha
Sasha

💻 🐛
Mikhail Demidoff
Mikhail Demidoff

💻
Aleksy
Aleksy

💻 🐛
Pardis Pashakhanloo
Pardis Pashakhanloo

💻 📝 🔣
DmytroHryshyn
DmytroHryshyn

💻 🐛
kevtran2
kevtran2

📖 💻
Max Leiter
Max Leiter

💻
Manish Jha
Manish Jha

🐛 💻
with-heart
with-heart

🐛 📖 🤔
Aniello Falcone
Aniello Falcone

🐛
Harsh Gupta
Harsh Gupta

💻
Nuurek
Nuurek

💻 🐛
Norayr Baghdasarov
Norayr Baghdasarov

💻 🐛
Espen Bye
Espen Bye

🐛
Jake Riordan
Jake Riordan

💻 🐛
Jonathan Giardino
Jonathan Giardino

💻 🐛
Mohamed Amine Diboune
Mohamed Amine Diboune

💻
Seif Ghezala
Seif Ghezala

💻
Ahmad Soliman
Ahmad Soliman

💻
Maciej Lotkowski
Maciej Lotkowski

🐛
Jay Kumar
Jay Kumar

💻
Shinya Fujino
Shinya Fujino

📖 💻 🐛
coderaiser
coderaiser

💻
Zach Wolf
Zach Wolf

🐛
Serhii Melnyk
Serhii Melnyk

🤔
Henry Q. Dineen
Henry Q. Dineen

💻 🐛
Matthias
Matthias

🐛
Mohammad Bagher Abiyat
Mohammad Bagher Abiyat

🚇
Yugal Agarwal
Yugal Agarwal

💻
Sameer Poswal
Sameer Poswal

💻 🐛
Michael Stramel
Michael Stramel

📖
George W Langham
George W Langham

🐛
Siddhesh Mhadnak
Siddhesh Mhadnak

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

About

The CLI for codemods: scaffold, share, and run multi-step transformations of any size. First-class ast-grep support. Fast, reliable, polyglot.

go.codemod.com/docs

Topics

ast-grepcleanupcodemodjscodeshiftmigrationrefactoringts-morphupgrade

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

1.1k stars

Watchers

2 watching

Forks

85 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.