A set of excellent questions at the end of this Python to JavaScript conversion by Simon Willison:
Does this library represent a legal violation of copyright of either the Rust library or the Python one?
Even if this is legal, is it ethical to build a library in this way?
Does this format of development hurt the open source ecosystem?
Is it responsible to publish software libraries built in this way?
How much better would this library be if an expert team hand crafted it over the course of several months?
Obviously, a lawyer (or court) needs to answer the first one (and potentially it differs by country). I don’t know what my answers to the other four are.
I’m also doing one of these conversions at the moment (with Claude Code), but it’s of a tool I maintain (for work) and not intended for outside use, so simpler.