mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
chore: codemp.dev -> code.mp
This commit is contained in:
parent
47856334e2
commit
b968945a37
5 changed files with 10 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "codemp"
|
name = "codemp"
|
||||||
description = "codemp -- code multiplexer"
|
description = "codemp -- code multiplexer"
|
||||||
homepage = "https://codemp.dev"
|
homepage = "https://code.mp"
|
||||||
repository = "https://github.com/hexedtech/codemp"
|
repository = "https://github.com/hexedtech/codemp"
|
||||||
authors = [
|
authors = [
|
||||||
"alemi <me@alemi.dev>",
|
"alemi <me@alemi.dev>",
|
||||||
|
|
|
@ -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)
|
[![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/)
|
||||||
|
@ -38,11 +38,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.
|
||||||
|
|
6
dist/js/publish/README.md
vendored
6
dist/js/publish/README.md
vendored
|
@ -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)
|
[![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/)
|
||||||
|
@ -38,11 +38,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.
|
||||||
|
|
|
@ -4,7 +4,7 @@ use crate::{Client, Workspace};
|
||||||
#[napi]
|
#[napi]
|
||||||
/// connect to codemp servers and return a client session
|
/// connect to codemp servers and return a client session
|
||||||
pub async fn connect(addr: Option<String>, username: String, password: String) -> napi::Result<crate::Client>{
|
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?;
|
.await?;
|
||||||
|
|
||||||
Ok(client)
|
Ok(client)
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
//! ```rust
|
//! ```rust
|
||||||
//! # async fn main() {
|
//! # async fn main() {
|
||||||
//! let client = codemp::Client::connect(
|
//! 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
|
//! "mail@example.net", // your username, on hexed.technology it's the email
|
||||||
//! "dont-use-this-password" // your password
|
//! "dont-use-this-password" // your password
|
||||||
//! )
|
//! )
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
//! * [PyPI (python)](https://pypi.org/project/codemp)
|
//! * [PyPI (python)](https://pypi.org/project/codemp)
|
||||||
//! * [npm (javascript)](https://www.npmjs.com/package/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
|
/// core structs and traits
|
||||||
pub mod api;
|
pub mod api;
|
||||||
|
|
Loading…
Reference in a new issue