{"id":13744800,"url":"https://github.com/dimchat/DIMP","last_synced_at":"2025-05-09T03:33:34.068Z","repository":{"id":72999901,"uuid":"157067242","full_name":"dimchat/DIMP","owner":"dimchat","description":"Decentralized Instant Messaging Protocol","archived":false,"fork":false,"pushed_at":"2021-01-13T18:06:15.000Z","size":86,"stargazers_count":74,"open_issues_count":0,"forks_count":19,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-04T05:04:53.690Z","etag":null,"topics":["decentralized","end-to-end-encryption","instant-messaging","user-identification"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimchat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-11-11T10:03:48.000Z","updated_at":"2024-07-12T19:00:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"d48f379c-8c6d-41a2-a89b-2800a5756e9c","html_url":"https://github.com/dimchat/DIMP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchat%2FDIMP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchat%2FDIMP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchat%2FDIMP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchat%2FDIMP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimchat","download_url":"https://codeload.github.com/dimchat/DIMP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224811203,"owners_count":17373925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decentralized","end-to-end-encryption","instant-messaging","user-identification"],"created_at":"2024-08-03T05:01:16.306Z","updated_at":"2024-11-15T16:31:54.400Z","avatar_url":"https://github.com/dimchat.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Decentralized Instant Messaging Protocol (DIMP)\n\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/moky/DIMP/blob/master/LICENSE)\n[![Version](https://img.shields.io/badge/alpha-0.1.0-red.svg)](https://github.com/moky/DIMP/wiki)\n\n## 0. Abstract\nThis document introduces a new protocol designed for instant messaging (IM) and an architecture for developing decentralized IM applications. The software provides accounts(user identity recognition) and communications between accounts safely by end-to-end encryption.\n\nIt includes just TWO extremely simple parts:\n\n1. User Identify\n2. Messaging\n\nCopyright \u0026copy; 2018 Albert Moky\n\n### White papers\n\n- [English](TechnicalWhitePaper.md)\n- [Chinese](zh-CN/TechnicalWhitePaper.md)\n\n## 1. User Identify\n\n### 1.0. Meta\n\nSee [mkm.Meta](MingKeMing-Identity.md#meta) for details.\n\n### 1.1. ID\n\nSee [mkm.ID](MingKeMing-Identity.md#id) for details.\n\n### 1.2. Public Key\n\nA **public key** (PK) was binded to an ID by the [Meta Algorithm](MingKeMing-Identity.md#id-address).\n\n### 1.3. Entity (Account/Group)\n**Entity** is the sender/receiver in the network communication.\n\nAn entity can be an account or a group. It has an **ID**, a **name**, and a **number** for searching.\n\nAn **account** will have a **public key**.\n\nA **group** will have **founder**, **owner** and **members**.\n\n```javascript\n// create account\nuser = new Account(accountID, accountPK);\n\n// create group\ngroup = new Group(groupID, founderID);\n```\n\n## 2. Messaging\n\n### 2.0. Envelope\n\nSee [dkd.Envelope](DaoKeDao-Message.md#envelope) for details.\n\n### 2.1. Content\n\nSee [dkd.Content](DaoKeDao-Message.md#content) for details.\n\n### 2.2. Instant Message\n\nSee [dkd.InstantMessage](DaoKeDao-Message.md#instant-message) for details.\n\n### 2.3. Reliable Message\n\nSee [dkd.ReliableMessage](DaoKeDao-Message.md#reliable-message) for details.\n\n---\nVersion 0.1 by [Albert Moky](http://moky.github.com/) [Sun Nov 11 23:18:08 CST 2018]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimchat%2FDIMP","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimchat%2FDIMP","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimchat%2FDIMP/lists"}