clonereap is a CI tool which responds to pull requests by searching for code clones in the new codebase. Code clones are bad for all sorts of reasons - chief among them, it makes your code difficult to maintain at scale.
clonereap is a Go project, but it also serves up React.
clonereap depends on its partner project, clone-browser as its frontend.
- download github.com/jkobyp/clone-browser
npm install
andnpm run build
- copy the dist folder to the project directory
- make sure index.html contains:
...
<body>
<div id="root"> </div>
<script src="dist/bundle.js"> </script>
</body>
- build and run the project