{"id":24495427,"url":"https://github.com/thesmallpixel/gourcemultirepo","last_synced_at":"2025-03-15T05:17:17.800Z","repository":{"id":210220874,"uuid":"726038272","full_name":"TheSmallPixel/GourceMultiRepo","owner":"TheSmallPixel","description":"Gource shell script to combine all repository changes in one file","archived":false,"fork":false,"pushed_at":"2023-12-01T12:15:13.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T20:33:13.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/TheSmallPixel.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}},"created_at":"2023-12-01T12:02:10.000Z","updated_at":"2023-12-01T12:16:54.000Z","dependencies_parsed_at":"2023-12-01T13:54:11.247Z","dependency_job_id":"dc98777d-2711-4658-ae6b-538f0c6ce56f","html_url":"https://github.com/TheSmallPixel/GourceMultiRepo","commit_stats":null,"previous_names":["thesmallpixel/gourcemultirepo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmallPixel%2FGourceMultiRepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmallPixel%2FGourceMultiRepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmallPixel%2FGourceMultiRepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmallPixel%2FGourceMultiRepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheSmallPixel","download_url":"https://codeload.github.com/TheSmallPixel/GourceMultiRepo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685592,"owners_count":20330983,"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":"2025-01-21T20:27:35.844Z","updated_at":"2025-03-15T05:17:17.783Z","avatar_url":"https://github.com/TheSmallPixel.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gource Multi Repo\nEnjoy seeing the progress you've made over all your years of development in just one short animation!\nInstall Gource:\n```\nhttps://gource.io/\n```\nCreate a new shellscript *.ps1:\n```\n# Define the base path\n$basePath = \"D:\\Projects\" # Replace with your actual path\n\n# Get all directories in the base path\n$directories = Get-ChildItem -Path $basePath -Directory\n\n# Initialize a counter for naming log files\n$logCounter = 1\n\n# Iterate through each directory and run gource command\nforeach ($dir in $directories) {\n    # Change to the directory\n    Set-Location $dir.FullName\n\n    # Run the gource command\n\t$logFilePath = \"$basePath\\gource$logCounter.txt\"\n    gource --output-custom-log $logFilePath $basePath\\$dir\n\t# Print log file creation\n\tWrite-Host \"Gource output for $dir to: $basePath\\$dir\"\n    # Increase the counter for the next iteration\n    $logCounter++\n}\n\n# Change back to the base path\nSet-Location $basePath\n\n# Combine and sort all log files\nGet-ChildItem -Filter \"gource*.txt\" | \n    Foreach-Object { Get-Content $_.FullName } | \n    Sort-Object { $_.Split(\"|\")[0] -as [int] } | \n    Set-Content \"combined.txt\"\n\n# Run gource with the combined log file\ngource combined.txt --seconds-per-day 0.01\n```\nRun the script\n```\n.\\\\GourceCombine.ps1\n```\n\n# Enjoy 🚀\n![image](https://github.com/TheSmallPixel/GourceMultiRepo/assets/25280244/f18a7e22-0cf1-44da-b49a-3fac7ccf3459)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmallpixel%2Fgourcemultirepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesmallpixel%2Fgourcemultirepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmallpixel%2Fgourcemultirepo/lists"}