https://github.com/funnyboy-roks/world-painter-rs
A rewrite of my WorldPainter program into Rust
https://github.com/funnyboy-roks/world-painter-rs
cli hacktoberfest image-generation mca minecraft minecraft-server region rust
Last synced: 10 months ago
JSON representation
A rewrite of my WorldPainter program into Rust
- Host: GitHub
- URL: https://github.com/funnyboy-roks/world-painter-rs
- Owner: funnyboy-roks
- License: apache-2.0
- Created: 2023-06-01T05:58:15.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-01T06:37:10.000Z (about 3 years ago)
- Last Synced: 2025-05-18T07:39:02.832Z (about 1 year ago)
- Topics: cli, hacktoberfest, image-generation, mca, minecraft, minecraft-server, region, rust
- Language: Rust
- Homepage: https://crates.io/crates/world-painter
- Size: 12.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# world-painter
This is a rewrite of my previous
[WorldPainter](https://github.com/funnyboy-roks/WorldPainter) originally
written in Java, now written in Rust.
This tool takes in any number of directories and outputs them as an
image showing the chunks, coloured by their size.

The above image was formed using the following command:
```sh
$ world-painter \
~/server/world/region 25000 '#005207' \
~/server/world_nether/DIM-1/region 20000 '#370101' \
~/server/world_the_end/DIM1/region 25000 '#0f0022'
```
## Usage
```sh
$ world-painter [ ]...
```
One can specify however many worlds they wish to read, but all must have
the path, worldborder, and colour in that order.
## Todo
- [ ] Better user interface
- [ ] Better logging
- [ ] Perhaps a file which can be read for the config rather than
just having the command-line
- [ ] Figure out how one can use clap to make the cli _much_ nicer
(I'd be surprised if what I wanted to do was not possible)
- [ ] Zip & Upload image to [bytebin](https://bytebin.lucko.dev)
- If bytebin says no because the image is too large, just write
it to the disk.