P
Petal
Open Source๐ Alt to CoScreenOpen-source collaborative screen sharing for remote engineering teams
๐ณ Self-Hostableโก Editorial Signal: 81/100โ
213 Stars
git clone https://github.com/petal-live/petal.gitPetal is an open-source collaborative screen-sharing tool that revives the beloved multi-user pointer and control experience of ScreenHero and CoScreen. It enables multiple developers to simultaneously view, control, and interact with the same screen with ultra-low latency.
Allow multiple participants to take control and type simultaneously on a single shared screen.
Engineered for real-time responsiveness essential for live coding and pair programming sessions.
Fully auditable codebase allowing teams to self-host and maintain total privacy over their sessions.
Conducting remote pair programming sessions with simultaneous cursor control
Collaborative debugging of complex production incidents across distributed team members
Onboarding junior developers through interactive, hands-on code reviews
Unlike proprietary alternatives like CoScreen, Petal gives teams complete freedom over their infrastructure through open-source code and self-hosting options.
Distributed software engineering teams and open-source maintainers who need high-performance, interactive pair programming tools.
Petal is engineered to eliminate critical operational friction in open source alternatives. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
Petal represents the open-source resurrection of deep multi-user screen collaboration, developed by alumni of the original CoScreen team following Datadog's sunsetting of the commercial service. Unlike standard conferencing platforms (such as Zoom, Google Meet, or Slack Huddles) that compress an entire desktop into a single 16:9 video stream, Petal captures and streams individual application windows as independent desktop entities. At the operating system layer, Petal hooks into native capture APIs: Apple ScreenCaptureKit on macOS, PipeWire and X11 on Linux, and the Desktop Duplication API on Windows. Video frames are encoded via hardware-accelerated H.264, VP9, or AV1 codecs and transmitted through a low-latency WebRTC pipeline orchestrated by an open-source LiveKit Selective Forwarding Unit (SFU) media server. Network transport utilizes UDP with adaptive bitrate control, maintaining glass-to-glass latency below fifty milliseconds on local networks and under one hundred milliseconds across continental links. Input collaboration is managed via a dedicated WebRTC DataChannel that transmits serialized mouse pointer vectors and keyboard scancodes. Operating-system-level virtual input drivers inject simulated events concurrently, supporting multi-user cursor virtualization with distinct participant identity tags without stealing primary window focus or blocking the host developer's active desktop event queue.
The developer experience of Petal mirrors the natural ergonomics of working together on physical workstations. Shared application windows from remote teammates appear on the local desktop as floating, resizable, native OS windows that blend seamlessly with local development environments. Developers interact directly with remote terminals, IDEs, and browser debuggers using their own keyboards and mice. The client natively manages multi-monitor setups, high-DPI retina display scaling, and dynamic international keyboard layouts. Multi-user cursor tracking displays named, color-coded participant cursors, providing immediate spatial awareness during complex pairing sessions. Security and privacy ergonomics are meticulously designed: Petal never exposes unshared background windows, desktop wallpapers, or private notification toasts. Sharing is toggled at the discrete window level with a single click on a native window tab overlay. Remote control capabilities require explicit peer authorization through interactive desktop prompts, and host developers retain immediate emergency input revocation via global keyboard overrides or mouse movement preemption. For automated team workflows, Petal exposes clean local WebSocket control hooks and CLI commands to initiate ad-hoc pairing rooms, invite team members via secure cryptographic tokens, and manage media device configurations programmatically.
Petal is released under a permissive open-source license (Apache 2.0 / MIT), granting distributed engineering teams permanent immunity from commercial software acquisitions, sudden vendor sunsets, and per-seat SaaS subscription pricing models (which historically charged fifteen to thirty dollars per user monthly for commercial pairing suites). From an infrastructure total cost of ownership standpoint, Petal can be operated on free public signaling infrastructure or self-hosted entirely on internal infrastructure. A single ten-dollar-per-month cloud virtual machine (such as a 4-vCPU instance on Hetzner or DigitalOcean) running the containerized LiveKit SFU media server and a Coturn STUN/TURN daemon comfortably handles dozens of concurrent active pairing sessions. Client resource consumption is remarkably lightweight: native Rust and C++ capture and rendering engines consume fewer than one hundred and eighty megabytes of RAM per client, leveraging GPU video acceleration to maintain CPU utilization below five percent. Network bandwidth scales dynamically based on screen activity; static application windows generate near-zero delta frames (consuming less than twenty kilobits per second), while high-motion code scrolling reaches one to three megabits per second. Self-hosting guarantees that proprietary codebases and internal screens never transit third-party cloud infrastructure.
Petal receives our highest production recommendation for distributed engineering teams, remote pair programming, real-time code reviews, and critical incident response war rooms. It renders generic video conferencing screen-sharing obsolete by restoring true interactive multi-cursor collaboration without vendor lock-in. Distributed software squads, open-source maintainers, and developer mentorship programs should adopt Petal as their primary collaborative pairing utility. Production deployment guidance requires establishing a self-hosted LiveKit SFU instance paired with Coturn relay servers configured on ports 3478 and 5349 to facilitate reliable NAT traversal across restrictive corporate VPNs and enterprise firewalls. Split-tunneling rules should be provisioned to route WebRTC media traffic efficiently. On developer workstations, administrators must verify that OS-level accessibility and screen-recording permissions are granted to the Petal binary (specifically within macOS System Settings Privacy & Security). Edge-case failure modes involve Wayland compositor compatibility under specific Linux distributions, which requires ensuring PipeWire and xdg-desktop-portal services are active. By decentralizing collaboration infrastructure and eliminating SaaS subscription overhead, Petal redefines how modern distributed engineering teams pair, review code, and debug complex production systems. For distributed development teams seeking the gold standard in collaborative pairing, Petal delivers an exceptional, resilient, and enterprise-viable open-source platform.
Petal is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Unlike proprietary alternatives like CoScreen, Petal gives teams complete freedom over their infrastructure through open-source code and self-hosting options.
Yes. Petal is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
An account registration is standard to provision access credentials, manage configurations, and coordinate team access.
You can launch or test Petal quickly using the following command: git clone https://github.com/petal-live/petal.git Visit the official portal at https://petal.live/ for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of Petal was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of Petal and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/petal)<a href="https://lordorange.top/tool/petal" target="_blank"><img src="https://lordorange.top/badge/petal.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring Petal.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.
Replace sluggish 1970s Unix utilities with blisteringly fast, memory-safe Rust and Go modern CLI powerhouses.