ToolSura Blog
ArticlesAboutContact
Search

Stay in the loop

Join thousands of developers getting weekly insights into modern web development, AI tools, and productivity.

© 2026 ToolSura Blog
AboutContactPrivacy PolicyTerms of ServiceRSS

    Table of Contents

    PrerequisitesInstallBuild from source (alternative)Tell it your credentialsRead the outputNext stepsSources
    HomeToolsura BlogArticle

    Step 3: Install, build, and run your first inspection

    A

    Abhay Khant

    Jan 1, 1970 • 2 min read

    Step 3: Install, build, and run your first inspection
    Cartoon fox with a compass beside a terminal showing gsc-indexer install, build, and run steps ending in Inspection complete

    You've got sa.json from the service-account setup. Now let's build the tool and get your first INDEXED result.

    Prerequisites

    • Go 1.25 or newer installed. Check with:

      go version
      

      If that's missing, install Go 1.25 or newer from go.dev/dl.

    • Your sa.json file from the previous step.

    Install

    The fastest way is go install — it builds the tool and drops the gsc-indexer binary into $GOBIN (default ~/go/bin):

    go install -v github.com/toolsura/gsc-indexer@latest
    

    Make sure $GOBIN is on your PATH. If it isn't, add this to your shell profile:

    export PATH="$PATH:$(go env GOPATH)/bin"
    

    Once that's set you can run gsc-indexer from any directory.

    Build from source (alternative)

    Prefer to compile from a clone?

    git clone https://github.com/toolsura/gsc-indexer.git
    cd gsc-indexer
    go build -o gsc-indexer .
    

    That produces an executable named gsc-indexer in the folder. There's no separate installer.

    Tell it your credentials

    Pass the key file directly:

    gsc-indexer -creds /path/to/sa.json "https://www.toolsura.com/"
    

    Or use the environment variable (set it once per terminal session):

    export GSC_CREDENTIALS=/path/to/sa.json
    gsc-indexer "https://www.toolsura.com/"
    

    Read the output

    A successful first run looks like:

    [1/1] • https://www.toolsura.com/  [INDEXED]
        coverage: Submitted and indexed | fetch: SUCCESSFUL | robots:  | last crawl: 2026-07-18T07:05:51Z
    → inspection submitted for all URLs; Google will re-crawl on next pass.
    
    • [1/1]. position in this run.
    • [INDEXED]. Google already has the page.
    • The coverage/fetch/robots lines are GSC's inspection details.
    • The last line means the re-crawl request was submitted.

    If you see [NOT INDEXED] or an error instead, don't panic. that's covered in understanding your results and the troubleshooting guide.

    Next steps

    • Decode the verdict: understanding results.
    • Have many URLs? Batch files, stdin, and sitemaps.

    Sources

    • Google Search Console
    • Google Search APIs overview
    • Service account OAuth (Google Identity)
    • About service accounts (Google Cloud IAM)
    • Verify site ownership
    • Indexing API (JobPosting/BroadcastEvent only)
    • Request indexing / inspect a URL

    Frequently Asked Questions

    developer-tools
    cli-tools
    open-source
    automation
    A

    About Abhay Khant

    A passionate tech enthusiast and professional developer specializing in AI, automation, and modern web development. Sharing insights and guides to help others build better software faster.

    View full profile →

    Join the Newsletter

    Get articles like this delivered to your inbox every Thursday.

    What to read next

    Stop Windows from Installing Apps Without Permission
    Jan 1, 197010 min read

    Stop Windows from Installing Apps Without Permission

    LG and Dell monitors silently push apps via Windows Update. Learn how to stop Windows from installing apps without permission and detect what's on your PC.

    AAbhay Khant
    Indexing many URLs: batch files, stdin, and sitemaps
    Jan 1, 19702 min read

    Indexing many URLs: batch files, stdin, and sitemaps

    Submit URLs to Google in bulk with gsc-indexer: batch files, stdin pipes, and sitemap expansion into every <loc> (capped at 50,000 URLs).

    AAbhay Khant
    Big runs without getting throttled: -delay, -q, and -dry-run
    Jan 1, 19702 min read

    Big runs without getting throttled: -delay, -q, and -dry-run

    Run gsc-indexer over thousands of URLs without Google throttling you: raise -delay, use -q for clean progress, and survive 429/5xx backoff.

    AAbhay Khant