mirror of
https://github.com/TxtDot/instances.git
synced 2024-11-21 20:36:23 +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
|
@ -1,2 +1,7 @@
|
||||||
# instances
|
# instances
|
||||||
|
|
||||||
Instances of TXTDot proxies
|
Instances of TXTDot proxies
|
||||||
|
|
||||||
|
| Name | Base URL | Secure |
|
||||||
|
| ------------------------ | --------------------- | ------ |
|
||||||
|
| Official TXTDot instance | <https://txt.dc09.ru> | true |
|
||||||
|
|
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} |`
|
||||||
|
)}
|
||||||
|
`
|
||||||
|
);
|
7
instances.json
Normal file
7
instances.json
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "Official TXTDot instance",
|
||||||
|
"baseUrl": "https://txt.dc09.ru",
|
||||||
|
"secure": true
|
||||||
|
}
|
||||||
|
]
|
13
package.json
Normal file
13
package.json
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"name": "instances",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Instances of TXTDot proxies",
|
||||||
|
"main": "index.js",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"keywords": [],
|
||||||
|
"author": "artegoser <me@artegoser.ru> blog.artegoser.ru",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue