MCPcopy Index your code
hub / github.com/daodst/chat

github.com/daodst/chat @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
4,808 symbols 14,285 edges 625 files 1,798 documented · 37%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Encrypted Communication Blockchain Project

This project is an open-source blockchain encrypted communication application that uses blockchain technology and encryption algorithms to ensure communication security and privacy between users. The goal of this project is to provide a secure, decentralized, and trusted means of communication, allowing users to communicate information securely.

Features

  • Decentralized: The application does not rely on any centralized servers, and all communication data is stored on a distributed blockchain, meaning that users' communication data cannot be controlled or monitored by third parties.
  • Anonymity: Users can choose to use anonymous identities for communication, protecting their personal privacy.
  • Security: The application uses high-strength encryption algorithms to encrypt users' communication data, ensuring that users' data cannot be maliciously tampered with or stolen.
  • Openness: The application is open source, allowing anyone to view and modify the source code to ensure system security and reliability.

Tech Stack

  • Blockchain technology: Use blockchain technology to store users' communication data, ensuring data reliability and security.
  • Encryption algorithms: Use high-strength encryption algorithms to protect users' communication data.
  • P2P network: Use a P2P network to implement communication between users, achieving decentralization.
  • Go: Use Go as the backend server.

Extension points exported contracts — how you extend this code

QueryAcccessTokenAPI (Interface)
common function for creating authenticated endpoints (used in client/media/sync api) [5 implementers]
userapi/api/api.go
QueryLatestEventsAndStateAPI (Interface)
Query the latest events and state for a room from the room server. [5 implementers]
roomserver/api/api.go
Type (Interface)
Type represents an auth type https://matrix.org/docs/spec/client_server/r0.6.1#authentication-types [5 implementers]
clientapi/auth/user_interactive.go
KeyInternalAPI (Interface)
(no doc) [6 implementers]
keyserver/api/api.go
DeviceListUpdaterDatabase (Interface)
DeviceListUpdaterDatabase is the subset of functionality from storage.Database required for the updater. Useful for test [2 …
keyserver/internal/device_list_update.go
ExtraPublicRoomsProvider (Interface)
ExtraPublicRoomsProvider provides a way to inject extra published rooms into /publicRooms requests. [2 implementers]
clientapi/api/api.go
Transaction (Interface)
A Transaction is something that can be committed or rolledback. [2 implementers]
internal/sqlutil/sql.go
EvaluationContext (Interface)
An EvaluationContext gives a RuleSetEvaluator access to the environment, for rules that require that. [2 implementers]
internal/pushrules/evaluate.go

Core symbols most depended-on inside this repo

Context
called by 559
setup/process/process.go
Error
called by 276
clientapi/jsonerror/jsonerror.go
Prepare
called by 224
keyserver/storage/tables/interface.go
QueryContext
called by 162
internal/sqlutil/sql.go
Error
called by 143
federationapi/api/api.go
Get
called by 136
internal/caching/caches.go
Unlock
called by 127
internal/mutex.go
Lock
called by 126
internal/mutex.go

Shape

Method 2,573
Function 1,203
Struct 822
Interface 112
TypeAlias 89
FuncType 9

Languages

Go100%

Modules by API surface

userapi/api/api.go139 symbols
syncapi/storage/tables/interface.go78 symbols
roomserver/storage/shared/storage.go74 symbols
syncapi/storage/shared/syncserver.go67 symbols
federationapi/api/api.go67 symbols
roomserver/api/api.go66 symbols
roomserver/state/state.go64 symbols
syncapi/storage/interface.go62 symbols
roomserver/types/types.go59 symbols
federationapi/storage/tables/interface.go58 symbols
keyserver/api/api.go53 symbols
syncapi/notifier/notifier.go47 symbols

Datastores touched

chatDatabase · 1 repos
postgresDatabase · 1 repos

For agents

$ claude mcp add chat \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact