All Projects → SpongePowered → Configurate

SpongePowered / Configurate

Licence: other
A simple configuration library for Java applications providing a node structure, a variety of formats, and tools for transformation

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Configurate

Konf
A type-safe cascading configuration library for Kotlin/Java/Android, supporting most configuration formats
Stars: ✭ 225 (+52.03%)
Mutual labels:  json, xml, yaml, configuration
Dasel
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Stars: ✭ 759 (+412.84%)
Mutual labels:  json, xml, yaml, configuration
Oq
A performant, and portable jq wrapper to facilitate the consumption and output of formats other than JSON; using jq filters to transform the data.
Stars: ✭ 132 (-10.81%)
Mutual labels:  json, xml, yaml
Resticprofile
Configuration profiles for restic backup
Stars: ✭ 48 (-67.57%)
Mutual labels:  json, yaml, configuration
Cfgdiff
diff(1) all your configs
Stars: ✭ 138 (-6.76%)
Mutual labels:  json, xml, yaml
Config Lint
Command line tool to validate configuration files
Stars: ✭ 118 (-20.27%)
Mutual labels:  hacktoberfest, json, yaml
Ansible Config encoder filters
Ansible role used to deliver the Config Encoder Filters.
Stars: ✭ 48 (-67.57%)
Mutual labels:  json, xml, yaml
Dynaconf
Configuration Management for Python ⚙
Stars: ✭ 2,082 (+1306.76%)
Mutual labels:  hacktoberfest, configuration, yaml
Poco
The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
Stars: ✭ 5,762 (+3793.24%)
Mutual labels:  json, xml, configuration
Fig
A minimalist Go configuration library
Stars: ✭ 142 (-4.05%)
Mutual labels:  json, yaml, configuration
Jokeapi
A REST API that serves uniformly and well formatted jokes in JSON, XML, YAML or plain text format that also offers a great variety of filtering methods
Stars: ✭ 71 (-52.03%)
Mutual labels:  json, xml, yaml
Metayaml
A powerful schema validator!
Stars: ✭ 92 (-37.84%)
Mutual labels:  json, xml, yaml
Structured Text Tools
A list of command line tools for manipulating structured text data
Stars: ✭ 6,180 (+4075.68%)
Mutual labels:  json, xml, yaml
Sirix
SirixDB is a temporal, evolutionary database system, which uses an accumulate only approach. It keeps the full history of each resource. Every commit stores a space-efficient snapshot through structural sharing. It is log-structured and never overwrites data. SirixDB uses a novel page-level versioning approach called sliding snapshot.
Stars: ✭ 638 (+331.08%)
Mutual labels:  hacktoberfest, json, xml
Countries
World countries in JSON, CSV, XML and Yaml. Any help is welcome!
Stars: ✭ 5,379 (+3534.46%)
Mutual labels:  json, xml, yaml
Feedr
Use feedr to fetch the data from a remote url, respect its caching, and parse its data. Despite its name, it's not just for feed data but also for all data that you can feed into it (including binary data).
Stars: ✭ 56 (-62.16%)
Mutual labels:  json, xml, yaml
Circe Yaml
YAML parser for circe using SnakeYAML
Stars: ✭ 102 (-31.08%)
Mutual labels:  hacktoberfest, json, yaml
Choetl
ETL Framework for .NET / c# (Parser / Writer for CSV, Flat, Xml, JSON, Key-Value, Parquet, Yaml, Avro formatted files)
Stars: ✭ 372 (+151.35%)
Mutual labels:  json, xml, yaml
Packagedev
Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
Stars: ✭ 378 (+155.41%)
Mutual labels:  hacktoberfest, json, yaml
Countries States Cities Database
🌍 World countries, states, regions, provinces, cities, towns in JSON, SQL, XML, PLIST, YAML, and CSV. All Countries, States, Cities with ISO2, ISO3, Country Code, Phone Code, Capital, Native Language, Timezones, Latitude, Longitude, Region, Subregion, Flag Emoji, and Currency. #countries #states #cities
Stars: ✭ 1,130 (+663.51%)
Mutual labels:  json, xml, yaml

Configurate

GitHub Workflow Status (branch) MIT License Maven Central Sonatype Nexus (Snapshots)

Configurate is a simple configuration library for Java applications that provides a node-based representation of data, able to handle a wide variety of configuration formats.

Want to talk to us about Configurate? Join us in the #dev channel on our Discord or start a thread on our (new!) Discussions page.

The current supported formats are:

Project Structure

The project is split into different modules.

Configurate core

configurate-core is the base of the library, containing the main APIs used to manipulate configurations. It is generic, and does not depend on any specific format of configuration.

Configurate loaders

Each distinct configuration format is implemented as a "configuration loader", in a separate module.

A number of loader implementations are provided as standard in this project, however it is possible to implement a custom loader for a new format separately.

The current supported loaders provided by the project are:

  • configurate-gson - Implementation for the JSON format, using the Gson library for parsing and generation
  • configurate-hocon - Implementation for the HOCON format, using the lightbend config library for parsing and generation
  • configurate-jackson - Implementation for the JSON format, using the Jackson library for parsing and generation
  • configurate-xml - Implementation for the XML format, using the JAXP library for parsing and generation
  • configurate-yaml - Implementation for the YAML format, using the SnakeYAML library for parsing and generation

extras

Some features that don't need tight integration with Configurate itself are provided as separate modules. These are:

  • configurate-extra-dfu[2-4] - Integration between Mojang's DataFixerUpper and Configurate's systems.
  • configurate-extra-kotlin - Extensions to allow Configurate types to use Kotlin features, and support for Kotlin data classes in the object mapper.
  • configurate-extra-guice - Allows using a Guice Injector to create new object instances in the object mapper.

Usage

  • To use Configurate, your project must be configured to use Java 8 or higher.
  • Releases are on Maven Central and snapshot artifacts are hosted on Sonatype OSS. Builds are also included on SpongePowered's Maven Repository , available at https://repo.spongepowered.org/maven/.

If your project uses Maven or Gradle, just add the following to your build scripts.

Gradle

repositories {
    mavenCentral()
}

dependencies {
    // Modify this line to target the loader you wish to use.
    compile 'org.spongepowered:configurate-hocon:4.0.0'
}

Maven

<dependencies>
    <dependency>
        <groupId>org.spongepowered</groupId>
        <!-- Modify this line to target the loader you wish to use. -->
        <artifactId>configurate-hocon</artifactId>
        <version>4.0.0</version>
    </dependency>
</dependencies>

More detailed usage instructions can be found in the Configurate wiki.

Contributing

Clone

The following steps will ensure your project is cloned properly.

  1. git clone https://github.com/SpongePowered/Configurate.git
  2. cd Configurate

Building

Note: If you do not have Gradle 6.8+ installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems in place of any 'gradle' command.

In order to build Configurate you simply need to run the gradle build command. You can find the compiled JAR files in ./build/libs (found in each subproject) labeled similarly to '-x.x.x-SNAPSHOT.jar'.

While the entire project can run on Java 8, the project requires Java 11 to build, and some tests require at least Java 15 to run. Our CI will run these for you if you don't have the latest JDK set up locally.

Pull Requests

We love PRs! However, when contributing, here are some things to keep in mind:

  • Take a look at open issues first before you get too far in -- someone might already be working on what you were planning on doing
  • In general, we follow the Sponge style guidelines for code style -- see the Contributing Guidelines for details.
  • Please, please, please test PRs. It makes the process a lot easier for everybody :)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].