MCPcopy Create free account
hub / github.com/Clarionos/clarion

github.com/Clarionos/clarion @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
7,010 symbols 15,828 edges 610 files 516 documented · 7% updated 4y ago★ 3158 open issues

Browse by type

Functions 5,676 Types & classes 1,334
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ClarionOS

Build

Clarion Logo

  • Introduction: https://github.com/bytemaster/clarion/discussions/2
  • Discussions: https://eoscommunity.org/c/clarion
  • Telegram: https://t.me/clarionos

Build

Set the WASI_SDK_PREFIX environment variable before building (see architecture-specific instructions below). Alternatively, use cmake's -DWASI_SDK_PREFIX=.... option. Also make sure nodejs 14, npm 6.14, and yarn 1.22 are in your path.

git submodule update --init --recursive
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j

ctest -j10
CLARION_WASM_PATH=a.wasm node dist/clariond

# to run the dev environment (it spins up and watches the PWA and ClarionD)
make dev
# open your browser on http://localhost:9025

Ubuntu 20.04

sudo apt-get update
sudo apt-get install -yq     \
    binaryen                 \
    build-essential          \
    cmake                    \
    git                      \
    libboost-all-dev         \
    libssl-dev               \
    libgmp-dev

export WASI_SDK_PREFIX=~/work/wasi-sdk-12.0
export PATH=~/work/node-v14.16.0-linux-x64/bin:$PATH

cd ~/work
wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-12/wasi-sdk-12.0-linux.tar.gz
tar xf wasi-sdk-12.0-linux.tar.gz

wget https://nodejs.org/dist/v14.16.0/node-v14.16.0-linux-x64.tar.xz
tar xf node-v14.16.0-linux-x64.tar.xz
npm i -g yarn

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 3,800
Function 1,876
Class 1,264
Enum 57
Interface 13

Languages

C++93%
C4%
TypeScript3%
Java1%

Modules by API surface

libraries/fc/include/fc/crypto/webauthn_json/include/rapidjson/document.h208 symbols
external/rapidjson/include/rapidjson/document.h207 symbols
libraries/fc/include/fc/crypto/webauthn_json/include/rapidjson/schema.h175 symbols
external/rapidjson/include/rapidjson/schema.h175 symbols
libraries/fc/src/compress/miniz.c129 symbols
libraries/fc/include/fc/crypto/webauthn_json/include/rapidjson/reader.h87 symbols
external/rapidjson/include/rapidjson/reader.h87 symbols
external/secp256k1/upstream/src/tests.c78 symbols
libraries/fc/include/fc/static_variant.hpp67 symbols
libraries/fc/src/filesystem.cpp62 symbols
libraries/fc/include/fc/crypto/webauthn_json/include/rapidjson/encodings.h62 symbols
external/rapidjson/include/rapidjson/encodings.h62 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page