Chisle
The coding-agent plugin that bills 52% of a bare model across 20 live tasks. Terse persona + tool-output compressor + context diet.
翻訳待ち
configuration library for JVM languages using HOCON files
翻訳待ち
開発ツールJava · ScalaGitHub @lightbend自分でインストール所有者未確認
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗java -Dmyapp.foo.bar=10application.conf"foo" : ${bar}, "foo" : Hello ${who})a.b=c)logdir=${HOME}/logs)Config instances, for thread safety
and easy reasoning about config transformationsThis library limits itself to config files. If you want to load config from a database or something, you would need to write some custom code. The library has nice support for merging configurations so if you build one from a custom source it's easy to merge it in.
Table of Contents generated with DocToc
Typesafe Config is compatible with Java 8 and above.
You can find published releases on Maven Central.
<dependency>
<groupId>com.typesafe</groupId>
<artifactId>config</artifactId>
<version>1.4.4</version>
</dependency>
sbt dependency:
libraryDependencies += "com.typesafe" % "config" % "1.4.4"
Link for direct download if you don't use a dependency manager:
Please see NEWS.md in this directory, https://github.com/lightbend/config/blob/main/NEWS.md
.conf file format, read
HOCON.md
in this directoryNOTE: Please read Readme #Maintained-by before spending time suggesting changes to this library.
Report bugs to the GitHub issue tracker. Send patches as pull requests on GitHub.
Before we can accept pull requests, you will need to agree to the Akka Contributor License Agreement online, using your GitHub account - it takes 30 seconds. You can do this at https://contribute.akka.io/contribute/cla
Please see CONTRIBUTING for more including how to make a release.
The build uses sbt and the tests are written in Scala; however, the library itself is plain Java and the published jar has no Scala dependency.
import com.typesafe.config.ConfigFactory
Config conf = ConfigFactory.load();
int bar1 = conf.getInt("foo.bar");
Config foo = conf.getConfig("foo");
int bar2 = foo.getInt("bar");
See the examples in the examples/ directory.
This is the beginning of the README. Read the rest at the original. Read the full README ↗