Created
May 15, 2021 01:46
-
-
Save emadflash/82e35c4ecf44810e1786d507d41fa1fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os/exec" | |
"sync" | |
) | |
var Urls = []string{ | |
"https://github.com/juliangarnier/anime.git", | |
"https://github.com/rgalus/sticky-js.git", | |
"https://github.com/mciastek/sal.git", | |
"https://github.com/malchata/yall.js.git", | |
"https://github.com/apexcharts/apexcharts.js.git", | |
"https://github.com/rqrauhvmra/Tobi.git", | |
"https://github.com/jedrzejchalubek/glidejs.git", | |
"https://github.com/jshjohnson/Choices.git", | |
"https://github.com/bradley/blotter.git", | |
"https://github.com/foliotek/croppie.git", | |
"https://github.com/Shopify/draggable.git", | |
"https://github.com/cferdinandi/x-ray.git", | |
"https://github.com/cferdinandi/drop.git", | |
"https://github.com/jlmakes/scrollreveal.js.git", | |
"https://github.com/inorganik/CountUp.js.git", | |
"https://github.com/agence-webup/dropmic.git", | |
"https://github.com/qrohlf/trianglify.git", | |
"https://github.com/nathanford/type.js.git", | |
"https://github.com/jashkenas/underscore.git", | |
"https://github.com/JenkinsDev/Validatinator.git", | |
"https://github.com/thephuse/vanilla-modal.git", | |
"https://github.com/julianshapiro/velocity.git", | |
"https://github.com/maxwellito/vivus.git", | |
"https://github.com/peduarte/wallop.git", | |
"https://github.com/imakewebthings/waypoints.git", | |
"https://github.com/brownhci/WebGazer.git", | |
"https://github.com/Popmotion/popmotion.git", | |
"https://github.com/FezVrasta/popper.js.git", | |
"https://github.com/kimmobrunfeldt/progressbar.js.git", | |
"https://github.com/Nickersoft/push.js.git", | |
"https://github.com/quilljs/quill.git", | |
"https://github.com/davidmerfield/randomColor.git", | |
"https://github.com/dixonandmoe/rellax.git", | |
"https://github.com/bevacqua/rome.git", | |
"https://github.com/terwanerik/ScrollTrigger.git", | |
"https://github.com/themadcreator/seen.git", | |
"https://github.com/lmgonzalves/segment.git", | |
"https://github.com/HubSpot/select.git", | |
"https://github.com/HubSpot/shepherd.git", | |
"https://github.com/adobe-webplatform/Snap.svg.git", | |
"https://github.com/tmort/Socialite.git", | |
"https://github.com/RubaXa/Sortable.git", | |
"https://github.com/fgnass/spin.js.git", | |
"https://github.com/LunarLogic/starability.git", | |
"https://github.com/t4t5/sweetalert.git", | |
"https://github.com/limonte/sweetalert2.git", | |
"https://github.com/nolimits4web/swiper.git", | |
"https://github.com/sbstjn/timesheet.js.git", | |
"https://github.com/robinparisi/tingle.git", | |
"https://github.com/tinymce/tinymce.git", | |
"https://github.com/frend/frend.co.git", | |
"https://github.com/bfred-it/iphone-inline-video.git", | |
"https://github.com/kaimallea/isMobile.git", | |
"https://github.com/metafizzy/isotope.git", | |
"https://github.com/callmecavs/jump.js.git", | |
"https://github.com/JoelOtter/kajero.git", | |
"https://github.com/madrobby/keymaster.git", | |
"https://github.com/LPology/Simple-Ajax-Uploader.git", | |
"https://github.com/aFarkas/lazysizes.git", | |
"https://github.com/sparanoid/lightense-images.git", | |
"https://github.com/javve/list.js.git", | |
"https://github.com/meandmax/lory.git", | |
"https://github.com/mahdif/loud-links.git", | |
"https://github.com/julmot/mark.js.git", | |
"https://github.com/yabwe/medium-editor.git", | |
"https://github.com/asvd/microlight.git", | |
"https://github.com/henriquea/minigrid.git", | |
"https://github.com/legomushroom/mojs.git", | |
"https://github.com/jacoborus/nanobar.git", | |
"https://github.com/leongersen/noUiSlider.git", | |
"https://github.com/wagerfield/parallax.git", | |
"https://github.com/VincentGarreau/particles.js.git", | |
"https://github.com/dimsemenov/PhotoSwipe.git", | |
"https://github.com/dbushell/Pikaday.git", | |
"https://github.com/pixijs/pixi.js.git", | |
"https://github.com/algolia/places.git", | |
"https://github.com/selz/plyr.git", | |
"https://github.com/metafloor/bwip-js.git", | |
"https://github.com/c3js/c3.git", | |
"https://github.com/chartjs/Chart.js.git", | |
"https://github.com/gionkunz/chartist-js.git", | |
"https://github.com/nosir/cleave.js.git", | |
"https://github.com/NeXTs/Clusterize.js.git", | |
"https://github.com/GetmeUK/ContentTools.git", | |
"https://github.com/dixso/custombox.git", | |
"https://github.com/date-fns/date-fns.git", | |
"https://github.com/frend/frend.co.git", | |
"https://github.com/bevacqua/dragula.git", | |
"https://github.com/imgix/drift.git", | |
"https://github.com/enyo/dropzone.git", | |
"https://github.com/michaelvillar/dynamics.js.git", | |
"https://github.com/tholman/elevator.js.git", | |
"https://github.com/ritz078/embed.js.git", | |
"https://github.com/eqcss/eqcss.git", | |
"https://github.com/kangax/fabric.js.git", | |
"https://github.com/viljamis/feature.js.git", | |
"https://github.com/chmln/flatpickr.git", | |
"https://github.com/grafijs/grafi.git", | |
"https://github.com/greensock/GreenSock-JS.git", | |
"https://github.com/WickyNilliams/headroom.js.git", | |
"https://github.com/Haroenv/holmes.git", | |
"https://github.com/bevacqua/horsey.git", | |
"https://github.com/bitshadow/iconate.git", | |
"https://github.com/impress/impress.js.git", | |
"https://github.com/tholman/intense-images.git", | |
"https://github.com/juliangarnier/anime.git", | |
"https://github.com/googlecreativelab/anypixel.git", | |
"https://github.com/michalsnik/aos.git", | |
"https://github.com/algolia/autocomplete.js.git", | |
"https://github.com/LeaVerou/awesomplete.git", | |
"https://github.com/kennethcachia/Background-Check.git", | |
"https://github.com/feimosi/baguetteBox.js.git", | |
"https://github.com/kazzkiq/balloon.css.git", | |
"https://github.com/rishabhp/bideo.js.git", | |
"https://github.com/dinbror/blazy.git", | |
"https://github.com/tictail/bounce.js.git", | |
"https://github.com/callmecavs/bricks.js.git", | |
} | |
func git_clone_url(url string, wg *sync.WaitGroup) { | |
defer fmt.Println("[Cloned]", url) | |
cmd := exec.Command("git", "clone", url) | |
cmd.Stdout = nil | |
err := cmd.Run() | |
if err != nil { | |
fmt.Println("[Failed]", url) | |
} | |
} | |
func main() { | |
var wg sync.WaitGroup | |
for _, url := range Urls { | |
wg.Add(1) | |
go func(u string) { | |
git_clone_url(u, &wg) | |
wg.Done() | |
}(url) | |
} | |
wg.Wait() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment