🎉 Published on crates.io

Lamco Open Source

Rust Crates for Network Infrastructure

Production-grade open source libraries: NetKit for WiFi analysis (Kotlin) and RDP/Wayland infrastructure (Rust). Battle-tested foundations for your projects.

7 published Rust crates • 1,831+ total downloads • NetKit: Apache 2.0 • Rust Crates: MIT OR Apache-2.0

NOW ON MAVEN CENTRAL

NetKit: Kotlin Network Analysis Libraries

Professional WiFi analysis and network diagnostics libraries for Kotlin Multiplatform

Package Information

  • Package: io.lamco.netkit:*
  • Version: 1.0.1 (Dec 18, 2025)
  • License: Apache 2.0
  • Platforms: Android 7.0+, JVM, KMP-ready

Quality Metrics

  • 3,561+ automated tests
  • 92% code coverage
  • 100% KDoc documentation
  • GPG-signed releases

7 Modular Libraries:

core

analytics

diagnostics

export

intelligence

security

wifi-optimizer

RUST INFRASTRUCTURE

RDP/Wayland: The Infrastructure We Needed Didn't Exist

When building RDP server solutions for Linux, we hit a wall. Wayland screen capture required navigating DBus, XDG Portals, and PipeWire - all with complex C APIs and unsafe FFI bindings. RDP protocol implementation meant parsing thousands of pages of Microsoft specifications.

We found no production-ready Rust libraries. Incomplete examples in blog posts. Unsafe FFI wrappers. Platform-specific hacks that break across compositors.

So we built it ourselves. Memory-safe Rust. Async-first APIs. Battle-tested in production. Now we're releasing it as open source - the Rust infrastructure toolkit that should have existed all along.

Seven Crates. Complete Infrastructure.

From Wayland integration to RDP protocol - everything you need to build remote desktop solutions

🌐

lamco-portal

v0.3.2 359 downloads

XDG Desktop Portal Integration for Wayland

Screen capture session management with multi-compositor support (GNOME, KDE, Sway). Handles Portal lifecycle, token management, and compositor-specific quirks. Async Rust APIs with Send + Sync guarantees.

Multi-compositor compatibility
Async session management
~2ms portal negotiation latency
Auto-reconnection on compositor restart
🎬

lamco-pipewire

v0.3.1 400 downloads

PipeWire Screen Capture with Proper Memory Management

Zero-copy frame capture when possible. DMA-BUF and memory-mapped buffer support. Multi-stream coordination with hardware cursor extraction. Memory-safe abstractions over PipeWire's C API.

DMA-BUF zero-copy support
Memory-safe frame handling
Hardware cursor extraction
Multi-stream coordination
📹

lamco-video

v0.1.4 260 downloads

Video Frame Processing for Remote Desktop Protocols

Frame rate limiting and quality control for smooth streaming. Damage region tracking to minimize bandwidth. Multi-stream dispatch for concurrent sessions. Optimized for RDP, VNC, and custom protocols.

Adaptive frame rate limiting
Damage region optimization
Quality control algorithms
Multi-stream dispatch
📋

lamco-rdp-clipboard

v0.2.2 116 downloads

RDP Clipboard Protocol with Loop Prevention

Bidirectional clipboard synchronization between client and server. File transfer support with format negotiation. Loop prevention for clipboard echo issues. Standards-compliant MS-RDPECLIP implementation.

Bidirectional sync
File transfer support
Loop prevention logic
Format negotiation
⌨️

lamco-rdp-input

v0.1.2 199 downloads

Keyboard and Mouse Event Handling for RDP

Input translation and injection for remote desktop sessions. Multi-monitor coordinate mapping. Keyboard scancode translation. Mouse button and wheel event handling. Compatible with Windows RDP clients.

Input translation
Multi-monitor coordinate mapping
Scancode translation
Event injection
🔗

lamco-rdp

v0.5.1 214 downloads

Core RDP Utilities and Protocol Types

Foundational RDP protocol types, utilities, and shared abstractions used across all lamco RDP crates. Provides protocol message definitions, session state management, and common infrastructure for RDP server implementations.

RDP protocol types
Session state management
Shared infrastructure
Common abstractions
🖥️

lamco-wayland

v0.2.8 283 downloads

Wayland Protocol Bindings and Helpers

Wayland protocol bindings, compositor detection, and helper utilities for interacting with Wayland compositors. Provides wlr-direct protocol support for zero-dialog screen capture and input injection on wlroots-based compositors.

Compositor detection
wlr-direct protocols
Protocol bindings
Multi-compositor support
STANDALONE PROJECT

xdg-desktop-portal-generic

A Generic Portal Backend for Wayland Compositors

A portal backend daemon that brings XDG Desktop Portal support to any Wayland compositor implementing standard ext- or wlr- protocols. Enables sandboxed applications (Flatpak, Snap) to use screen capture, input injection, clipboard, and screenshots on compositors that do not ship their own portal backend.

v0.2.1 MIT / Apache-2.0 Built in Rust Zero unsafe code

Supported Portals

RemoteDesktop v2
ScreenCast v5
Clipboard v1
Settings v2
Screenshot v2

Designed For

COSMIC Niri Jay Smithay-based compositors

Who Are These Crates For?

From remote desktop applications to screen recording tools - Rust infrastructure for everyone

RUST DEVELOPERS

Stop Fighting With FFI.

Memory-Safe. Async-First. Tested.

Building remote desktop solutions? Screen recording apps? Use production-tested Rust crates instead of wrestling with unsafe C bindings.

  • Zero unsafe blocks in public APIs
  • Async Rust with Tokio
  • 10,000+ hours production runtime
RDP / VNC BUILDERS

Build Better Remote Desktop.

Protocol-Ready. Production-Tested.

Implementing RDP or VNC server? These crates handle Wayland capture, clipboard sync, and input injection so you can focus on your protocol.

  • Used in Lamco RDP Server
  • Complete RDP clipboard implementation
  • Multi-compositor Wayland support
SCREEN RECORDING APPS

Capture Screens. Any Compositor.

Cross-Compositor. Zero-Copy When Possible.

Building screen recorders, streaming tools, or video conferencing? Get reliable Wayland capture across GNOME, KDE, and Sway.

  • DMA-BUF support for efficiency
  • Hardware cursor extraction
  • Frame rate control built-in
PROOF OF CONCEPT

See These Crates in Action

Our commercial RDP products are built entirely on these open source crates. Every frame captured, every clipboard sync, every input event - powered by lamco-* libraries.

Lamco RDP Server

Community Edition (Flatpak/Snap) free to use. Native packages free for single-server and non-profit use. Professional Windows Remote Desktop for Linux.

Uses: lamco-portal + lamco-pipewire
Uses: lamco-rdp-clipboard + lamco-rdp-input
Learn More →

Lamco VDI

Enterprise virtual desktop infrastructure for cloud deployments.

Uses: All lamco-* crates
Multi-tenant, headless Wayland
Learn More →

Commercial products fund open source development. When we improve our commercial offerings, the crates improve. When the community contributes, our products benefit.

Open Source. No Strings Attached.

MIT OR Apache-2.0

Use these crates in any project - personal, commercial, proprietary, or open source. Dual licensed for maximum compatibility.

Commercial use allowed
No attribution required
Modification & redistribution permitted

Contributions Welcome

Found a bug? Have a feature idea? We welcome contributions. These crates improve when the community improves them.

Issues reviewed within 48 hours
Contributors highlighted in releases
Full CONTRIBUTING.md available

Ready to Build?

Add these crates to your Rust project and start building better remote desktop solutions today.

Questions? Email greg@lamco.io or open an issue on GitHub