2019-11-04 23:40:41 +00:00
|
|
|
# Bash TDP Generator
|
2019-11-05 00:13:22 +00:00
|
|
|
TDP is an acronym for *Tilde Description Protocol*, as described in [TDP RFC](http://protocol.club/~datagrok/beta-wiki/tdp.html).
|
2019-11-04 23:40:41 +00:00
|
|
|
|
2019-11-05 00:12:10 +00:00
|
|
|
## How To Use
|
|
|
|
Clone the repo. Edit setenvs.sh, and set the appropriate values for your tilde server. After that is complete, do the following:
|
|
|
|
|
2019-11-05 00:13:54 +00:00
|
|
|
`./gen_tdp | json_pp`
|
|
|
|
|
2019-11-05 00:12:10 +00:00
|
|
|
|
|
|
|
If it's valid json, json_pp should just parse it, and make you a nice json struct. If that is all good, then do this:
|
|
|
|
|
2019-11-05 00:13:54 +00:00
|
|
|
`./gen_tdp > tilde.json`
|
2019-11-05 00:12:10 +00:00
|
|
|
|
|
|
|
And then copy that file to where it needs to be.
|
|
|
|
|
2019-11-04 23:40:41 +00:00
|
|
|
## ToDo
|
2019-11-05 00:12:10 +00:00
|
|
|
* None yet
|