{"id":20903307,"url":"https://github.com/qwikdev/partytown","last_synced_at":"2025-05-14T13:02:35.983Z","repository":{"id":37611011,"uuid":"398349583","full_name":"QwikDev/partytown","owner":"QwikDev","description":"Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉","archived":false,"fork":false,"pushed_at":"2025-02-15T13:33:12.000Z","size":21857,"stargazers_count":13313,"open_issues_count":71,"forks_count":442,"subscribers_count":62,"default_branch":"main","last_synced_at":"2025-05-05T00:00:03.374Z","etag":null,"topics":["3rd-party","3rdparty","analytics","core-web-vitals","dom","javascript","lighthouse","lighthouse-score","performance","web-worker","webworker"],"latest_commit_sha":null,"homepage":"https://partytown.qwik.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QwikDev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-08-20T17:12:55.000Z","updated_at":"2025-05-03T17:51:19.000Z","dependencies_parsed_at":"2022-07-10T02:46:07.728Z","dependency_job_id":"3da34aac-5832-4c15-8f7c-c29a79bae685","html_url":"https://github.com/QwikDev/partytown","commit_stats":{"total_commits":886,"total_committers":120,"mean_commits":7.383333333333334,"dds":"0.25395033860045146","last_synced_commit":"6d71878dd8c3a995d944e5bd5eee4b3cf4921821"},"previous_names":["qwikdev/partytown","builderio/partytown"],"tags_count":81,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QwikDev%2Fpartytown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QwikDev%2Fpartytown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QwikDev%2Fpartytown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QwikDev%2Fpartytown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QwikDev","download_url":"https://codeload.github.com/QwikDev/partytown/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252777197,"owners_count":21802558,"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":["3rd-party","3rdparty","analytics","core-web-vitals","dom","javascript","lighthouse","lighthouse-score","performance","web-worker","webworker"],"created_at":"2024-11-18T13:03:55.915Z","updated_at":"2025-05-06T22:21:05.255Z","avatar_url":"https://github.com/QwikDev.png","language":"TypeScript","readme":"# Partytown 🎉\n\n\u003cimg width=\"838\" alt=\"Partytown github fit 2x\" src=\"https://user-images.githubusercontent.com/452425/134568488-f36f4640-9ada-4a78-a969-2b8315cf7f47.png\"\u003e\n\n- [Introducing Partytown: Run Third-Party Scripts From a Web Worker](https://dev.to/adamdbradley/introducing-partytown-run-third-party-scripts-from-a-web-worker-2cnp)\n- [How Partytown's Sync Communication Works](https://dev.to/adamdbradley/how-partytown-s-sync-communication-works-4244)\n- [How we cut 99% of our JavaScript with Qwik + Partytown](https://www.builder.io/blog/how-we-cut-99-percent-js-with-qwik-and-partytown)\n- [Partytown is now in Beta](https://www.builder.io/blog/partytown-is-now-in-beta)\n\n\u003e A fun location for your third-party scripts to hang out\n\nPartytown is a lazy-loaded library to help relocate resource intensive scripts into a [web worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API), and off of the [main thread](https://developer.mozilla.org/en-US/docs/Glossary/Main_thread). Its goal is to help speed up sites by dedicating the main thread to your code, and offloading third-party scripts to a web worker.\n\n\u003e Note: Partytown is still in beta and not guaranteed to work in every scenario. Please see our [FAQ](https://partytown.qwik.dev/faq) and [Trade-Off](https://partytown.qwik.dev/trade-offs) sections for more info.\n\nThe philosophy is that the main thread should be dedicated to your code, and any scripts that are not required to be in the [critical path](https://developers.google.com/web/fundamentals/performance/critical-rendering-path) should be moved to a web worker. Main thread performance is, without question, more important than web worker thread performance.\n\n- [Getting Started](https://partytown.qwik.dev/getting-started)\n- [Integrations](https://partytown.qwik.dev/integrations)\n- [Configuration](https://partytown.qwik.dev/configuration)\n- [Releases](https://github.com/BuilderIO/partytown/releases)\n- [FAQs](https://partytown.qwik.dev/faq)\n\n![Without Partytown and With Partytown: Your code and third-party code compete for main thread resources](https://user-images.githubusercontent.com/452425/152393346-6f721a4f-3f66-410a-8878-a2b49e24307f.png)\n\n## Community\n\n- [@QwikDev](https://twitter.com/QwikDev)\n- [@Builderio](https://twitter.com/builderio)\n- [Local Development](https://github.com/BuilderIO/partytown/blob/main/CONTRIBUTING.md#local-development)\n- [For Plugin Authors / Developers](https://github.com/BuilderIO/partytown/blob/main/CONTRIBUTING.md#plugin-authors-developers)\n\n## Related Projects\n\n- [Qwik](https://github.com/BuilderIO/qwik): An open-source framework designed for best possible time to interactive, by focusing on resumability of server-side-rendering of HTML, and fine-grained lazy-loading of code.\n- [Mitosis](https://github.com/BuilderIO/mitosis): Write components once, run everywhere. Compiles to Vue, React, Solid, Angular, Svelte, and more.\n- [Builder](https://github.com/BuilderIO/builder): Drag and drop page builder and CMS for React, Vue, Angular, and more.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://www.builder.io/m/developers\"\u003e\n      \u003cpicture\u003e\n         \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://user-images.githubusercontent.com/844291/230786554-eb225eeb-2f6b-4286-b8c2-535b1131744a.png\"\u003e\n         \u003cimg width=\"250\" alt=\"Made with love by Builder.io\" src=\"https://user-images.githubusercontent.com/844291/230786555-a58479e4-75f3-4222-a6eb-74c5af953eac.png\"\u003e\n       \u003c/picture\u003e\n   \u003c/a\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwikdev%2Fpartytown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqwikdev%2Fpartytown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwikdev%2Fpartytown/lists"}