https://github.com/n0-computer/imsg
A base protocol providing streams of messages
https://github.com/n0-computer/imsg
Last synced: about 2 months ago
JSON representation
A base protocol providing streams of messages
- Host: GitHub
- URL: https://github.com/n0-computer/imsg
- Owner: n0-computer
- License: apache-2.0
- Created: 2025-07-24T08:52:29.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-08-22T16:00:00.000Z (2 months ago)
- Last Synced: 2025-08-22T18:47:45.303Z (2 months ago)
- Language: Rust
- Size: 136 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-iroh - imsg - A base protocol providing streams of messages. (Libraries and protocols)
README
# iroh messages
A base protocol providing streams of messages.
The purpose of imsg is to be a building block for your own protocol.
It simplifies handling a full-blown QUIC connection with all its
subtelties into having a protocol which sends and receives messages.
The short summary of the features is:
- Always send and receive an entire message, as a `Bytes` object.
- Either side can send the first message.
- When closing a connection, it is easy to reason about which message
may be lost.
## Work In Progress
This is currently highly experimental and more a prototype under
development.
## License
Copyright 2025 N0, INC.
This project is licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
http://opensource.org/licenses/MIT)
at your option.
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.