Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sksat/minecraft-whitelist-validator
Minecraft whitelist.json validator
https://github.com/sksat/minecraft-whitelist-validator
Last synced: 7 days ago
JSON representation
Minecraft whitelist.json validator
- Host: GitHub
- URL: https://github.com/sksat/minecraft-whitelist-validator
- Owner: sksat
- License: mit
- Created: 2021-07-19T10:30:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T18:19:32.000Z (14 days ago)
- Last Synced: 2024-10-26T03:30:59.115Z (13 days ago)
- Language: Rust
- Size: 313 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# minecraft-whitelist-validator
Minecraft whitelist.json validator![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)
[![CI](https://github.com/sksat/minecraft-whitelist-validator/actions/workflows/ci.yml/badge.svg)](https://github.com/sksat/minecraft-whitelist-validator/actions/workflows/ci.yml)
[![Build Image](https://github.com/sksat/minecraft-whitelist-validator/actions/workflows/build-image.yml/badge.svg?branch=main)](https://github.com/sksat/minecraft-whitelist-validator/actions/workflows/build-image.yml)
[![Image Size](https://img.shields.io/docker/image-size/sksat/minecraft-whitelist-validator/main)](https://github.com/sksat/minecraft-whitelist-validator/actions/workflows/build-image.yml)
[![Build single-binary](https://github.com/sksat/minecraft-whitelist-validator/actions/workflows/build-musl.yml/badge.svg)](https://github.com/sksat/minecraft-whitelist-validator/actions/workflows/build-musl.yml)## GitHub Actions
- Example workflow
```yaml
on:
push:
paths:
- 'whitelist.json'jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: sksat/[email protected]
```## Inputs
| Name | Required | Description | Type | Default |
| -------| :------: | -----------------------------------| ------ | -------------- |
| `json` | ✓ | Minecraft whitelist.json file path | string | whitelist.json |
| `rdjson` | | [RDFormat](https://github.com/reviewdog/reviewdog/tree/master/proto/rdf) json file path(output) | string | |## Docker
- Example oneliner
```sh
# bash
docker run --rm -it -v "$(pwd)"/whitelist.json:/app/whitelist.json sksat/minecraft-whitelist-validator /app/minecraft-whitelist-validator# fish
docker run --rm -it -v (pwd)/whitelist.json:/app/whitelist.json sksat/minecraft-whitelist-validator /app/minecraft-whitelist-validator
```