mirror of
https://github.com/TxtDot/instances.git
synced 2024-12-03 18:06:20 +03:00
fix: new layout
This commit is contained in:
parent
f641002f6e
commit
aba9dd0fe4
2 changed files with 12 additions and 14 deletions
10
README.md
10
README.md
|
@ -1,7 +1,9 @@
|
||||||
# Instances of TXTDot proxies
|
# Instances of TXTDot proxies
|
||||||
|
|
||||||
- <https://txt.dc09.ru> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)
|
|link|tags|
|
||||||
- <https://txt.bloat.cat> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)
|
|-|-|
|
||||||
- <https://txt.clovius.club> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)
|
|<https://txt.dc09.ru>|![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)|
|
||||||
- <https://txtd.lumaeris.com> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)
|
|<https://txt.bloat.cat>|![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)|
|
||||||
|
|<https://txt.clovius.club>|![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)|
|
||||||
|
|<https://txtd.lumaeris.com>|![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)|
|
||||||
|
|
16
index.js
16
index.js
|
@ -8,19 +8,15 @@ function badge(url, label, path) {
|
||||||
)}&query=${encodeURIComponent(path)}&label=${encodeURIComponent(label)})`;
|
)}&query=${encodeURIComponent(path)}&label=${encodeURIComponent(label)})`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function static(label, text) {
|
|
||||||
return `![${label}](https://img.shields.io/badge/${label}-${text}-blue)`;
|
|
||||||
}
|
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
"README.md",
|
"README.md",
|
||||||
`# Instances of TXTDot proxies\n\n${(
|
`# Instances of TXTDot proxies\n\n|link|tags|\n|-|-|\n${(
|
||||||
await Promise.all(
|
|
||||||
instances.map(async (instance) => {
|
instances.map((instance) => {
|
||||||
if (typeof instance === "string") {
|
if (typeof instance === "string") {
|
||||||
const config_url = instance + "/configuration/json";
|
const config_url = instance + "/configuration/json";
|
||||||
return `- <${instance}> ${badge(
|
return `|<${instance}>|${badge(
|
||||||
config_url,
|
config_url,
|
||||||
"version",
|
"version",
|
||||||
"version"
|
"version"
|
||||||
|
@ -36,12 +32,12 @@ async function run() {
|
||||||
config_url,
|
config_url,
|
||||||
"image compression",
|
"image compression",
|
||||||
"proxy.img_compress"
|
"proxy.img_compress"
|
||||||
)}`;
|
)}|`;
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
).join("\n")}
|
.join("\n")}
|
||||||
`
|
`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue