Skip to content

About

Shared wire protocol (relay ↔ app) for Pulsar — bincode messages. GPLv3.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

pulsar-proto: the language Pulsar devices speak

The language Pulsar devices speak.

One small Rust crate that defines every message between the Pulsar apps and the relay server,
so the apps and the server always understand each other.

Version CI Stars Made with Rust License: GPLv3

Tip

Looking for the app? This is a library for developers. To use Pulsar, get Pulsar Desktop (Windows, macOS, Linux) or Pulsar Mobile (Android), or Pulsar for PS5 (a jailbroken PS5).

📨 Where it fits

Pulsar Desktop and Pulsar Mobile run on pulsar-core, which uses pulsar-proto to talk to the relay and to other devices

pulsar-core (inside both apps) and the relay both build on this crate. One shared definition means they can never disagree about what a message looks like.

💬 What it describes

🪪 Who you are

Device IDs, registering with a relay, and the optional relay password and two-factor check.

🤝 Finding each other

Asking the relay for a device, swapping addresses, and punching a direct path between two devices.

🔁 Passing it on

Forwarding already-encrypted traffic when no direct path exists. The relay never sees what's inside.

Messages are compact binary (bincode) and carry a protocol version, so a relay can turn away an app that is too old instead of misreading it.

🛠️ Use it

git clone https://github.com/PulsarDesk/pulsar-proto.git
cd pulsar-proto
cargo test
[dependencies]
pulsar-proto = { git = "https://github.com/PulsarDesk/pulsar-proto" }

Pulsar is in alpha (0.x). Any change to a message is a protocol version bump across the relay, pulsar-core and both apps.

🐞 Reporting a bug

Found a problem while using Pulsar? Report it in the app's repository (desktop or mobile), or in the relay if it's about your own server.

🌌 The Pulsar family

Project
🖥️ Pulsar Desktop Pulsar for Windows, macOS and Linux
📱 Pulsar Mobile Pulsar for Android phones, tablets and TVs
🎮 Pulsar for PS5 Pulsar on a jailbroken PS5, as a client and a host (TVs planned)
🛰️ Pulsar Relay Run your own Pulsar server
🧩 pulsar-core The shared engine behind both apps

🤝 Contributing

Everyone is welcome to open issues and pull requests. Irrelevant or abusive issues may be closed or removed. Commits follow Conventional Commits.

📄 License

Pulsar is free software under the GNU GPLv3 or later (GPL-3.0-or-later). See LICENSE.


Like Pulsar? A ⭐ helps other people find it.

About

Shared wire protocol (relay ↔ app) for Pulsar — bincode messages. GPLv3.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages