Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Show HN: Copy the Code. Keep the Updates

Regraft is a tool that lets developers copy open-source code while preserving the ability to receive upstream updates, helping maintain compatibility with the original project over time.

Background

- Graft is a new tool that lets developers copy-paste open-source code from a web UI while preserving a link back to the original repo for future updates. - The tagline "Copy the Code. Keep the Updates" means you can use third-party code as a starting point but still pull in upstream fixes and features later. - This sits in the "copy-paste coding" space — developers often grab snippets from GitHub or tutorials but then lose the ability to easily sync with the source. Tools like degit, git subtrees, and vendoring exist but are clunky. - Graft is a Show HN product, meaning it was shared on Hacker News by its creator for feedback. That community has a strong interest in dev tools that improve workflow. - The project addresses a tension between reusing code quickly (copy-paste) and maintaining a clean relationship to the original project (git clone / dependency management).

Related stories