MCPcopy Index your code
hub / github.com/Lodestone-Team/lodestone_core

github.com/Lodestone-Team/lodestone_core @v0.5.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.5.1 ↗ · + Follow
819 symbols 1,852 edges 274 files 22 documented · 3% updated 2y agov0.5.1 · 2024-06-21★ 6129 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Contributors Issues Build

Logo

Lodestone

Client for the Lodestone project



<a href="https://beta.lodestone.cc/"><strong>Website(Beta WIP) »</strong></a>







·
<a href="https://github.com/Lodestone-Team/client/issues">Report Bug</a>
·
<a href="https://github.com/Lodestone-Team/client/issues">Request Feature</a>

!!Repo Deprecated!!

This repo is functionally deprecated in favour of the new mono repo: https://github.com/Lodestone-Team/lodestone

However, due to Lodestone CLI still pointing to this repo to fetch the latest releases, this repo is not archived.

Built With

  • Rust

(back to top)

Getting Started (end user)

You should not download Lodestone Core directly due to its lack of ability to self-update. Please use Lodestone CLI instead.

Using Docker Image

As of v0.4.3 we have added Docker support to lodestone core. Our precompiled images will be based on the newest release available from: ghcr.io/lodestone-team/lodestone_core. Alternatively, you may build your own image using the default Dockerfile, not additional arguments required.

Note You may add additional ports as you wish to forward, but 16662 is the default port served in the image. You may add a volume for your lodestone instance to be accessible, in the example below, you can create a volume first by using docker volume create lodestone.

Docker CLI example:

docker run -d \
  --name lodestone \
  --restart unless-stopped \
  -p 16662:16662 \
  -v lodestone:/home/user/.lodestone \
  ghcr.io/lodestone-team/lodestone_core

Docker Compose example:

Download the docker-compose.yml file from this repo using

wget https://raw.githubusercontent.com/Lodestone-Team/lodestone_core/main/docker-compose.yml

and then run it using

docker compose up -d

Alternatively, create docker-compose.yml yourself:

version: '3.8'
services:
  lodestone:
    container_name: lodestone
    image: ghcr.io/lodestone-team/lodestone_core
    restart: unless-stopped
    ports:
      - "16662:16662"
    volumes:
      - lodestone:/home/user/.lodestone

volumes:
  lodestone:

Getting Started (development)

Please make sure you have cargo and rustc, for instruction on how to install the Rust toolchain, see here: rustup.rs.

Prerequisites

These instructions apply to Ubuntu 20.04 LTS and later.

  • build-essential is required for the Rust toolchain. sh sudo apt-get install build-essential
  • pkg-config and libssl-dev are required to compile Axum sh sudo apt-get install pkg-config libssl-dev
  • cpuidtool is required to query CPU information sh sudo apt-get install cpuidtool libcpuid-dev A few other packages are needed to compile Lodestone sh sudo apt-get install libffi-dev libmagic-dev file

Installation

Running the client

  1. Clone the repo sh git clone https://github.com/Lodestone-Team/client
  2. By default Lodestone stores its data in ~/.lodestone. If you would like to override it for development & testing please define the LODESTONE_PATH environment variable to override it. sh export LODESTONE_PATH=~/test_dev
  3. Running sh cargo run --bin main

(back to top)

Contributing

Contribution is welcome, please join our Discord for more details.

(back to top)

License

This project uses the GNU Affero General Public License v3.0. See our LICENSE files for details. For an alternate (commercial) license, please raise an issue.

(back to top)

Credits

Active members of the Lodestone client team:

(back to top)

Extension points exported contracts — how you extend this code

WorkerOptionGenerator (Interface)
(no doc) [4 implementers]
src/macro_executor.rs
TResourceManagement (Interface)
(no doc) [2 implementers]
src/traits/t_resource.rs
EventFilter (Interface)
(no doc)
src/events.rs
DotLodestoneConfig (Interface)
(no doc)
src/implementations/generic/js/main/libs/bindings/DotLodestoneConfig.ts
InstanceInfo (Interface)
(no doc)
bindings/InstanceInfo.ts
DotLodestoneConfig (Interface)
(no doc)
bindings/DotLodestoneConfig.ts
HistoryEntry (Interface)
(no doc)
bindings/HistoryEntry.ts
InstanceManifest (Interface)
(no doc)
bindings/InstanceManifest.ts

Core symbols most depended-on inside this repo

to_string
called by 106
src/implementations/minecraft/mod.rs
send
called by 105
src/event_broadcaster.rs
get_identifier
called by 76
src/implementations/minecraft/configurable.rs
get_value
called by 71
src/traits/t_configurable/manifest.rs
get_name
called by 63
src/implementations/minecraft/configurable.rs
get_description
called by 63
src/implementations/minecraft/configurable.rs
try_action
called by 48
src/auth/user.rs
try_auth_or_err
called by 47
src/auth/user.rs

Shape

Method 312
Function 274
Interface 102
Class 95
Enum 36

Languages

Rust84%
TypeScript16%

Modules by API surface

src/traits/t_configurable/manifest.rs47 symbols
src/events.rs39 symbols
src/implementations/minecraft/configurable.rs36 symbols
src/auth/user.rs32 symbols
src/util.rs27 symbols
src/macro_executor.rs23 symbols
src/implementations/minecraft/mod.rs21 symbols
src/types.rs20 symbols
src/implementations/generic/configurable.rs19 symbols
src/handlers/instance_fs.rs17 symbols
src/implementations/generic/bridge/procedure_call.rs15 symbols
src/handlers/global_fs.rs15 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page