Hacker News new | past | comments | ask | show | jobs | submit login

It's a single 4992 line HTML file, which is the source code, making a lot harder to contribute to or maintain. I'd like it a bit more (and I might even contribute) if it had at least some separation of concerns, and a simple build system even if the build system is just a bash command to concatenate source files into one HTML file (if having 1 HTML file is somehow very important, but it's not).



I know it's controversial to do things this way, but given it's a personal project and focuses on portability, I think the benefits are worth while.

I have taken care to break things up, comment, etc - if you start at main(), you may find it's not any more difficult to follow than if i'd broken it up. Just because it's one file doesn't mean it doesn't separate concerns.


One file is great!


>"Contributions are very welcomed. Please feel free to submit proposals directly in the form of a PR or Issue."

Good luck getting contributions. I don't have the time to read and understand all 4000+ lines of this very long file. I have ideas, but I'm not even interested in participating because of the format.


> if having 1 HTML file is somehow very important, but it's not

It is.


As a payload that's great. As a source code file, not so great.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: