Skip to main content

Delta Chat JSON-RPC server

Project description

Delta Chat RPC server

This program provides a JSON-RPC 2.0 interface to DeltaChat over standard I/O.

Install

To download binary pre-builds check the releases page. Rename the downloaded binary to deltachat-rpc-server and add it to your PATH.

To install from source run:

cargo install --git https://github.com/deltachat/deltachat-core-rust/ deltachat-rpc-server

The deltachat-rpc-server executable will be installed into $HOME/.cargo/bin that should be available in your PATH.

Usage

To use just run deltachat-rpc-server command. The accounts folder will be created in the current working directory unless DC_ACCOUNTS_PATH is set:

export DC_ACCOUNTS_PATH=$HOME/delta/
deltachat-rpc-server

The common use case for this program is to create bindings to use Delta Chat core from programming languages other than Rust, for example:

  1. Python: https://pypi.org/project/deltachat-rpc-client/
  2. Go: https://github.com/deltachat/deltachat-rpc-client-go/

Run deltachat-rpc-server --version to check the version of the server. Run deltachat-rpc-server --openrpc to get OpenRPC specification of the provided JSON-RPC API.

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

deltachat-rpc-server-1.137.4.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distributions

deltachat_rpc_server-1.137.4-py3-none-win_amd64.whl (8.3 MB view hashes)

Uploaded Python 3 Windows x86-64

deltachat_rpc_server-1.137.4-py3-none-win32.whl (8.1 MB view hashes)

Uploaded Python 3 Windows x86

deltachat_rpc_server-1.137.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl (9.0 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64 musllinux: musl 1.1+ x86-64

deltachat_rpc_server-1.137.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (8.3 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64 musllinux: musl 1.1+ ARM64

deltachat_rpc_server-1.137.4-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl (8.4 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.12+ i686 musllinux: musl 1.1+ i686

deltachat_rpc_server-1.137.4-py3-none-macosx_11_0_arm64.whl (7.4 MB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

deltachat_rpc_server-1.137.4-py3-none-macosx_10_7_x86_64.whl (7.9 MB view hashes)

Uploaded Python 3 macOS 10.7+ x86-64

deltachat_rpc_server-1.137.4-py3-none-linux_armv7l.manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl (7.7 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l musllinux: musl 1.1+ ARMv7l

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