ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/llms-txt-hub / scripts/check-mdx-length.ts

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/llms-txt-hub / scripts/check-mdx-length.ts
DateNot specified in source
RepositoryJanady13/llms-txt-hub
Revisione0f4bf978d4df168369c7601d9c5f5ea89e84377
Branchmain
Path or archive memberscripts/check-mdx-length.ts
Original SHA-25630c39244e2063ed39d720e5f08e815d1046ad4126ccadb2daad34ce45dc150c8
Git blob SHAdbb5a8ae3561d01f31468eb2f8dd28362763d788
Reading-copy SHA-25630c39244e2063ed39d720e5f08e815d1046ad4126ccadb2daad34ce45dc150c8

Original source ↗

Recovered source transcript

import fs from 'node:fs' const files = process.argv.slice(2) const MAX_LENGTH = 50 let hasError = false files.forEach(file => { if (!fs.existsSync(file)) { return } const baseName = file.split('/').pop()?.replace('.mdx', '') || '' if (baseName.length > MAX_LENGTH) { console.log(`❌ ERROR: The file '${file}' exceeds the limit of ${MAX_LENGTH} characters!`) hasError = true } }) if (hasError) { process.exit(1) }

Search equations, builds, manuscript text, and recovered sources.