Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.6% on proxy.golang.org
Top 7.0% forks on proxy.golang.org

proxy.golang.org : github.com/coxley/codesearch/cs

GraphQL specifics Unfortunately the strongly-typed gql libs for Go aren't perfect for dynamic-length queries. If the entire query structure isn't known at compile time, there's not a great way to model it. So we use text/template with a bit of care. The alternative is to make a bunch of queries in parallel. Let's err on the side of not increasing surface area for issues - especially since GitHub likes to ratelimit. This is the high-level flow: - Run search with given terms - Coerce results into our own minimal structure - Look up default branch names for every returned repo - Fetch file contents for every returned Path - Overlay colorized text matches onto the contents - Write each line to stdout

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/coxley/codesearch/cs
Keywords: cli, code, codesearch, command-line, enterprise, find, free, github, grep, livegrep, productivity, ripgrep, search, sourcegraph, terminal
License: Apache-2.0
Latest release: over 1 year ago
First release: over 1 year ago
Namespace: github.com/coxley/codesearch
Stars: 6 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 19 days ago

    Loading...
    Readme
    Loading...