Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> though in your case that might not be practical as this means Files app is essentially no longer a"single file"

First off, its already not a "single file" you need a PHP interpreter.

Secondly, you can cram the JS and CSS into a .phar file, the performance is horrible, but it's probably not noticeable in this scenario.



It is a single file—that you need an interpreter does not change that fact. It's assumed that the user already has the interpreter.

You can cram the JS and CSS into the PHP file itself, no phar needed. Performance change is unnoticeable on any modern machine.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: