chore: codemp.dev -> code.mp

Former-commit-id: f791da84ee439ec196efdd0e947e1d6a52d76b98
This commit is contained in:
cschen 2024-09-07 22:21:20 +02:00
parent b308bb3b21
commit b830f9ef13
4 changed files with 11 additions and 8 deletions

View file

@ -25,7 +25,7 @@
"caption": "Codemp: Connect", "caption": "Codemp: Connect",
"command": "codemp_connect", "command": "codemp_connect",
"args": { "args": {
"server_host": "http://codemp.dev:50053", "server_host": "http://code.mp:50053",
} }
}, },
{ {

View file

@ -1,4 +1,4 @@
[![codemp](https://codemp.dev/static/banner.png)](https://codemp.dev) [![codemp](https://code.mp/static/banner.png)](https://code.mp)
> `codemp` is a **collaborative** text editing solution to work remotely. > `codemp` is a **collaborative** text editing solution to work remotely.
@ -8,6 +8,9 @@ as well as a remote virtual workspace for you and your team.
# Codemp-Sublime # Codemp-Sublime
This is the reference [sublime](https://sublimetext.com) plugin for `codemp` maintained by [hexedtech](https://hexed.technology) This is the reference [sublime](https://sublimetext.com) plugin for `codemp` maintained by [hexedtech](https://hexed.technology)
> [!IMPORTANT]
> The plugin is in active development. Expect frequent changes.
# Installation # Installation
## Package Control ## Package Control
The fastest and easiest way to install Codemp is via Package Control, the de-facto package manager for Sublime Text. The fastest and easiest way to install Codemp is via Package Control, the de-facto package manager for Sublime Text.
@ -53,7 +56,7 @@ if not present (either as simple text input or selecting from a list).
| command label | arguments | description | | command label | arguments | description |
| --- | --- | --- | | --- | --- | --- |
| `Codemp: Connect` | `[host]` `[user]` `[password]` | to connect to a `codemp` server specified by `host` (defaults to the reference `http://codemp.dev` hexedtech server). | `Codemp: Connect` | `[host]` `[user]` `[password]` | to connect to a `codemp` server specified by `host` (defaults to the reference `http://code.mp` hexedtech server).
Once connected the following commands will become available: Once connected the following commands will become available:

View file

@ -4,7 +4,7 @@ Version: 0.0.5
Classifier: Programming Language :: Python Classifier: Programming Language :: Python
Summary: code multiplexer Summary: code multiplexer
Keywords: codemp,cooperative,rust,python Keywords: codemp,cooperative,rust,python
Home-Page: https://codemp.dev Home-Page: https://code.mp
Author: alemi <me@alemi.dev>, zaaarf <me@zaaarf.foo>, frelodev <frelodev@gmail.com>, cschen <cschen@codemp.dev> Author: alemi <me@alemi.dev>, zaaarf <me@zaaarf.foo>, frelodev <frelodev@gmail.com>, cschen <cschen@codemp.dev>
Author-email: cschen <cschen@codemp.dev>, alemi <me@alemi.dev>, zaaarf <me@zaaarf.foo>, frelodev <frelodev@gmail.com> Author-email: cschen <cschen@codemp.dev>, alemi <me@alemi.dev>, zaaarf <me@zaaarf.foo>, frelodev <frelodev@gmail.com>
Maintainer-email: cschen <cschen@codemp.dev> Maintainer-email: cschen <cschen@codemp.dev>
@ -13,7 +13,7 @@ Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: repository, https://github.com/hexedtech/codemp.git Project-URL: repository, https://github.com/hexedtech/codemp.git
[![codemp](https://codemp.dev/static/banner.png)](https://codemp.dev) [![codemp](https://code.mp/static/banner.png)](https://code.mp)
[![Actions Status](https://github.com/hexedtech/codemp/actions/workflows/ci.yml/badge.svg)](https://github.com/hexedtech/codemp/actions) [![Actions Status](https://github.com/hexedtech/codemp/actions/workflows/ci.yml/badge.svg)](https://github.com/hexedtech/codemp/actions)
[![docs.rs](https://img.shields.io/docsrs/codemp)](https://docs.rs/codemp/0.7.0-beta.2/codemp/) [![docs.rs](https://img.shields.io/docsrs/codemp)](https://docs.rs/codemp/0.7.0-beta.2/codemp/)
@ -53,11 +53,11 @@ The full documentation is available on [docs.rs](https://docs.rs/codemp/0.7.0-be
## Registration ## Registration
The `codemp` protocol is [openly available](https://github.com/hexedtech/codemp-proto/) and servers may be freely developed with it. The `codemp` protocol is [openly available](https://github.com/hexedtech/codemp-proto/) and servers may be freely developed with it.
A reference instance is provided by hexed.technology at [codemp.dev](https://codemp.dev). You may create an account for it [here](https://codemp.dev/register). A reference instance is provided by hexed.technology at [code.mp](https://code.mp). You may create an account for it [here](https://code.mp/register).
During the initial closed beta, registrations will require an invite code. Get in contact if interested. 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. An open beta is going to follow with free access to a single workspace per user.
After such period, [codemp.dev](https://codemp.dev) will switch to a subscription-based model. After such period, [code.mp](https://code.mp) will switch to a subscription-based model.
# Development # 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. 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.

View file

@ -200,7 +200,7 @@ class CodempConnectCommand(sublime_plugin.WindowCommand):
def input(self, args): def input(self, args):
if "server_host" not in args: if "server_host" not in args:
return SimpleTextInput( return SimpleTextInput(
("server_host", "http://codemp.dev:50053"), ("server_host", "http://code.mp:50053"),
("user_name", f"user-{random.random()}"), ("user_name", f"user-{random.random()}"),
("password", "password?"), ("password", "password?"),
) )