qwikdev/partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉

View on GitHub ↗Jump to charts ↓Open shareable report →

Summary Information

Updated 19 minutes ago
Added to GitGenius on September 4th, 2026
Created on August 20th, 2021
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 452
Total Stargazers: 13,768 (+0)
Total Subscribers: 62 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 1
Closed in 7 days: 1
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 1
Events in 7 days: 4

Top labels

  • stale (87)
  • bug (84)
  • enhancement (18)
  • documentation (9)
  • help wanted (9)
  • needs reproduction (9)
  • good first issue (5)

Detailed Description

Partytown is a lazy-loaded library that relocates resource-intensive third-party scripts from the main thread into a web worker.

The core problem Partytown solves is main thread contention caused by third-party scripts like analytics, advertising, and monitoring tools that compete with your application code for processing resources. The tool works by intercepting third-party scripts and running them in a web worker instead, freeing the main thread to handle your own code and critical rendering tasks. It uses synchronous communication between the main thread and worker to maintain compatibility with scripts that expect immediate DOM access, while prioritizing main thread performance over worker thread performance.

Partytown suits projects where third-party scripts are not part of the critical rendering path and where improving Core Web Vitals and Lighthouse scores matters. It works best when you can identify non-essential third-party code that can be safely deferred. The tool is still in beta, so adoption should account for the possibility that not every third-party script will work in every scenario. The README directs users to its FAQ and trade-offs documentation for understanding limitations before committing to integration.

The project maintains active engagement with its community through documentation and contribution guidelines. Development includes support for multiple integration paths and configuration options to accommodate different use cases. The tool provides resources for both end users getting started and plugin authors extending its capabilities.