Hey All! You know what TW5-Uglify was missing? A nice, easy-to-use uglify wizard <https://flibbles.github.io/tw5-uglify/uglified.html>.
Before, if you wanted to compress your standalone tiddlywiki file, you had to follow a whole bunch of steps like some kind of recovery program. Now, just visit the wizard <https://flibbles.github.io/tw5-uglify/uglified.html> and drag your files on. It's build from a retrofitted tiddlywiki updated, but it works pretty well. Also, I've revamped the demo site's presentation <https://flibbles.github.io/tw5-uglify/> in order to be much more concise and straight forward. Hopefully this'll help this plugin get the adoption it deserves. Siniy-Kit: <1mb is super ambitious. But as it turns out, I've been considering compressing WikiText. I've thought a lot about it, and there are ways to do it, though I don't think we'll get nearly the trimming we get by compressing javascript. On Friday, October 22, 2021 at 11:07:49 AM UTC-4 Siniy-Kit wrote: > Thank you Flibbles ! I use your plugin for TW 5.2.0 + replace svg icons > by fontawesome (I use it my projects) TW5 become 1.2 Mb > > Is it possible to compress it more an make 1 mb TW 5.2.0? > вторник, 19 января 2021 г. в 23:26:32 UTC+3, Flibbles: > >> Some people want a minified version of the TW5 core, but it'd be too much >> work to maintain. >> Some people think it should remain uncompressed for the sake of editors, >> but TW5 continues to grow by the day. >> Some developers compress their plugins, making efficient code, but it's a >> pain for anyone debugging it. >> Some developers leave their plugins uncompressed, but that means it's >> larger than necessary for 90% of all end-users. >> >> Now there's a solution for everybody: TW5-uglify. >> >> This is a plugin primarily designed to be used by a Node.JS server. Your >> server has access to all your uncompressed and unpacked plugins, which is >> fine, since servers have the speed and memory for it. But what it sends to >> browsers are fully compressed plugins. Your little smart phones and tablets >> get the efficient TW5 they deserve. >> >> Or maybe you're a plugin developer who wants to minify their code. Now >> you no longer have to resort to using npm-gulp like some kind of chump. >> Your build process can remain an entirely TiddlyWiki process. >> >> Or maybe you want to miniify your standalone TiddlyWiki file. You can, >> but... think hard about this before you do it. Because unlike with >> TW5-Uglified server, compressing your standalone files is a one-way >> process. You'll forever have compressed code unless you download a new >> Tiddlywiki, redownload all your plugins, and transfer all your tiddlers >> from your old file. But hey! Maybe you're running TiddlyWiki on your 2000 >> era Nokia phone in an wifi wasteland. Then go ahead. >> >> Check it out. >> Here's the demo site. <https://flibbles.github.io/tw5-uglify/> >> And here's the github page <https://github.com/flibbles/tw5-uglify>. >> >> Let me know what you all think. >> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/df39b7c7-3fe4-4493-ae3d-1165472a4d8en%40googlegroups.com.