{"id":21883200,"url":"https://github.com/pinjasaur/tfc","last_synced_at":"2025-04-15T06:08:57.256Z","repository":{"id":74816728,"uuid":"176796702","full_name":"Pinjasaur/tfc","owner":"Pinjasaur","description":"Crawl {robots,humans,security}.txt files","archived":false,"fork":false,"pushed_at":"2019-04-14T08:24:30.000Z","size":16507,"stargazers_count":3,"open_issues_count":3,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T06:08:48.579Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://paul.af/text-file-adoption-rates-in-2019","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pinjasaur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-20T18:43:38.000Z","updated_at":"2023-07-06T12:55:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"a616dbb0-a456-41d7-b775-fe534ff4369c","html_url":"https://github.com/Pinjasaur/tfc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pinjasaur%2Ftfc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pinjasaur%2Ftfc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pinjasaur%2Ftfc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pinjasaur%2Ftfc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pinjasaur","download_url":"https://codeload.github.com/Pinjasaur/tfc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016627,"owners_count":21198833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T09:39:43.164Z","updated_at":"2025-04-15T06:08:57.250Z","avatar_url":"https://github.com/Pinjasaur.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# text file crawler (tfc)\n\nTo quench my curiousity, I wanted to gauge the usage \u0026 adoption of the following\npseudo-standard text files:\n\n- [`robots.txt`][robots]\n- [`humans.txt`][humans]\n- [`.well-known/security.txt`][security]\n\nGiven a domains.txt file containing one domain per line, the Node.js script will\nfire off requests for each of the files. Given network I/O is the constraint,\nthis can take a while.\n\n\u003e **NOTE:** This script isn't particularly efficient in terms of memory usage.\n\u003e If you encounter issues running of memory, pass the `--max-old-space-size`\n\u003e flag like so: `node --max-old-space-size=4096 tfc`.\n\nRedirects are capped at 20 and validity is based off the HTTP status code,\nContent-Type, and first few values of the response data. After completing, the\nstatistics will be printed out. Valid text files found will be written to\n`files/`, which is created \u0026 wiped for you each time the script is started.\n\nIf you're interested in a write-up about this along with the metrics, you should\n[check out my article][post].\n\n## Usage\n\nMake a domains.txt by making your own or symlinking one of the provided:\n\n```\nln -s domains-faang.txt domains.txt\n```\n\nThen, grab the dependencies \u0026 start it up:\n\n```\nnpm install \u0026\u0026 npm start\n```\n\nNot all requests receive a response \u0026 hang indefinitely. If it's been a while,\njust \u003ckbd\u003eCtrl + C\u003c/kbd\u003e the process, which will print out the stats before\nexiting.\n\n## Thanks\n\n[David][david]. [Jeff][jeff].\n\n## License\n\n[MIT][license].\n\n\n[robots]: http://www.robotstxt.org/\n[humans]: http://humanstxt.org/\n[security]: https://securitytxt.org/\n[david]: https://github.com/davidmerfield\n[jeff]: https://github.com/mirshko\n[license]: https://pinjasaur.mit-license.org/@2019\n[post]: https://paul.af/text-file-adoption-rates-in-2019\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinjasaur%2Ftfc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinjasaur%2Ftfc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinjasaur%2Ftfc/lists"}