Config files
Xerg reads the file list of each repo, then the files that say what the repo uses and where it runs: Wherever they are in the repo:.gitlab-ci.yml, .sentryclirc, amplify.yaml, amplify.yml, app.json, azure-pipelines.yml, cdk.json, Chart.yaml, cloudbuild.yaml, cloudbuild.yml, doppler.yaml, doppler.yml, drizzle.config.js, drizzle.config.mjs, drizzle.config.ts, firebase.json, fly.toml, Gemfile, go.mod, kustomization.yaml, lerna.json, netlify.toml, nx.json, package.json, Pipfile, pnpm-workspace.yaml, Procfile, pyproject.toml, railway.json, railway.toml, render.yaml, render.yml, requirements.txt, schema.prisma, serverless.yaml, serverless.yml, turbo.json, vercel.json, wrangler.json, wrangler.jsonc, wrangler.toml.
It also reads, by pattern:
- Dockerfiles and Docker Compose files
- Terraform (
.tf) files - GitHub Actions workflows, GitLab CI (
.gitlab-ci.yml, the files it includes under.gitlab/or named*.gitlab-ci.yml), Bitbucket Pipelines (bitbucket-pipelines.yml), CircleCI and Azure Pipelines configs. From CI it keeps the actions and pipes used, deploy steps, and the names of variables, never their values - Kubernetes manifests in
k8s/orkubernetes/folders, and Helm charts - Sentry, Supabase and DigitalOcean App Platform configs
docs.jsonandmint.json(Mintlify docs sites)- Repository MCP configs:
.mcp.json,.cursor/mcp.json,.vscode/mcp.jsonand.codex/config.toml. See MCP servers on the graph CODEOWNERS, for who owns what: GitHub’s locations (.github/, the root,docs/) and GitLab’s (.gitlab/too), with GitLab’s sections- Example env files, like
.env.example,.env.sample,.sample.env,.example.env,.template.envand Cloudflare’s.dev.vars.example
app.json files are read as configuration, without running code. Expo’s enabled update URL can identify EAS Update; an explicit Heroku stack or buildpack can identify Heroku. The filename alone identifies neither. Update URLs and their project IDs or query strings aren’t kept.
It skips dependency, build and test folders (node_modules, vendor, dist, build, tests, fixtures, examples, docs and the like), and any app an owner or admin leaves out in setup: nothing in that app’s folder is listed or read.
Each folder with its own manifest (a package.json that runs, go.mod, pyproject.toml and so on) or a Cloudflare wrangler config is an app on the graph.
A repo with a single app at its root is drawn as one repo tile and counts as one app. A repo containing only schema documentation has no app.
Source code, narrowly
Some services are called over plain HTTP, with no package or env variable to give them away. To find those, Xerg downloads source files and scans them (on by default; an owner or admin can turn it off in setup, and Xerg then reads config files and env variable names only):- It looks for imports and API hostnames, matched against the services Xerg recognizes. It also recognizes calls to
getExpoPushTokenAsyncbound to anexpo-notificationsimport, which identify Expo Push. Local notification methods and native device-token methods do not identify Expo Push. - It keeps only the service, the file, the line and the signal type (import, API call, endpoint, OAuth configuration, navigation link or asset load). Never the code, and never the hostname itself.
- Files named for a service (
stripe.ts,mixpanelClient.ts) come first, then paths likeanalytics,billingorwebhook, then the shallowest files. - It skips tests, type declarations, generated, vendored and minified files.
- A file that names the API hostnames of 8 or more services is taken for a list of them (a catalog, an SDK’s providers, an allowlist), not code calling them: its unclassified hostnames don’t count. Explicit API calls, asset loads, navigation references and imports are retained.
Env variables: names, never values
Xerg downloads example env files and keeps only the variable names, likeSTRIPE_SECRET_KEY, so it can tell which services an app uses and where a key is used. It drops the values without keeping them, and it never downloads real .env files.