use web app to gen code