←back to thread

Macrodata Refinement

(lumon-industries.com)
722 points gaws | 2 comments | | HN request time: 0.416s | source
Show context
kusha ◴[] No.42903173[source]
Edit: this is not needed, see child comment that this is open source!

Looks like the JS is not obfuscated. Even dev comments are still there, which is v cool. Good idea to download it all before they wise up!

    wget --mirror --convert-links --adjust-extension --page-requisites --no-parent -e robots=off -P ./website "https://lumon-industries.com/"
    wget -P ./website/images "https://lumon-industries.com/images/lumon.png"
    wget -P ./website/images "https://lumon-industries.com/images/nope.png"
    wget -P ./website/images "https://lumon-industries.com/images/100.png"
    wget -P ./website/images "https://lumon-industries.com/images/clipboard.png"
    wget -P ./website/images "https://lumon-industries.com/images/mde.gif"
    wget -P ./website/shaders "https://lumon-industries.com/shaders/crt.vert.glsl"
    wget -P ./website/shaders "https://lumon-industries.com/shaders/crt.frag.glsl"
    wget -P ./website "https://lumon-industries.com/favicon.ico"
and then comment out

    <script>
      navigator.serviceWorker.register?.('/service-worker.js').catch(() => {})
    </script>
in index.html

Finally, download p5 and replace the cloudflare CDN pointing to your own p5.js installation.

Run it all with

    python3 -m http.server
replies(2): >>42903270 #>>42903623 #
1. nodja ◴[] No.42903623[source]
It's open source.

https://github.com/Lumon-Industries/Macrodata-Refinement

replies(1): >>42903628 #
2. kusha ◴[] No.42903628[source]
Ahhh I should have checked. Thank you