mirror of
https://github.com/TxtDot/instances.git
synced 2025-03-13 05:14:44 +03:00
feat: md builder, official instance
This commit is contained in:
parent
a05970b0bb
commit
a889432d9e
4 changed files with 44 additions and 1 deletions
18
index.js
Normal file
18
index.js
Normal 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} |`
|
||||
)}
|
||||
`
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue