Skip to main content

code multiplexer

Project description

codemp

Actions Status docs.rs Status Crates.io Version Gitter Chat GitHub last commit GitHub commits since tagged version

codemp is a collaborative text editing solution to work remotely.

It seamlessly integrates in your editor providing remote cursors and instant text synchronization, as well as a remote virtual workspace for you and your team.

codemp is build with state-of-the-art CRDT technology, guaranteeing eventual consistency.

This means that all agents are guaranteed to converge to a consistent state once all changes are received, no matter their order or timing, while preserving each operation's original intention. On top of this baseline, codemp's protocol is optimized for speed and low network footprint, meaning even slow connections or dated hardware can provide stable real-time editing.

The full documentation is available on docs.rs.

Usage

codemp is primarily used as a plugin in your editor of choice.

Installation

[!IMPORTANT] The editor plugins are in active development. Expect frequent changes.

codemp is available as a plugin for a growing number of text editors. Currently we support:

Registration

The codemp protocol is openly available and servers may be freely developed with it.

A reference instance is provided by hexed.technology at code.mp. You may create an account for it here. During the initial closed beta, registrations will require an invite code. Get in contact if interested.

An open beta is going to follow with free access to a single workspace per user. After such period, code.mp will switch to a subscription-based model.

Development

This is the main client library for codemp. It provides a batteries-included fully-featured Client, managed by the library itself, and exposes a number of functions to interact with it. The host program can obtain a Client handle by connecting, and from that reference can retrieve every other necessary component.

codemp is primarily a rlib and can be used as such, but is also available in other languages via FFI.

Adding a dependency on codemp is easy:

From Rust

Just cargo add codemp and check the docs for some examples.

From supported languages

We provide first-class bindings for these other programming languages:

Build Status Package Build Instructions
JavaScript JavaScript Build NPM Version README
Python Python Build PyPI Version README
Java Java Build Maven Central Version README
Lua Lua Build LuaRocks Version README

As a design philosophy, our binding APIs attempt to perfectly mimic their Rust counterparts, so the main documentation can still be referenced as source of truth. Refer to specific language documentation for specifics, differences and quirks.

From other languages

[!IMPORTANT] The common C bindings are not available yet!

Any other language with C FFI capabilities will be able to use codemp via its bare C bindings. This may be more complex and may require wrapping the native calls underneath.

Get in Touch

We love to hear back from users! Be it to give feedback, propose new features or highlight bugs, don't hesitate to reach out!

Contacts

We have a public Gitter room available on gitter.im/hexedtech/codemp. It's possible to freely browse the room history, but to send new messages it will be necessary to sign in with your GitHub account.

If you have a Matrix account, you can join the gitter room directly at #hexedtech_codemp:gitter.im

Contributing

If you find bugs or would like to see new features implemented, be sure to open an issue on this repository.

In case you wish to contribute code, that's great! We love external contributions, feel free to open a PR!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemp-0.8.2.tar.gz (76.3 kB view details)

Uploaded Source

Built Distributions

codemp-0.8.2-cp38-none-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.8 Windows x86-64

codemp-0.8.2-cp38-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.8+ Windows x86-64

codemp-0.8.2-cp38-abi3-manylinux_2_34_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.34+ x86-64

codemp-0.8.2-cp38-abi3-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

File details

Details for the file codemp-0.8.2.tar.gz.

File metadata

  • Download URL: codemp-0.8.2.tar.gz
  • Upload date:
  • Size: 76.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for codemp-0.8.2.tar.gz
Algorithm Hash digest
SHA256 b9dd515bcc7b354c787bc5b4b32b9adb70d71f700afe98604c1feac3d63185fd
MD5 f02dedbed6933545d3ce02fe32fca220
BLAKE2b-256 6e012e91b23710146acd909f3573e8f9dbf6d26fe0cceb226192391d938b3992

See more details on using hashes here.

File details

Details for the file codemp-0.8.2-cp38-none-win_amd64.whl.

File metadata

  • Download URL: codemp-0.8.2-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for codemp-0.8.2-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 0ff1c3d978c1e0f858a14a5fbac786fce697da5943862b4f34541f0e3f882f56
MD5 2c53865eff8c07eac40a54f111e65ea4
BLAKE2b-256 63eb1b7a9bfb6c2d1c328bf74ffec56e96c11432354a901a8be855bcc1820ef3

See more details on using hashes here.

File details

Details for the file codemp-0.8.2-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: codemp-0.8.2-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for codemp-0.8.2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b289899b0f751ad5a72a8394e9db000a4201a21a74debb690ac850b886e296fb
MD5 5ae185607d2a91409a957b473477d6ba
BLAKE2b-256 12d97411d7e40de140e347bcdfc18c943187dac89ac3009c3deca70b30f6cc9d

See more details on using hashes here.

File details

Details for the file codemp-0.8.2-cp38-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for codemp-0.8.2-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c7ccadcaf0379c5516910d623f92dbdd4690cfbbede94ba27f353fc014045787
MD5 6f89a03be0ccd0e9194dfc9c68590a9a
BLAKE2b-256 fe4a4e7c78c2d04db612651f3cf6fa0724f51b459463aad2d70e9c1c2febce7e

See more details on using hashes here.

File details

Details for the file codemp-0.8.2-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for codemp-0.8.2-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7fbfbbaf0c540ca2d6b3882f62d5dac406b9ae5ffd91fd7da60569bb0a126147
MD5 7def927cdfffaecb0ca2d80acb30507e
BLAKE2b-256 8e2edb277917e44f292c7ae6f1a62e684ce84ceecca681ddcf15cf97a603f1ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page