{"id":40757,"date":"2026-05-01T21:23:36","date_gmt":"2026-05-01T19:23:36","guid":{"rendered":"https:\/\/www.graviton.at\/letterswaplibrary\/built-a-cli-to-clean-github-repos-into-llm-training-data-is-manual-cleanup-a-real-bottleneck-for-you\/"},"modified":"2026-05-01T21:23:36","modified_gmt":"2026-05-01T19:23:36","slug":"built-a-cli-to-clean-github-repos-into-llm-training-data-is-manual-cleanup-a-real-bottleneck-for-you","status":"publish","type":"post","link":"https:\/\/www.graviton.at\/letterswaplibrary\/built-a-cli-to-clean-github-repos-into-llm-training-data-is-manual-cleanup-a-real-bottleneck-for-you\/","title":{"rendered":"Built A CLI To Clean GitHub Repos Into LLM Training Data.. Is Manual Cleanup A Real Bottleneck For You?"},"content":{"rendered":"<p><!-- SC_OFF --><\/p>\n<div class=\"md\">\n<p>Every time I try to use GitHub repos for LLM training, I lose hours cleaning junk like .git files, lock files, minified JS, generated code, binaries mixed with real source.<\/p>\n<p>Public datasets like The Stack are great for general pretraining. But if you want a model on a specific stack or curated repos, you end up building the dataset (and the cleanup pipeline) yourself. So I built a CLI tool called RepoCurator to make that step reusable.<\/p>\n<p>What it does:<\/p>\n<p>&#8211; Clones repos (shallow for speed)<\/p>\n<p>&#8211; Filters noise using rules<\/p>\n<p>&#8211; Scores files (0.0\u20131.0) based on usefulness<\/p>\n<p>&#8211; Exports clean, per-file datasets (JSON\/TXT)<\/p>\n<p>Still early trying to validate if this is a real problem. If it resonates, register interest on the page. It helps me decide whether to keep building<\/p>\n<p>Question:<\/p>\n<p>How are you currently cleaning repos before using them for training or analysis?<\/p>\n<\/div>\n<p><!-- SC_ON -->   submitted by   <a href=\"https:\/\/www.reddit.com\/user\/Ok_Rub3312\"> \/u\/Ok_Rub3312 <\/a> <br \/> <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/1t134ot\/built_a_cli_to_clean_github_repos_into_llm\/\">[link]<\/a><\/span>   <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/1t134ot\/built_a_cli_to_clean_github_repos_into_llm\/\">[comments]<\/a><\/span><\/p><div class='watch-action'><div class='watch-position align-right'><div class='action-like'><a class='lbg-style1 like-40757 jlk' href='javascript:void(0)' data-task='like' data-post_id='40757' data-nonce='9a19619bbe' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.graviton.at\/letterswaplibrary\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-40757 lc'>0<\/span><\/a><\/div><\/div> <div class='status-40757 status align-right'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Every time I try to use GitHub repos for LLM training, I lose hours cleaning junk like&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[],"class_list":["post-40757","post","type-post","status-publish","format-standard","hentry","category-datatards","wpcat-85-id"],"_links":{"self":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/40757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/comments?post=40757"}],"version-history":[{"count":0,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/40757\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/media?parent=40757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/categories?post=40757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/tags?post=40757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}