MCPcopy Index your code
hub / github.com/chromium/hstspreload.org

github.com/chromium/hstspreload.org @v2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0 ↗ · + Follow
95 symbols 221 edges 19 files 48 documented · 51%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

hstspreload.appspot.com

Build Status

This folder contains the source for v2 of hstspreload.appspot.com.

See the app-engine branch for the v1 code currently running on https://hstspreload.appspot.com/

Disclaimer

This project is used by the Chromium team to maintain the HSTS preload list. This is not an official Google product.

Extension points exported contracts — how you extend this code

Database (Interface)
A Database is an abstraction over Datastore with hstspreload-specific database functions. [2 implementers]
database/database.go
Backend (Interface)
Backend is an abstraction over {Local, Prod}Datastore that allows callers to construct a new client without having to kn [2 …
database/gcd/gcd.go

Core symbols most depended-on inside this repo

HandleFunc
called by 8
hstsserver.go
NewClient
called by 6
database/gcd/gcd.go
StateForDomain
called by 5
database/database.go
writeJSONOrBust
called by 5
api/api.go
Handle
called by 4
hstsserver.go
DomainsWithStatus
called by 4
database/database.go
getASCIIDomain
called by 4
api/domain_handlers.go
PutStates
called by 3
database/database.go

Shape

Method 40
Function 35
Struct 15
Interface 4
TypeAlias 1

Languages

Go94%
TypeScript6%

Modules by API surface

database/database.go16 symbols
api/wrappers.go15 symbols
database/gcd/gcd.go10 symbols
database/mock.go8 symbols
database/database_test.go7 symbols
api/api_test.go6 symbols
hstsserver.go5 symbols
database/domainstate.go5 symbols
api/domain_handlers.go5 symbols
api/api.go4 symbols
files/static/js/base.js3 symbols
server.go2 symbols

For agents

$ claude mcp add hstspreload.org \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact