Maple
Because JSON was overkill
Install / Use
/learn @EmmaTheMartian/MapleREADME
maple
Literally just a key-value (aka map) based config language. That's it.
Yes, there are loads more of these types of config languages, but I wanted to make my own because the other options are overkill for my projects.
What It Looks Like
maple is inspired by TOML and can be thought of almost* as a subset of it. The
major differences being:
mapledoes not use[these.things]for mapsmapleuses//for comments instead of#
TL;DR: this:
key = value;
// allowed values:
// strings have to use single-quotes
my_string = 'Some string'
my_int = 1273 // you can also use underscores to separate big numbers (i.e, 1_000_000 == 1000000)
my_float = 12.34
my_bool = false
my_map = {
my_name = 'Emma'
more_values = 1273
}
my_array = [
1,
'uno',
3,
'cuatro'
]
What, did you think it was going to be a complex monstrosity?
For a more comprehensive example, see
example.maple.
maplecli/
You may notice the maplecli folder. It contains a CLI tool to parse and read
Maple files. For the most part it is completely useless to most, but I use it
to test erroneous Maple files.
It can also be used in shell scripts to read Maple files for configuration, if you want to do that for whatever reason.
License
maple is dual-licensed under MIT and the Unlicense. Pick whichever you prefer :P
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
