Experiment – Creating A Single-File Tumult Hype Project 🧪

The exports script would need to be Python.

Again, Python does this also pretty well.

In the sample export script there are demos for nearly all callbacks. One demonstrates modifiying the HTML. See --modify_staging_path

Also possible in the packing process, also found in the example under --modify_staging_path

Hype already has the option to inline itself in the export script see --get_options. The actual runtime would need to be added in the --modify_staging_path run.

This code should fix your problem

It uses the HypeResourceLoad event and reads the files from variables instead like regular from the ressource library. You could use this technic (without the encoding to the console portion) if you put it into the export script.