diff --git a/Cargo.toml b/Cargo.toml index efbc275..27d951b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "codemp" description = "codemp -- code multiplexer" -homepage = "https://codemp.dev" +homepage = "https://code.mp" repository = "https://github.com/hexedtech/codemp" authors = [ "alemi ", diff --git a/README.md b/README.md index fffd80d..bd54c0e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![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) [![docs.rs](https://img.shields.io/docsrs/codemp)](https://docs.rs/codemp/0.7.0-beta.2/codemp/) @@ -38,11 +38,11 @@ The full documentation is available on [docs.rs](https://docs.rs/codemp/0.7.0-be ## Registration 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. 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 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. diff --git a/dist/js/publish/README.md b/dist/js/publish/README.md index ae21dea..47d0c0b 100644 --- a/dist/js/publish/README.md +++ b/dist/js/publish/README.md @@ -1,4 +1,4 @@ -[![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) [![docs.rs](https://img.shields.io/docsrs/codemp)](https://docs.rs/codemp/0.7.0-beta.2/codemp/) @@ -38,11 +38,11 @@ The full documentation is available on [docs.rs](https://docs.rs/codemp/0.7.0-be ## Registration 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. 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 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. diff --git a/src/ffi/js/client.rs b/src/ffi/js/client.rs index 5d3fc50..d82e8f3 100644 --- a/src/ffi/js/client.rs +++ b/src/ffi/js/client.rs @@ -4,7 +4,7 @@ use crate::{Client, Workspace}; #[napi] /// connect to codemp servers and return a client session pub async fn connect(addr: Option, username: String, password: String) -> napi::Result{ - let client = crate::Client::connect(addr.as_deref().unwrap_or("http://codemp.dev:50053"), username, password) + let client = crate::Client::connect(addr.as_deref().unwrap_or("http://code.mp:50053"), username, password) .await?; Ok(client) diff --git a/src/lib.rs b/src/lib.rs index e253ab0..6fa30be 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -21,7 +21,7 @@ //! ```rust //! # async fn main() { //! let client = codemp::Client::connect( -//! "https://api.codemp.dev", // default server, by hexed.technology +//! "https://api.code.mp", // default server, by hexed.technology //! "mail@example.net", // your username, on hexed.technology it's the email //! "dont-use-this-password" // your password //! ) @@ -86,7 +86,7 @@ //! * [PyPI (python)](https://pypi.org/project/codemp) //! * [npm (javascript)](https://www.npmjs.com/package/codemp) //! -#![doc(html_logo_url = "https://codemp.dev/static/logo-round.png")] +#![doc(html_logo_url = "https://code.mp/static/logo-round.png")] /// core structs and traits pub mod api;