File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ The project is still at its early stages and will undergo drastic changes.
8
8
9
9
## Project structure
10
10
11
- metamc is split into 2 parts.
11
+ metamc is split into 2 parts, both of which are written in Rust .
12
12
13
13
### libmcmeta
14
14
@@ -23,6 +23,29 @@ modloader installers) and then either serving these metadata files or
23
23
generating them for usage somewhere else (like GitHub Pages). It is licensed
24
24
under GPL-3.0-only.
25
25
26
+ #### How to run this
27
+
28
+ Since no binaries are released yet, you will have to clone and compile this
29
+ repository yourself. Make sure you have Rust installed and then run:
30
+
31
+ ``` sh
32
+ git clone https://github.com/PrismLauncher/mcmeta.git
33
+ cd mcmeta/mcmeta
34
+
35
+ export RUST_LOG=INFO
36
+ export MCMETA_BIND_ADDRESS=127.0.0.1:9988
37
+ export MCMETA_META_DIRECTORY=../meta
38
+ cargo run
39
+ ```
40
+
41
+ #### Endpoints
42
+
43
+ The following endpoints are currently implemented:
44
+
45
+ - ` GET /raw/mojang ` for the Mojang version manifest, which contains all
46
+ versions
47
+ - ` GET /raw/mojang/:version ` for a specific Minecraft version, if it exists
48
+
26
49
## Goals
27
50
28
51
Eventually, mcmeta should implement at least the following goals:
You can’t perform that action at this time.
0 commit comments