site

package
v0.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2026 License: MIT Imports: 6 Imported by: 0

README

git-ci web surface

The public landing page is static. Login and the operator application are server-rendered Go templates enhanced with a local copy of HTMX. Tailwind is a build-only dependency; no Node.js process runs in production.

Run npm ci and npm run build:web to compile and copy the CSS and HTMX assets. Run npm run test:e2e for the desktop operator journey and mobile responsive coverage.

Routes:

  • / is the public project page.
  • /login creates a signed operator session.
  • /app and /app/* are authenticated HTML routes.
  • /api/v1 is the authenticated JSON control API.
  • /healthz is the service health probe.

Documentation

Overview

Package site serves git-ci's embedded public landing page.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FS

func FS() fs.FS

FS returns the read-only embedded public-site filesystem.

func Handler

func Handler() http.Handler

Handler returns a public-root handler for the landing page and its static assets. It intentionally returns 404 for service-owned routes, allowing a caller to mount it at "/" alongside more-specific ServeMux routes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL