diff --git a/README.md b/README.md index 9e18103..e92ff58 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Scraped AT Protocol instances -Last updated: 2024-10-19T07:27:55.625Z[^1] +Last updated: 2024-10-19T07:35:36.133Z[^1] Found by enumerating plc.directory and bsky.network, some instances might not be part of mainnet. @@ -590,7 +590,19 @@ Instances that have not been active for more than 7 days gets dropped off from t **69** online **14** offline - +### Bluesky labelers + + +| Labeler | Version | +| --- | --- | +| ✅ mod-br.bsky.app | git-60df3fc | +| ✅ mod-de.bsky.app | git-60df3fc | +| ✅ mod.bsky.app | git-60df3fc | + + +### Third-party labelers + + | Labeler | Version | | --- | --- | | ✅ 2.ripperoni.com | 0.1.38 | @@ -620,11 +632,8 @@ Instances that have not been active for more than 7 days gets dropped off from t | ❌ medsky.williancima.dev | ??? | | ✅ merke.maanebedotten.no | 0.1.38 | | ❌ mimonelu.net | ??? | -| ✅ mod-br.bsky.app | git-60df3fc | -| ✅ mod-de.bsky.app | git-60df3fc | | ✅ mod.armifi.com | 0.1.38 | | ✅ mod.blackskyweb.xyz | 0.1.38 | -| ✅ mod.bsky.app | git-60df3fc | | ✅ mod.laelaps.fyi | 0.1.38 | | ✅ mod.staging.bsky.dev | git-60df3fc | | ❌ mod.zio.blue | ??? | @@ -676,6 +685,8 @@ Instances that have not been active for more than 7 days gets dropped off from t | ✅ uspollabeler.blakeslabs.com | 0.1.38 | | ✅ warlabel.dattil.io | 0.1.38 | | ✅ xblock.aendra.dev | 0.1.38 | - + + +--- [^1]: Reflecting actual changes, not when the scraper was last run diff --git a/scripts/generate-markdown.ts b/scripts/generate-markdown.ts index 487afc0..3aabc84 100644 --- a/scripts/generate-markdown.ts +++ b/scripts/generate-markdown.ts @@ -25,7 +25,8 @@ let state: SerializedState | undefined; { const PDS_BSKY_TABLE = /(?<=)[^]*(?=)/; const PDS_3P_TABLE = /(?<=)[^]*(?=)/; - const LABELER_RE = /(?<=)[^]*(?=)/; + const LABELER_BSKY_RE = /(?<=)[^]*(?=)/; + const LABELER_3P_RE = /(?<=)[^]*(?=)/; const template = `# Scraped AT Protocol instances @@ -52,7 +53,15 @@ Instances that have not been active for more than 7 days gets dropped off from t {{labelerSummary}} - +### Bluesky labelers + + + +### Third-party labelers + + + +--- [^1]: Reflecting actual changes, not when the scraper was last run `; @@ -67,7 +76,12 @@ Instances that have not been active for more than 7 days gets dropped off from t | --- | --- | --- | `; - let labelerTable = ` + let labeler3pTable = ` +| Labeler | Version | +| --- | --- | +`; + + let labelerBskyTable = ` | Labeler | Version | | --- | --- | `; @@ -99,7 +113,11 @@ Instances that have not been active for more than 7 days gets dropped off from t const on = errorAt === undefined ? '✅' : '❌'; const v = version || (version === null ? 'N/A' : '???'); - labelerTable += `| ${on} ${host} | ${v} |\n`; + if (host.endsWith('.bsky.app')) { + labelerBskyTable += `| ${on} ${host} | ${v} |\n`; + } else { + labeler3pTable += `| ${on} ${host} | ${v} |\n`; + } } // Read existing Markdown file, check if it's equivalent @@ -111,7 +129,8 @@ Instances that have not been active for more than 7 days gets dropped off from t if ( PDS_3P_TABLE.exec(source)?.[0] === pds3pTable && PDS_BSKY_TABLE.exec(source)?.[0] === pdsBskyTable && - LABELER_RE.exec(source)?.[0] === labelerTable + LABELER_3P_RE.exec(source)?.[0] === labeler3pTable && + LABELER_BSKY_RE.exec(source)?.[0] === labelerBskyTable ) { shouldWrite = false; } @@ -125,7 +144,8 @@ Instances that have not been active for more than 7 days gets dropped off from t .replace('{{labelerSummary}}', getLabelerSummary()) .replace(PDS_3P_TABLE, pds3pTable) .replace(PDS_BSKY_TABLE, pdsBskyTable) - .replace(LABELER_RE, labelerTable); + .replace(LABELER_3P_RE, labeler3pTable) + .replace(LABELER_BSKY_RE, labelerBskyTable); await Bun.write(env.RESULT_FILE, final); console.log(`wrote to ${env.RESULT_FILE}`);