Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
graphql
Package graphql implements Githome's GraphQL API v4.
|
Package graphql implements Githome's GraphQL API v4. |
|
graphql/dataloader
Package dataloader provides a generic per-request batch loader.
|
Package dataloader provides a generic per-request batch loader. |
|
rest
Package rest implements Githome's REST API v3.
|
Package rest implements Githome's REST API v3. |
|
Package auth turns a raw HTTP credential into a normalized Actor and decides what that actor may do.
|
Package auth turns a raw HTTP credential into a normalized Actor and decides what that actor may do. |
|
cmd
|
|
|
githome
command
Command githome runs the Githome server.
|
Command githome runs the Githome server. |
|
githome-conform
command
Command githome-conform certifies a running Githome instance against the compatibility matrix: it points at a base URL with an auth token and a target repository, runs the section-3 surface (repository read, conditional requests, issue listing and pagination, the search endpoints, and GraphQL introspection plus a connection query), and prints a pass/fail report.
|
Command githome-conform certifies a running Githome instance against the compatibility matrix: it points at a base URL with an auth token and a target repository, runs the section-3 surface (repository read, conditional requests, issue listing and pagination, the search endpoints, and GraphQL introspection plus a connection query), and prints a pass/fail report. |
|
githome-migrate
command
Command githome-migrate applies or rolls back Githome's database migrations.
|
Command githome-migrate applies or rolls back Githome's database migrations. |
|
githome-realworld-ingest
command
Command githome-realworld-ingest runs the two-stage real-world corpus pipeline: Stage A exports public repository metadata and git history into a pinned, normalized snapshot, and Stage B seeds that snapshot into a target store.
|
Command githome-realworld-ingest runs the two-stage real-world corpus pipeline: Stage A exports public repository metadata and git history into a pinned, normalized snapshot, and Stage B seeds that snapshot into a target store. |
|
Package config loads and validates Githome's runtime configuration from the environment (with an optional file overlay) into a single immutable Config.
|
Package config loads and validates Githome's runtime configuration from the environment (with an optional file overlay) into a single immutable Config. |
|
Package conform certifies a Githome instance against the compatibility matrix.
|
Package conform certifies a Githome instance against the compatibility matrix. |
|
Package domain holds Githome's business logic and value objects.
|
Package domain holds Githome's business logic and value objects. |
|
Package etag computes deterministic HTTP entity tags for Githome responses.
|
Package etag computes deterministic HTTP entity tags for Githome responses. |
|
Package fe mounts the Githome web front: the human-facing, server-rendered HTML surface that sits beside the REST and GraphQL APIs in the same binary.
|
Package fe mounts the Githome web front: the human-facing, server-rendered HTML surface that sits beside the REST and GraphQL APIs in the same binary. |
|
assets
Package assets owns the Githome web front's built static assets: the content-hashed CSS and JS bundles, the manifest that maps a logical name to its hashed file, and the Octicon icon registry the render layer inlines.
|
Package assets owns the Githome web front's built static assets: the content-hashed CSS and JS bundles, the manifest that maps a logical name to its hashed file, and the Octicon icon registry the render layer inlines. |
|
assets/build
command
Command build regenerates the embedded web-front bundle in fe/assets/dist.
|
Command build regenerates the embedded web-front bundle in fe/assets/dist. |
|
render
Package render is the Githome web front's html/template engine.
|
Package render is the Githome web front's html/template engine. |
|
route
Package route holds the Githome web front's URL-space rules: the reserved top-level names that a user or organization login may not take, and the ref-versus-path split that the tree and blob URLs need.
|
Package route holds the Githome web front's URL-space rules: the reserved top-level names that a user or organization login may not take, and the ref-versus-path split that the tree and blob URLs need. |
|
view
Package view builds the view models the render layer turns into HTML.
|
Package view builds the view models the render layer turns into HTML. |
|
web/auth
Package auth holds the Githome web front's authentication handlers: sign-in, sign-up, and sign-out.
|
Package auth holds the Githome web front's authentication handlers: sign-in, sign-up, and sign-out. |
|
web/checks
Package checks holds the Githome web front's commit-checks surface: the page at /{owner}/{repo}/checks/{ref} that shows the status-check rollup for a ref, its check-run rows, and its commit-status rows.
|
Package checks holds the Githome web front's commit-checks surface: the page at /{owner}/{repo}/checks/{ref} that shows the status-check rollup for a ref, its check-run rows, and its commit-status rows. |
|
web/compare
Package compare holds the Githome web front's branch-comparison handlers: the branch picker that starts a comparison, and the range view that shows the three-dot diff between two branches with an optional pull-request creation form.
|
Package compare holds the Githome web front's branch-comparison handlers: the branch picker that starts a comparison, and the range view that shows the three-dot diff between two branches with an optional pull-request creation form. |
|
web/dashboard
Package dashboard holds the global, viewer-scoped lists at the reserved top-level /issues and /pulls names: the cross-repo "your issues" and "your pull requests" pages (spec doc 02 section 1.1, doc 09 section 1.6).
|
Package dashboard holds the global, viewer-scoped lists at the reserved top-level /issues and /pulls names: the cross-repo "your issues" and "your pull requests" pages (spec doc 02 section 1.1, doc 09 section 1.6). |
|
web/home
Package home holds the Githome web front's landing surface: the root page at / and its named twin at /dashboard.
|
Package home holds the Githome web front's landing surface: the root page at / and its named twin at /dashboard. |
|
web/issues
Package issues holds the Githome web front's issues handlers: the index with its search-and-filter bar, the detail page with its comment timeline and sidebar, the comment composer, the reactions, and the new-issue form.
|
Package issues holds the Githome web front's issues handlers: the index with its search-and-filter bar, the detail page with its comment timeline and sidebar, the comment composer, the reactions, and the new-issue form. |
|
web/notifications
Package notifications holds the viewer-scoped notifications inbox at the reserved top-level /notifications name (spec doc 02 section 1.1).
|
Package notifications holds the viewer-scoped notifications inbox at the reserved top-level /notifications name (spec doc 02 section 1.1). |
|
web/profile
Package profile holds the Githome web front's profile handlers: the user and organization overview at /{owner} and its repositories tab.
|
Package profile holds the Githome web front's profile handlers: the user and organization overview at /{owner} and its repositories tab. |
|
web/pulls
Package pulls holds the Githome web front's pull-request handlers: the index with its state tabs, the PR shell the four tabs hang off, the Conversation timeline, the Commits tab, the read-only Files-changed diff, and the merge box with its poll fragment and merge mutation.
|
Package pulls holds the Githome web front's pull-request handlers: the index with its state tabs, the PR shell the four tabs hang off, the Conversation timeline, the Commits tab, the read-only Files-changed diff, and the merge box with its poll fragment and merge mutation. |
|
web/repo
Package repo holds the Githome web front's code-browsing handlers: the repo home, the tree and blob views, the raw byte view, commit history, the branch and tag overviews, and the file finder.
|
Package repo holds the Githome web front's code-browsing handlers: the repo home, the tree and blob views, the raw byte view, commit history, the branch and tag overviews, and the file finder. |
|
web/reposettings
Package reposettings holds the Githome web front's repository settings handlers.
|
Package reposettings holds the Githome web front's repository settings handlers. |
|
web/search
Package search holds the Githome web front's search surface: the global /search page and the in-repo /{owner}/{repo}/search page.
|
Package search holds the Githome web front's search surface: the global /search page and the in-repo /{owner}/{repo}/search page. |
|
web/settings
Package settings holds the Githome web front's account settings handlers.
|
Package settings holds the Githome web front's account settings handlers. |
|
webmw
Package webmw holds the Githome web front's middleware: the signed session cookie that resolves the viewer, the color-mode cookie, the CSRF guard, the one-shot flash cookie, and the panic recovery that renders the HTML error page.
|
Package webmw holds the Githome web front's middleware: the signed session cookie that resolves the viewer, the color-mode cookie, the CSRF guard, the one-shot flash cookie, and the panic recovery that renders the HTML error page. |
|
Package git is Githome's read access to the bare repositories on disk.
|
Package git is Githome's read access to the bare repositories on disk. |
|
Package gittransport serves git clone and fetch over the Git Smart HTTP protocol.
|
Package gittransport serves git clone and fetch over the Git Smart HTTP protocol. |
|
Package jsondiff makes "100% compatible with GitHub" mechanical.
|
Package jsondiff makes "100% compatible with GitHub" mechanical. |
|
Package markup renders GitHub Flavored Markdown to sanitized, trusted HTML and highlights source code, for BOTH the web frontend and the REST text/html media type.
|
Package markup renders GitHub Flavored Markdown to sanitized, trusted HTML and highlights source code, for BOTH the web frontend and the REST text/html media type. |
|
Package nodeid encodes and decodes the opaque identifiers Githome uses for the GraphQL `id` field and the REST `node_id` field.
|
Package nodeid encodes and decodes the opaque identifiers Githome uses for the GraphQL `id` field and the REST `node_id` field. |
|
Package presenter renders domain values into the exact wire shapes GitHub emits.
|
Package presenter renders domain values into the exact wire shapes GitHub emits. |
|
gqlmodel
Package gqlmodel holds the hand-written Go types that back Githome's GraphQL object types and scalars.
|
Package gqlmodel holds the hand-written Go types that back Githome's GraphQL object types and scalars. |
|
restmodel
Package restmodel holds the exact JSON wire structs Githome serves on the REST API.
|
Package restmodel holds the exact JSON wire structs Githome serves on the REST API. |
|
Package realworld is the real-world ingest subsystem: it exports the public metadata and git history of a handful of the largest GitHub-native repositories into a pinned, normalized corpus, then seeds that corpus into a Githome instance so the read, write, search, git, and event paths can be exercised at a scale the small development fixture never reaches.
|
Package realworld is the real-world ingest subsystem: it exports the public metadata and git history of a handful of the largest GitHub-native repositories into a pinned, normalized corpus, then seeds that corpus into a Githome instance so the read, write, search, git, and event paths can be exercised at a scale the small development fixture never reaches. |
|
Package search parses GitHub's search query mini-language into the structured form the domain resolves and the store filters on.
|
Package search parses GitHub's search query mini-language into the structured form the domain resolves and the store filters on. |
|
Package store is the single entry point to Githome's metadata database.
|
Package store is the single entry point to Githome's metadata database. |
|
migrations
Package migrations holds Githome's embedded SQL schema migrations and exposes them as a read-only filesystem for the store's migration runner.
|
Package migrations holds Githome's embedded SQL schema migrations and exposes them as a read-only filesystem for the store's migration runner. |
|
Package webhook delivers a repository's recorded events to its registered hooks.
|
Package webhook delivers a repository's recorded events to its registered hooks. |
|
Package worker is the background job queue: the enqueue API job producers submit through, and (from a later milestone) the claim-and-run loop that drains it.
|
Package worker is the background job queue: the enqueue API job producers submit through, and (from a later milestone) the claim-and-run loop that drains it. |
Click to show internal directories.
Click to hide internal directories.