feat: md builder, official instance

This commit is contained in:
Artemy 2023-08-16 10:12:14 +03:00
parent a05970b0bb
commit a889432d9e
4 changed files with 44 additions and 1 deletions

18
index.js Normal file
View file

@ -0,0 +1,18 @@
const fs = require("fs");
const instances = JSON.parse(fs.readFileSync("instances.json", "utf8"));
fs.writeFileSync(
"README.md",
`# instances
Instances of TXTDot proxies
| Name | Base URL | Secure |
| ---- | -------- | ------ |
${instances.map(
(instance) =>
`| ${instance.name} | <${instance.baseUrl}> | ${instance.secure} |`
)}
`
);