Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] TOML support for Templating #665

Open
eternalevelyn opened this issue Mar 25, 2024 · 1 comment
Open

[Feature Request] TOML support for Templating #665

eternalevelyn opened this issue Mar 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@eternalevelyn
Copy link

Is your feature request related to a problem? Please describe.
As it stands JSON and YAML tend to be weird and verbose. I'm not a fan of working in verbose configuration languages with otherwise difficult configuration issues (e.g. the general tendency of YAML parsers to reject tab whitespace characters instead of multiple spaces, the verbosity of YAML). I'm a big fan of TOML for working in config files, because the layout makes more sense.

Describe the solution you'd like
Just an implementation of TOML for making templates. I could probably prototype it in Rust or Python if you want an example.

Describe alternatives you've considered
I've tried YAML a lot, and I just can't get past my frustrations with it. It's a pain to deal with in any context, and I never use YAML when writing my own software as a result. As well in my experience JSON is kind of a hassle to use.

Additional context
As I said, I'm a programmer myself- but I'm unfamiliar with pretty much anything JS/TS-affiliated, so I don't know exactly how to deal with making an implementation and pull request here due to my languages mostly being backend-related or systems-related. Open to it if you want me to implement it in Python, C, C++, Go, Rust, Kotlin, Scala, Zig, or Clojure though.

@eternalevelyn eternalevelyn added the enhancement New feature or request label Mar 25, 2024
@SelfhostedPro
Copy link
Owner

Hey, most of the new work being done on Yacht is over here: https://github.com/SelfhostedPro/yacht-nuxt
The backend work for it wouldn't need to change much, I would just need to add a parser for it (the type should remain the same) so I'll go ahead and add that in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants