Skip to content

Instantly share code, notes, and snippets.

@dlsniper
Last active November 18, 2019 17:47
Show Gist options
  • Save dlsniper/59485eb18539da0b958eefeb3cb3f82b to your computer and use it in GitHub Desktop.
Save dlsniper/59485eb18539da0b958eefeb3cb3f82b to your computer and use it in GitHub Desktop.
small repo track all packages
#!/usr/bin/env bash
go get -u smallrepo.com/sml
GOPATH=/path/to/gopath sml track cloud.google.com/go collectd.org dmitri.shuralyov.com/app/changes dmitri.shuralyov.com/html/belt dmitri.shuralyov.com/route/github dmitri.shuralyov.com/scratch dmitri.shuralyov.com/service/change dmitri.shuralyov.com/state dmitri.shuralyov.com/website/gido git.apache.org/thrift.git github.com/AaronO/go-git-http github.com/AlekSi/pointer github.com/AndreasBriese/bbloom github.com/BurntSushi/toml github.com/DataDog/datadog-go github.com/Knetic/govaluate github.com/NYTimes/gziphandler github.com/PuerkitoBio/gocrawl github.com/PuerkitoBio/goquery github.com/PuerkitoBio/purell github.com/PuerkitoBio/urlesc github.com/RoaringBitmap/roaring github.com/Shopify/sarama github.com/TrueFurby/go-callvis github.com/Unknwon/cae github.com/VividCortex/gohistogram github.com/Yawning/chacha20 github.com/adtac/go-akismet github.com/afex/hystrix-go github.com/alcortesm/tgz github.com/alecthomas/chroma github.com/alecthomas/gometalinter github.com/alecthomas/kingpin github.com/alecthomas/template github.com/alecthomas/units github.com/alexkohler/prealloc github.com/anaskhan96/soup github.com/andybalholm/cascadia github.com/andygrunwald/go-gerrit github.com/anmitsu/go-shlex github.com/antchfx/htmlquery github.com/antchfx/xmlquery github.com/antchfx/xpath github.com/apache/thrift github.com/apex/log github.com/aphistic/golf github.com/armon/consul-api github.com/armon/go-metrics github.com/armon/go-radix github.com/arsham/figurine github.com/arsham/rainbow github.com/asaskevich/govalidator github.com/ashwanthkumar/slack-go-webhook github.com/aws/aws-sdk-go github.com/aws/aws-sdk-go-v2 github.com/aybabtme/rgbterm github.com/barnex/fmath github.com/beevik/ntp github.com/beorn7/perks github.com/bep/debounce github.com/bep/gitmap github.com/beyang/hgo github.com/bifurcation/mint github.com/blakesmith/ar github.com/bmizerany/pat github.com/boltdb/bolt github.com/bradfitz/go-smtpd github.com/bradfitz/gomemcache github.com/bradfitz/slice github.com/bradleyfalzon/ghinstallation github.com/caarlos0/ctrlc github.com/cactus/go-camo github.com/cactus/go-statsd-client github.com/campoy/unique github.com/casbin/casbin github.com/casbin/xorm-adapter github.com/cavaliercoder/go-cpio github.com/cenkalti/backoff github.com/cespare/xxhash github.com/chaseadamsio/goorgeous github.com/cheekybits/is github.com/chzyer/readline github.com/circonus-labs/circonus-gometrics github.com/circonus-labs/circonusllhist github.com/cjbassi/gotop github.com/clbanning/x2j github.com/cockroachdb/cockroach-go github.com/codegangsta/inject github.com/codegangsta/negroni github.com/coincircle/go-coinmarketcap github.com/common-nighthawk/go-figure github.com/coreos/bbolt github.com/coreos/etcd github.com/coreos/go-systemd github.com/coreos/pkg github.com/couchbase/ghistogram github.com/couchbase/moss github.com/cpuguy83/go-md2man github.com/cznic/b github.com/cznic/bufs github.com/cznic/exp github.com/cznic/fileutil github.com/cznic/internal github.com/cznic/kv github.com/cznic/lldb github.com/cznic/mathutil github.com/cznic/sortutil github.com/cznic/token github.com/cznic/zappy github.com/d2g/dhcp4 github.com/d2g/dhcp4client github.com/danwakefield/fnmatch github.com/davecgh/go-spew github.com/daviddengcn/go-colortext github.com/ddo/go-vue-handler github.com/denisenkom/go-mssqldb github.com/dgraph-io/badger github.com/dgrijalva/jwt-go github.com/dgryski/dgoogauth github.com/dgryski/dkeyczar github.com/dgryski/go-bitstream github.com/dgryski/go-farm github.com/dgryski/go-jump github.com/dgryski/go-tsz github.com/dinedal/textql github.com/disintegration/imaging github.com/djherbis/buffer github.com/djherbis/nio github.com/dlclark/regexp2 github.com/docopt/docopt-go github.com/dradtke/distchan github.com/dustin/go-broadcast github.com/dustin/go-coap github.com/dustin/go-humanize github.com/dustin/go-jsonpointer github.com/dustin/gojson github.com/dustin/gomemcached github.com/dustin/httputil github.com/dustin/seriesly github.com/dustin/yellow github.com/eapache/go-resiliency github.com/eapache/go-xerial-snappy github.com/eapache/queue github.com/edsrzf/mmap-go github.com/eknkc/amber github.com/elazarl/go-bindata-assetfs github.com/elgs/gojq github.com/elgs/gosplitargs github.com/emirpasic/gods github.com/esimov/pigo github.com/fatih/color github.com/fatih/structs github.com/fiorix/go-diameter github.com/fiorix/wsdl2go github.com/flynn/go-shlex github.com/franela/goreq github.com/fsnotify/fsnotify github.com/fullstorydev/grpcurl github.com/fzerorubigd/goql github.com/garyburd/redigo github.com/gdamore/encoding github.com/gdamore/tcell github.com/gernest/locstor github.com/gernest/util github.com/gernest/vectypresent github.com/gernest/xhr github.com/gin-contrib/sse github.com/gin-gonic/autotls github.com/gin-gonic/gin github.com/ginuerzh/gost github.com/git-chglog/git-chglog github.com/gliderlabs/ssh github.com/glycerine/go-unsnap-stream github.com/go-ego/autotls github.com/go-ego/ego github.com/go-ego/gpy github.com/go-ego/gse github.com/go-ego/murmur github.com/go-ego/re github.com/go-ego/riot github.com/go-gophers/gophers github.com/go-ini/ini github.com/go-kit/kit github.com/go-logfmt/logfmt github.com/go-martini/martini github.com/go-pg/pg github.com/go-pg/sharding github.com/go-redis/redis github.com/go-sql-driver/mysql github.com/go-stack/stack github.com/go-vgo/grpclb github.com/go-vgo/gt github.com/go-xorm/builder github.com/go-xorm/core github.com/go-xorm/xorm github.com/gobuffalo/buffalo github.com/gobuffalo/envy github.com/gobuffalo/makr github.com/gobuffalo/packr github.com/gobuffalo/plush github.com/gobuffalo/pop github.com/gobuffalo/tags github.com/gobuffalo/uuid github.com/gobuffalo/validate github.com/gobuffalo/x github.com/gobwas/glob github.com/gocolly/colly github.com/godbus/dbus github.com/gogo/protobuf github.com/gohugoio/hugo github.com/gojektech/heimdall github.com/gojektech/valkyrie github.com/goji/param github.com/gokrazy/firmware github.com/gokrazy/gokrazy github.com/gokrazy/internal github.com/gokrazy/kernel github.com/gokrazy/tools github.com/golang/dep github.com/golang/freetype github.com/golang/glog github.com/golang/groupcache github.com/golang/mock github.com/golang/protobuf github.com/golang/snappy github.com/gomarkdown/markdown github.com/gomodule/redigo github.com/google/btree github.com/google/codesearch github.com/google/go-cmp github.com/google/go-github github.com/google/go-querystring github.com/google/gops github.com/google/martian github.com/google/pprof github.com/google/shlex github.com/googleapis/gax-go github.com/gopherjs/gopherjs github.com/gopherjs/vecty github.com/goreleaser/archive github.com/goreleaser/goreleaser github.com/goreleaser/nfpm github.com/gorilla/context github.com/gorilla/mux github.com/gorilla/securecookie github.com/gorilla/sessions github.com/gorilla/websocket github.com/goruby/goruby github.com/gosimple/slug github.com/gotpl/gtfmt github.com/graph-gophers/graphql-go github.com/graphql-go/graphql github.com/gregjones/httpcache github.com/h8liu/dig8 github.com/h8liu/gogfm2 github.com/h8liu/randpwd github.com/h8liu/webhere github.com/hashicorp/consul github.com/hashicorp/errwrap github.com/hashicorp/go-cleanhttp github.com/hashicorp/go-immutable-radix github.com/hashicorp/go-msgpack github.com/hashicorp/go-multierror github.com/hashicorp/go-retryablehttp github.com/hashicorp/go-sockaddr github.com/hashicorp/go-version github.com/hashicorp/golang-lru github.com/hashicorp/hcl github.com/hashicorp/memberlist github.com/hashicorp/yamux github.com/howeyc/gopass github.com/hudl/fargo github.com/ianlancetaylor/demangle github.com/iawia002/annie github.com/imdario/mergo github.com/influxdata/influxdb github.com/influxdata/influxql github.com/influxdata/usage-client github.com/influxdata/yamux github.com/influxdata/yarpc github.com/ishidawataru/sctp github.com/itchyny/bed github.com/jawher/mow.cli github.com/jbenet/go-context github.com/jdkato/prose github.com/jellevandenhooff/dkim github.com/jessevdk/go-assets github.com/jessevdk/go-flags github.com/jhump/protoreflect github.com/jinzhu/gorm github.com/jinzhu/inflection github.com/jinzhu/now github.com/jmcvetta/randutil github.com/jmespath/go-jmespath github.com/jmoiron/sqlx github.com/joho/godotenv github.com/jpillora/backoff github.com/jroimartin/gocui github.com/json-iterator/go github.com/jsternberg/zap-logfmt github.com/jtolds/gls github.com/julienschmidt/httprouter github.com/justinas/alice github.com/jwilder/encoding github.com/kardianos/osext github.com/kdar/factorlog github.com/kdar/factorlog-contrib github.com/kennygrant/sanitize github.com/kevinburke/nacl github.com/kevinburke/ssh_config github.com/kisielk/errcheck github.com/kisielk/godepgraph github.com/kisielk/gotool github.com/kisielk/sqlstruct github.com/klauspost/compress github.com/klauspost/cpuid github.com/kr/fs github.com/kr/pretty github.com/kr/pty github.com/kr/text github.com/kyokomi/emoji github.com/lafikl/consistent github.com/last-ent/ext2-explorer github.com/lib/pq github.com/lightstep/lightstep-tracer-go github.com/lucasb-eyer/go-colorful github.com/magiconair/properties github.com/manucorporat/stats github.com/markbates/deplist github.com/markbates/going github.com/markbates/grift github.com/markbates/inflect github.com/markbates/refresh github.com/markbates/sigtx github.com/martini-contrib/render github.com/masterminds/semver github.com/matryer/try github.com/matryer/vice github.com/mattn/anko github.com/mattn/go-colorable github.com/mattn/go-isatty github.com/mattn/go-runewidth github.com/mattn/go-shellwords github.com/mattn/go-sqlite3 github.com/mattn/go-xmlrpc github.com/mattn/go-zglob github.com/mattn/gom github.com/mattn/goreman github.com/mattn/gover github.com/mattn/goveralls github.com/matttproud/golang_protobuf_extensions github.com/mgutz/ansi github.com/microcosm-cc/bluemonday github.com/miekg/dns github.com/miekg/mmark github.com/miguelmota/cointop github.com/miguelmota/go-coinmarketcap github.com/mikioh/tcpinfo github.com/mikioh/tcpopt github.com/minio/minio-go github.com/mitchellh/go-homedir github.com/mitchellh/mapstructure github.com/mitchellh/multistep github.com/modern-go/concurrent github.com/modern-go/reflect2 github.com/monochromegane/terminal github.com/monoculum/formam github.com/montanaflynn/stats github.com/moul/http2curl github.com/mschoch/gouchstore github.com/mschoch/mergesort github.com/muesli/cache2go github.com/muesli/crunchy github.com/muesli/smartcrop github.com/mwitkow/go-conntrack github.com/napsy/go-css github.com/nats-io/go-nats github.com/nats-io/go-nats-streaming github.com/nats-io/nuid github.com/nbutton23/zxcvbn-go github.com/neelance/sourcemap github.com/nfnt/resize github.com/nicksnyder/go-i18n github.com/nsf/gocode github.com/nsf/termbox-go github.com/nsqio/go-nsq github.com/nwidger/jsoncolor github.com/ogier/pflag github.com/oklog/oklog github.com/oklog/run github.com/oklog/ulid github.com/olekukonko/tablewriter github.com/onsi/ginkgo github.com/onsi/gomega github.com/op/go-logging github.com/opentracing-contrib/go-observer github.com/opentracing/basictracer-go github.com/opentracing/opentracing-go github.com/openzipkin/zipkin-go github.com/openzipkin/zipkin-go-opentracing github.com/oxtoacart/bpool github.com/parnurzeal/gorequest github.com/patrickmn/go-cache github.com/paulbellamy/ratecounter github.com/pborman/uuid github.com/pelletier/go-buffruneio github.com/pelletier/go-toml github.com/performancecopilot/speed github.com/peterbourgon/diskv github.com/peterh/liner github.com/philhofer/fwd github.com/pierrec/lz4 github.com/pierrec/xxHash github.com/pkg/errors github.com/pkg/sftp github.com/pquerna/ffjson github.com/prometheus/client_golang github.com/prometheus/client_model github.com/prometheus/common github.com/prometheus/procfs github.com/qor/qor github.com/qor/roles github.com/qor/validations github.com/rafamds/miter github.com/rainycape/unidecode github.com/rakyll/boom github.com/rakyll/coop github.com/rakyll/go-hardware github.com/rakyll/hey github.com/rakyll/statik github.com/raviqqe/hamt github.com/raviqqe/liche github.com/rcrowley/go-metrics github.com/reiver/go-porterstemmer github.com/remyoudompheng/bigfft github.com/retailnext/hllpp github.com/rogpeppe/fastuuid github.com/romanyx/mdopen github.com/rs/cors github.com/rs/jplot github.com/rsms/gotalk github.com/russross/blackfriday github.com/rwcarlsen/goexif github.com/saintfish/chardet github.com/samuel/go-zookeeper github.com/sanderhahn/gozip github.com/satori/go.uuid github.com/sean-/seed github.com/sean-/smallz github.com/serenize/snaker github.com/sergi/go-diff github.com/shadowsocks/shadowsocks-go github.com/shirou/gopsutil github.com/shogo82148/go-shuffle github.com/shurcooL/component github.com/shurcooL/events github.com/shurcooL/frontend github.com/shurcooL/github_flavored_markdown github.com/shurcooL/githubv4 github.com/shurcooL/go github.com/shurcooL/gofontwoff github.com/shurcooL/gopherjslib github.com/shurcooL/graphql github.com/shurcooL/highlight_diff github.com/shurcooL/highlight_go github.com/shurcooL/home github.com/shurcooL/htmlg github.com/shurcooL/httperror github.com/shurcooL/httpfs github.com/shurcooL/httpgzip github.com/shurcooL/issues github.com/shurcooL/issuesapp github.com/shurcooL/markdownfmt github.com/shurcooL/notifications github.com/shurcooL/notificationsapp github.com/shurcooL/octicon github.com/shurcooL/octiconssvg github.com/shurcooL/reactions github.com/shurcooL/resume github.com/shurcooL/sanitized_anchor_name github.com/shurcooL/users github.com/shurcooL/vfsgen github.com/shurcooL/webdavfs github.com/sirupsen/logrus github.com/smallfish/simpleyaml github.com/smartystreets/assertions github.com/smartystreets/go-aws-auth github.com/smartystreets/goconvey github.com/smartystreets/logging github.com/snail007/goproxy github.com/soniah/gosnmp github.com/sony/gobreaker github.com/sourcegraph/annotate github.com/sourcegraph/checkup github.com/sourcegraph/syntaxhighlight github.com/spf13/afero github.com/spf13/cast github.com/spf13/cobra github.com/spf13/fsync github.com/spf13/jwalterweatherman github.com/spf13/nitro github.com/spf13/pflag github.com/spf13/viper github.com/spolu/warp github.com/src-d/gcfg github.com/stathat/go github.com/streadway/amqp github.com/streadway/handy github.com/stretchr/objx github.com/stretchr/testify github.com/syndtr/goleveldb github.com/tambet/go-asana github.com/tdewolff/minify github.com/tdewolff/parse github.com/temoto/robotstxt github.com/thinkerou/favicon github.com/timtadh/data-structures github.com/timtadh/getopt github.com/timtadh/lexmachine github.com/tink-ab/tempfile github.com/tinylib/msgp github.com/tj/go-elastic github.com/tj/go-kinesis github.com/tj/go-spin github.com/tomnomnom/gron github.com/ttacon/chalk github.com/tv42/httpunix github.com/twpayne/go-geom github.com/twpayne/go-kml github.com/twpayne/go-polyline github.com/u-root/u-root github.com/uber/go-torch github.com/ugorji/go github.com/ungerik/go-dry github.com/ungerik/go-rest github.com/ungerik/go3d github.com/unixpickle/gobfuscate github.com/unrolled/secure github.com/urfave/cli github.com/urfave/negroni github.com/valyala/bytebufferpool github.com/valyala/fasthttp github.com/valyala/fastrpc github.com/valyala/goloris github.com/valyala/gorpc github.com/valyala/httpteleport github.com/valyala/quicktemplate github.com/valyala/tcplisten github.com/vedhavyas/zwfp github.com/vmihailenco/msgpack github.com/wcharczuk/go-chart github.com/xanzy/ssh-agent github.com/xlab/treeprint github.com/xordataexchange/crypt github.com/xrash/smetrics github.com/yosssi/ace github.com/yosssi/ace-proxy github.com/yosssi/gohtml github.com/zenazn/goji github.com/ziutek/mymysql github.com/ziutek/syslog github.com/zpatrick/go-bytesize github.com/zricethezav/gitleaks go.opencensus.io go.uber.org/atomic go.uber.org/automaxprocs go.uber.org/config go.uber.org/dig go.uber.org/fx go.uber.org/goleak go.uber.org/multierr go.uber.org/protoidl go.uber.org/ratelimit go.uber.org/sally go.uber.org/thriftrw go.uber.org/tools go.uber.org/torch go.uber.org/zap go4.org golang.org/x/blog golang.org/x/build golang.org/x/crypto golang.org/x/image golang.org/x/net golang.org/x/oauth2 golang.org/x/perf golang.org/x/sync golang.org/x/sys golang.org/x/text golang.org/x/time golang.org/x/tools google.golang.org/api google.golang.org/appengine google.golang.org/genproto google.golang.org/grpc gopkg.in/alecthomas/kingpin.v2 gopkg.in/alecthomas/kingpin.v3-unstable gopkg.in/bsm/ratelimit.v1 gopkg.in/check.v1 gopkg.in/gcfg.v1 gopkg.in/go-playground/validator.v8 gopkg.in/inf.v0 gopkg.in/mail.v2 gopkg.in/natefinch/lumberjack.v2 gopkg.in/neurosnap/sentences.v1 gopkg.in/pipe.v2 gopkg.in/redis.v3 gopkg.in/reform.v1 gopkg.in/russross/blackfriday.v2 gopkg.in/src-d/go-billy.v4 gopkg.in/src-d/go-git-fixtures.v3 gopkg.in/src-d/go-git.v4 gopkg.in/urfave/cli.v1 gopkg.in/validator.v2 gopkg.in/warnings.v0 gopkg.in/yaml.v1 gopkg.in/yaml.v2 gotest.tools grpc.go4.org honnef.co/go/js/dom neugram.io/ng shanhu.io/aries shanhu.io/misc shanhu.io/smake shanhu.io/sml shanhu.io/smlvm shanhu.io/third shanhu.io/tools smallrepo.com/base smallrepo.com/sml sourcegraph.com/sourcegraph/appdash sourcegraph.com/sourcegraph/appdash-data sourcegraph.com/sourcegraph/go-diff sourcegraph.com/sourcegraph/go-git sourcegraph.com/sourcegraph/go-vcs sourcegraph.com/sqs/pbtypes
[11:55:08 PM] [/mnt/d/go-sml/src]
-> % cloc .
63013 text files.
47503 unique files.
26451 files ignored.
github.com/AlDanial/cloc v 1.76 T=389.80 s (95.9 files/s, 40959.8 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
Go 28346 1287947 2408168 8502187
JSON 1193 313 0 2160420
C 79 32367 132838 269476
Markdown 2264 60004 0 180464
JavaScript 452 19584 25222 165921
C++ 186 15584 13693 85629
HTML 391 14014 2488 79789
C/C++ Header 227 7527 27703 29891
XML 48 1475 1571 29604
Assembly 121 3495 3892 24147
Java 212 4568 9673 24029
CSS 107 2480 632 21604
Protocol Buffers 326 6104 12547 18903
Python 157 4100 4116 16750
C# 149 2862 4170 16280
D 64 2772 5809 13324
Bourne Shell 392 2532 4494 12354
YAML 658 1538 746 12185
Pascal 37 2608 2133 10761
make 363 2930 3921 10603
Ruby 123 1732 2245 9168
PHP 76 1495 3068 7074
Rust 25 1403 2063 6625
Erlang 53 1145 1301 6439
Perl 55 1355 1565 6337
Haxe 75 1501 2396 5993
m4 23 628 273 4383
Dart 50 1163 1000 4089
yacc 8 364 92 3822
Sass 56 354 56 3799
Swift 44 1034 911 3611
Bourne Again Shell 79 840 581 3549
ERB 54 871 0 3221
TOML 140 989 1304 3112
Objective C 21 886 440 3062
Haskell 32 604 649 2949
Dockerfile 68 575 560 2647
Lua 15 384 323 2367
CMake 37 406 872 2038
DOS Batch 51 306 123 1729
MSBuild script 21 51 245 1494
ActionScript 32 358 808 1261
Smalltalk 13 242 20 1235
Handlebars 37 7 14 1098
Cucumber 71 166 69 1084
Lisp 15 208 225 1018
OCaml 13 135 202 958
TeX 1 172 24 861
Ant 8 163 154 827
HCL 78 119 34 747
Groovy 13 133 271 491
Elm 2 152 8 485
diff 30 15 143 326
TypeScript 3 130 478 315
XSD 3 34 20 278
vim script 10 57 54 211
PowerShell 3 38 30 207
Maven 2 11 16 195
CoffeeScript 1 38 0 194
SQL 20 22 18 146
awk 2 29 79 131
ANTLR Grammar 43 3 0 118
INI 9 18 10 117
Scheme 100 0 0 100
GraphQL 2 23 2 97
Tcl/Tk 1 17 0 61
builder 2 2 0 31
Fish Shell 1 7 1 22
Razor 3 10 48 19
ASP.NET 1 2 0 17
Mustache 1 0 0 4
--------------------------------------------------------------------------------
SUM: 37398 1495201 2686611 11784483
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment