{"id":49728550,"url":"https://github.com/flibbles/tw5-uglify","last_synced_at":"2026-05-09T05:18:11.937Z","repository":{"id":51690398,"uuid":"331057053","full_name":"flibbles/tw5-uglify","owner":"flibbles","description":"Compress TiddlyWiki5 javascript and plugins","archived":false,"fork":false,"pushed_at":"2026-01-02T01:23:55.000Z","size":8543,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-04T04:01:31.589Z","etag":null,"topics":["tiddlywiki-plugin","tiddlywiki5","uglifycss","uglifyjs"],"latest_commit_sha":null,"homepage":"https://flibbles.github.io/tw5-uglify/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flibbles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-19T17:27:25.000Z","updated_at":"2026-01-02T01:23:59.000Z","dependencies_parsed_at":"2024-03-21T06:31:13.385Z","dependency_job_id":"3d137401-e306-4cb3-b47b-b96985edf144","html_url":"https://github.com/flibbles/tw5-uglify","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/flibbles/tw5-uglify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flibbles%2Ftw5-uglify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flibbles%2Ftw5-uglify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flibbles%2Ftw5-uglify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flibbles%2Ftw5-uglify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flibbles","download_url":"https://codeload.github.com/flibbles/tw5-uglify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flibbles%2Ftw5-uglify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32808043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tiddlywiki-plugin","tiddlywiki5","uglifycss","uglifyjs"],"created_at":"2026-05-09T05:18:11.230Z","updated_at":"2026-05-09T05:18:11.918Z","avatar_url":"https://github.com/flibbles.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uglify\n\nIf you've ever wanted to compress your Tiddlywiki file or plugins, TW5-Uglify is for you. It compresses javascript, css, and even wikitext with zero effort. (Don't worry! It only compresses core code and plugins. It doesn't touch your own tiddlers.)\n\nTo compress your Tiddlywiki file, you can visit the [uglify wizard](https://flibbles.github.io/tw5-uglify/uglified.html) to compress it without even having to install the plugin.\n\nYou can also have your Node.JS TiddlyWiki server automatically compress all core code and plugins it serves. Check out the [demo site](https://flibbles.github.io/tw5-uglify/) for documentation and further explanation.\n\n_Note_: Uglify cannot process plugins which use ECMAScript 2015 or above. This isn't a problem for core code because Tiddlywiki doesn't support it either, but some 3rd party plugins may not abide by this limitation.\n\n## How to install\n\nInstalling Uglify is primarily intended for use on Node.js. If you have a standalone TiddlyWiki file, use the [uglify wizard](https://flibbles.github.io/tw5-uglify/uglified.html) instead, since you won't need to compress your file more than once.\n\n### Node.js\n\n_TW5-Uglify requires Node.js 12.0.0 or greater._\n\nThe following is an abridged version of the [instructions found here](https://tiddlywiki.com/#Installing%20custom%20plugins%20on%20Node.js).\n\nFirst, check out the source code using git. Then copy the uglify directory out of the `plugins` directory into a \"flibbles\" directory in a path where you'd like it to be available. Then add that path to the TIDDLYWIKI_PLUGIN_PATH environment variable.\n\nFor instance, copy the contents of the plugin directory to \"~/.tiddlywiki/flibbles\" directory. Then run `echo \"TIDDLYWIKI_PLUGIN_PATH=~/.tiddlywiki\" \u003e\u003e .profile`\n\nIf you've installed it correctly, the path to the `plugin.info` file should look something like:\n\n`~/.tiddlywiki/flibbles/uglify/plugin.info`\n\nAfterward, add the plugin inside your projects' `tiddlywiki.info` file.\nThe plugins section will look something like:\nThe plugins section will look something like:\n```\n{\n\t...\n\t\"plugins\": [\n\t\t...\n\t\t\"flibbles/uglify\"\n\t],\n\t...\n}\n```\n\nAlternatively, you can also copy the `plugins` directly into your projects'\nroot directory. Though this makes the install local only to those specific\nprojects.\n\nOnce installed, restart your server, and it will automatically begin serving compressed plugins and core code.\n\n## How to test\n\nMake sure you have `tiddlywiki` available on your PATH. Then from the project root directory, type:\n\n`tiddlywiki --build test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflibbles%2Ftw5-uglify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflibbles%2Ftw5-uglify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflibbles%2Ftw5-uglify/lists"}