{"id":36400184,"url":"https://github.com/lamco-admin/lamco-wayland","last_synced_at":"2026-01-11T16:05:20.017Z","repository":{"id":328822164,"uuid":"1114756444","full_name":"lamco-admin/lamco-wayland","owner":"lamco-admin","description":"Wayland screen capture and XDG Portal integration libraries for Rust","archived":false,"fork":false,"pushed_at":"2025-12-31T22:46:49.000Z","size":277,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-05T10:59:07.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/lamco-admin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-11T20:56:04.000Z","updated_at":"2025-12-31T22:46:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/lamco-admin/lamco-wayland","commit_stats":null,"previous_names":["lamco-admin/lamco-wayland"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lamco-admin/lamco-wayland","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamco-admin%2Flamco-wayland","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamco-admin%2Flamco-wayland/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamco-admin%2Flamco-wayland/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamco-admin%2Flamco-wayland/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lamco-admin","download_url":"https://codeload.github.com/lamco-admin/lamco-wayland/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamco-admin%2Flamco-wayland/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28312488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-11T16:05:19.918Z","updated_at":"2026-01-11T16:05:20.013Z","avatar_url":"https://github.com/lamco-admin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lamco Wayland Libraries\n\nRust libraries for Wayland screen capture, XDG Portal integration, and video processing.\n\n[![Crates.io](https://img.shields.io/crates/v/lamco-wayland.svg)](https://crates.io/crates/lamco-wayland)\n[![Documentation](https://docs.rs/lamco-wayland/badge.svg)](https://docs.rs/lamco-wayland)\n[![CI](https://github.com/lamco-admin/lamco-wayland/actions/workflows/ci.yml/badge.svg)](https://github.com/lamco-admin/lamco-wayland/actions/workflows/ci.yml)\n[![License](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)](README.md#license)\n\n## Crates\n\n| Crate | Version | Description |\n|-------|---------|-------------|\n| [lamco-wayland](https://crates.io/crates/lamco-wayland) | [![Crates.io](https://img.shields.io/crates/v/lamco-wayland.svg)](https://crates.io/crates/lamco-wayland) | Meta-crate with all libraries |\n| [lamco-portal](https://crates.io/crates/lamco-portal) | [![Crates.io](https://img.shields.io/crates/v/lamco-portal.svg)](https://crates.io/crates/lamco-portal) | XDG Desktop Portal integration |\n| [lamco-pipewire](https://crates.io/crates/lamco-pipewire) | [![Crates.io](https://img.shields.io/crates/v/lamco-pipewire.svg)](https://crates.io/crates/lamco-pipewire) | PipeWire screen capture |\n| [lamco-video](https://crates.io/crates/lamco-video) | [![Crates.io](https://img.shields.io/crates/v/lamco-video.svg)](https://crates.io/crates/lamco-video) | Video processing \u0026 RDP bitmap conversion |\n\n## Quick Start\n\n```toml\n[dependencies]\n# Use everything\nlamco-wayland = \"0.1\"\n\n# Or select what you need\nlamco-wayland = { version = \"0.1\", default-features = false, features = [\"portal\"] }\n```\n\n```rust\nuse lamco_wayland::prelude::*;\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    // Create portal manager\n    let manager = PortalManager::with_default().await?;\n\n    // Create session (triggers permission dialog)\n    let session = manager.create_session(\"my-session\".to_string(), None).await?;\n\n    // Access PipeWire for video capture\n    let fd = session.pipewire_fd();\n    let streams = session.streams();\n\n    println!(\"Capturing {} streams on PipeWire FD {}\", streams.len(), fd);\n\n    Ok(())\n}\n```\n\n## Features\n\n| Feature | Default | Description |\n|---------|---------|-------------|\n| `portal` | Yes | XDG Desktop Portal integration |\n| `pipewire` | Yes | PipeWire screen capture |\n| `video` | Yes | Video frame processing |\n| `full` | No | All features from all sub-crates |\n\n## Use Cases\n\n- **RDP servers** - Lamco RDP Server, custom implementations\n- **VNC servers** - Wayland support for VNC\n- **Screen recording tools** - Capture Wayland displays\n- **Video conferencing** - Screen sharing applications\n- **Computer vision** - Process Wayland screen content\n- **Accessibility tools** - Screen readers, automation\n\n## Requirements\n\n- **Wayland compositor** - GNOME, KDE Plasma, Sway, etc.\n- **xdg-desktop-portal** - Desktop Portal implementation\n- **PipeWire** - For video streaming (lamco-pipewire only)\n\nNot compatible with X11 - Wayland only.\n\n## Architecture\n\n```text\n┌─────────────────────────────────────────────────────────────────┐\n│                        lamco-wayland                            │\n├─────────────────┬─────────────────────┬─────────────────────────┤\n│   lamco-portal  │   lamco-pipewire    │      lamco-video        │\n│                 │                     │                         │\n│  PortalManager  │  PipeWireManager    │  BitmapConverter        │\n│  SessionHandle  │  VideoFrame         │  FrameProcessor         │\n│  PortalConfig   │  PipeWireConfig     │  FrameDispatcher        │\n└────────┬────────┴──────────┬──────────┴────────────┬────────────┘\n         │                   │                       │\n         ▼                   ▼                       ▼\n   XDG Desktop Portal   PipeWire API            RDP Bitmap Format\n```\n\n## Platform Support\n\n| Compositor | Status | Backend |\n|------------|--------|---------|\n| GNOME | ✅ Tested | xdg-desktop-portal-gnome |\n| KDE Plasma | ✅ Tested | xdg-desktop-portal-kde |\n| Sway / wlroots | ✅ Tested | xdg-desktop-portal-wlr |\n| Hyprland | ⚠️ Should work | xdg-desktop-portal-hyprland |\n| Other Wayland | ⚠️ May work | Depends on portal backend |\n| X11 | ❌ Not supported | Wayland only |\n\n## Development\n\n```bash\n# Clone repository\ngit clone https://github.com/lamco-admin/lamco-wayland.git\ncd lamco-wayland\n\n# Build all crates\ncargo build --workspace\n\n# Run tests\ncargo test --workspace\n\n# Build documentation\ncargo doc --no-deps --workspace --open\n```\n\n## About\n\nThese libraries are extracted from the [Lamco RDP Server](https://lamco.ai) project but designed for general use. They work with any Wayland compositor and are not RDP-specific.\n\nBuilt with production-tested code from real-world remote desktop deployment.\n\n## License\n\nLicensed under either of:\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n\n## Links\n\n- [Documentation](https://docs.rs/lamco-wayland)\n- [Crates.io](https://crates.io/crates/lamco-wayland)\n- [GitHub](https://github.com/lamco-admin/lamco-wayland)\n- [Lamco RDP Server](https://lamco.ai)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamco-admin%2Flamco-wayland","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamco-admin%2Flamco-wayland","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamco-admin%2Flamco-wayland/lists"}