{"id":31681342,"url":"https://github.com/romanslack/llm_collate-code","last_synced_at":"2025-10-08T07:48:21.823Z","repository":{"id":285430747,"uuid":"958119310","full_name":"RomanSlack/LLM_Collate-Code","owner":"RomanSlack","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-22T16:41:41.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T17:52:28.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RomanSlack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-03-31T17:14:27.000Z","updated_at":"2025-04-22T16:41:44.000Z","dependencies_parsed_at":"2025-03-31T18:28:42.097Z","dependency_job_id":"960971df-b96d-4edf-80ad-3a5539e2258a","html_url":"https://github.com/RomanSlack/LLM_Collate-Code","commit_stats":null,"previous_names":["romanslack/llm_collate-code"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RomanSlack/LLM_Collate-Code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSlack%2FLLM_Collate-Code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSlack%2FLLM_Collate-Code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSlack%2FLLM_Collate-Code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSlack%2FLLM_Collate-Code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RomanSlack","download_url":"https://codeload.github.com/RomanSlack/LLM_Collate-Code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSlack%2FLLM_Collate-Code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278909712,"owners_count":26066887,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-08T07:48:01.920Z","updated_at":"2025-10-08T07:48:21.810Z","avatar_url":"https://github.com/RomanSlack.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collate Code\n\nA simple Python script that collects code from specified file paths on Windows 10. It copies each file’s content, labels it by programming language, and saves everything into a single JSON file – perfect for feeding into a Large Language Model (LLM).\n\n## How It Works\n1. You provide a list of file paths in the script.\n2. The script reads each file and identifies its language from the file extension.\n3. All code snippets are compiled into a single JSON file called `aggregated_files.json`.\n\n## Getting Started\n1. Clone or download this repository.\n2. Update the `file_paths` list with the files you want to aggregate.\n3. Run the script: `python collate_code.py`\n4. Open `aggregated_files.json` to see your collated data.\n\n## Customization\n- Extend the `extension_map` dictionary to add mappings for more programming languages or file types.\n- Swap out the JSON output for plain text or any other format you prefer.  \n\n## License\nThis project is licensed under the [MIT License](LICENSE). Feel free to use it and adapt it to suit your needs. Enjoy collating your code!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanslack%2Fllm_collate-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromanslack%2Fllm_collate-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanslack%2Fllm_collate-code/lists"}