{"id":28728765,"url":"https://github.com/eye-wave/i-am-a-surgeon","last_synced_at":"2026-05-08T15:43:47.194Z","repository":{"id":297673570,"uuid":"997555032","full_name":"eye-wave/i-am-a-surgeon","owner":"eye-wave","description":"astro build minifier with zero regard for sanity","archived":false,"fork":false,"pushed_at":"2025-06-06T19:22:27.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-06T19:34:01.985Z","etag":null,"topics":["astro","astro-integration","astro-plugin","minify","minify-css","minify-javascript","svelte","terser"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eye-wave.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,"zenodo":null}},"created_at":"2025-06-06T18:21:14.000Z","updated_at":"2025-06-06T19:22:29.000Z","dependencies_parsed_at":"2025-06-06T19:49:08.281Z","dependency_job_id":null,"html_url":"https://github.com/eye-wave/i-am-a-surgeon","commit_stats":null,"previous_names":["eye-wave/i-am-a-surgeon"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eye-wave/i-am-a-surgeon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eye-wave%2Fi-am-a-surgeon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eye-wave%2Fi-am-a-surgeon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eye-wave%2Fi-am-a-surgeon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eye-wave%2Fi-am-a-surgeon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eye-wave","download_url":"https://codeload.github.com/eye-wave/i-am-a-surgeon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eye-wave%2Fi-am-a-surgeon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259998852,"owners_count":22943878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["astro","astro-integration","astro-plugin","minify","minify-css","minify-javascript","svelte","terser"],"created_at":"2025-06-15T15:38:39.456Z","updated_at":"2026-05-08T15:43:47.145Z","avatar_url":"https://github.com/eye-wave.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i-am-a-surgeon\n\n\u003ccenter\u003e\n\n![license](https://img.shields.io/badge/license-GPLv3-blue?style=for-the-badge)\n![breaks things](https://img.shields.io/badge/may_break-your_build-critical?style=for-the-badge)\n![prod ready](https://img.shields.io/badge/production_ready-hell_no-critical?style=for-the-badge)\n\u003c/center\u003e\n\n\n\u003e [!WARNING]\n\u003e This was done as a half-joke, half-serious attempt at squeezing every last bit out of an Astro + Svelte build. If it’s not obvious already: **THIS IS NOT MEANT FOR PRODUCTION.**\n\nWhen Astro finishes bundling, this thing crawls through `dist/` like a raccoon with ADHD, doing some or all of the following:\n\n- **fontCleaner** – removes unused fonts\n- **removeUnusedCssVariables** – if you’ve got a massive CSS theme and aren’t using most of it, this helps a bit\n- **compressCssClasses** – shortens ugly Astro/Svelte classes like `svelte-x18sz2 → a` 👍👍\n- **compressCssVariables** – turns every CSS variable into `--a`, `--b`, `--c`...\n- **convertOklabToHex** – rewrites bulky OKLab values to short hex (3-digit when possible)\n- **stripErrorMessages** – nukes error messages because who needs to debug, amirite\n- **extraTerseHtml** – extra-aggressive HTML minification (Astro islands are spared... mostly)\n- **leStupid** – commits semantic crimes by shortening well established syntax with Regular Expressions.\n- **extraTerse** – more rounds of unsafe JS minification\n- **compressFileNames** – renames every JS and CSS file to `a.js`, `b.css`, `c.js`, etc.\n\nAll of these are enabled by default, so you’ll need to opt out in the plugin options if something breaks. And trust me, \u003ci style=\"font-size:1.2rem\"\u003eit will\u003c/i\u003e.\n\nMinification fails and you ship a broken site? — haha whoops 🐈\n\n---\n\n### Installation\n\n⚠️ Don’t.\n\nBut if you want anyways:\n\n```sh\nbun add -d github:eye-wave/i-am-a-surgeon\n```\n\n~~Oh, and if you’re not using **Bun** or a **Unix-based OS**, this won’t work 😸~~\n\nIt **should** be crossplatform and work on node, but i haven't tested yet 🙀.\n\n---\n\n### 🧾 License\n\nLicensed under the **GNU General Public License v3.0 (GPL-3.0)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feye-wave%2Fi-am-a-surgeon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feye-wave%2Fi-am-a-surgeon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feye-wave%2Fi-am-a-surgeon/lists"}