chore: codemp.dev -> code.mp

This commit is contained in:
əlemi 2024-09-07 22:10:47 +02:00
parent 47856334e2
commit b968945a37
Signed by: alemi
GPG key ID: A4895B84D311642C
5 changed files with 10 additions and 10 deletions

View file

@ -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 <me@alemi.dev>",

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)
[![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.

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)
[![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.

View file

@ -4,7 +4,7 @@ use crate::{Client, Workspace};
#[napi]
/// connect to codemp servers and return a client session
pub async fn connect(addr: Option<String>, username: String, password: String) -> napi::Result<crate::Client>{
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)

View file

@ -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;