Re:A 9KB (3KB gzip) single HTML notebook, perfect for minima...
by Alejandro9R on Wednesday October 08, 2025 @02:39PM
(#45519229)
https://github.com/chunqiuyiyu/xie/tree/gh-pages
in the gh-pages branch you have the final index.html. You can also literally download/save the page as well, should be the same.
It does not use any other deps than the final index.html
Now, speaking about the project itself, maybe it would be good if the notes get also saved into localStorage in some way. One browser refresh or reboot and it all goes away if it wasn't saved.
Re:A 9KB (3KB gzip) single HTML notebook, perfect for minima...
by jayknight on Wednesday October 08, 2025 @04:50PM
(#45520504)
You are obviously not a minimalist /s
Re:A 9KB (3KB gzip) single HTML notebook, perfect for minima...
by SLWW on Wednesday October 08, 2025 @05:00PM
(#45520593)
if it auto saved to local storage then it would 100% be a daily use Markdown capable editor
Re:A 9KB (3KB gzip) single HTML notebook, perfect for minima...
by chunqiuyiyu on Wednesday October 08, 2025 @09:42PM
(#45522566)
That's an excellent suggestion — I'll make sure to add this feature.
Re:A 9KB (3KB gzip) single HTML notebook, perfect for minima...
by chunqiuyiyu on Wednesday October 08, 2025 @09:44PM
(#45522577)
Thank you! I’ll make sure to store the newly created notes in local storage.
Re:A 9KB (3KB gzip) single HTML notebook, perfect for minima...
by arecsu on Thursday October 09, 2025 @02:18AM
(#45524155)
Please, you're welcome! Local storage will definitively make it much better. Preserve the save feature so it is portable from browser to browser/computer or even shared across people!
Re:A 9KB (3KB gzip) single HTML notebook, perfect for minima...
by chunqiuyiyu on Wednesday October 08, 2025 @09:41PM
(#45522561)
You can click the "Save" button to save the entire page to your own notebook. Node.js is used only for development and deployment purposes.
https://github.com/chunqiuyiyu/xie?tab=readme-ov-file#prereq... says it needs NodeJS; is that just for building? Could you make a release on github that includes it as a single .html file that could be downloaded and used with no deps but a browser?