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 everyone is guaranteed to converge to a consistent state once all changes are received no matter the order or the timing due to unreliable networks or constrained resources. And similarly, your changes will always carry their original intention. On top of this baseline, codemp's protocol is optimized for speed and low network footprint, meaning even slow connections 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.7.3.tar.gz (73.6 kB view details)

Uploaded Source

Built Distributions

codemp-0.7.3-cp38-none-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.8 Windows x86-64

codemp-0.7.3-cp38-abi3-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.8+ Windows x86-64

codemp-0.7.3-cp38-abi3-manylinux_2_34_x86_64.whl (2.1 MB view details)

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

codemp-0.7.3-cp38-abi3-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for codemp-0.7.3.tar.gz
Algorithm Hash digest
SHA256 29ec47019a1982e3ec0ddb9bc4aba35cd765ff1829a20900ad54eecd27e02d9a
MD5 5246b93c283ba92683a978fa44df6ac2
BLAKE2b-256 eb8ae945af23574c6140e56425450a34e74c9910dcf14a70829c66bae6a6508e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codemp-0.7.3-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.7.3-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 c9be0462b8171c4d37236cb26503d7402845d6e8733d50b85c8cef115fcf7db3
MD5 3a83289a412b003db29c3d0620ba7f12
BLAKE2b-256 e9b4386041f568a294e18950f622bd7acdec6fe69cbd4825924ab940d9dea3a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codemp-0.7.3-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.7.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 01beee35cfdde431530ae940679d1a4b0d8d7b6fee4267634e45079bdc7ccedc
MD5 fd873ca0ac3935dad65711bc560a61d4
BLAKE2b-256 5661d28e40b600aaf42fe2569ba0e2a505be64d2a31cb899aa3b05f9b5dbf497

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for codemp-0.7.3-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3b1de37424d62cd39eb9ea47a827009df1deafa145ec714df2621193923ea078
MD5 4346fe322117b51be497dea21c7e2a45
BLAKE2b-256 3f651a0099e31c7bb4c28b82ec3ffde034cb1e66f83c4537fa7d4a128b10ce59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for codemp-0.7.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b72916bd282e17e585b4f1f9001f9dc136cd565d84ac2b0222f12f323346db1
MD5 169ce9be9e4af840a347eeb5d52b805b
BLAKE2b-256 325baac08fa4cc66fe27db03f4fdd266389e147c796183ebf25eae6f8a07b469

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