Commit log

6599dca feat(webui): add patch/diff links on commit page

Click to expand commit body
Implements: bug-05a795c
Co-authored-by: Crush <crush@charm.land>

Amolith and Crush created

20e60e0 chore(crush): yeet mcp

Amolith created

7930397 feat(webui): preload css, syntax is only for blobs

Click to expand commit body
Implements: bug-0fb4c59
Co-authored-by: Crush <crush@charm.land>

Amolith and Crush created

200bc86 feat(webui): render co-authors on branches/tags

Click to expand commit body
Branches and tags pages now extract and display co-authors
from commit message trailers using the attributionNames
template function. This replicates the existing commits page
behavior, showing &#34;Author, Co1, and Co2 created time&#34; format.

Implements: bug-f5cf6b5
Co-authored-by: Crush <crush@charm.land>

Amolith and Crush created

853bdb5 feat(webui): add og tags

Amolith created

61090b0 feat(web): add meta descriptions to pages

Click to expand commit body
Adds Description field to BaseData and populates it across
all web UI pages (home, about, blob, tree, branches, commits,
tags). Descriptions are derived from:
- Repository descriptions (truncated to 200 chars)
- Server README content (converted to plain text)
- Context-appropriate fallbacks

New helper functions in webui_helpers.go:
- extractPlainTextFromMarkdown: strips markdown formatting
- truncateText: truncates text at word boundaries
- getRepoDescriptionOrFallback: repo desc or fallback

Implements: bug-7b97785
Co-authored-by: Crush <crush@charm.land>

Amolith and Crush created

541790e fix(web): add Repo field to AboutData struct

Click to expand commit body
The base.html template checks for .Repo to conditionally render
repository navigation. AboutData was missing this field, causing
template execution to fail with "can't evaluate field Repo".

Adding the nil Repo field allows the {{if .Repo}} check to work
correctly, skipping repository navigation on the about page.

Co-authored-by: Crush <crush@charm.land>

Amolith and Crush created

ae7f523 feat(web): display co-authors in commit views

Click to expand commit body
Parse Co-authored-by trailers from commit messages and display
all contributors with proper grammar in commit and commits
pages. Authorship now reads "Author and Co-author" for one
co-author or "Author, Co1, Co2, and Co3" for multiple.

Implements: bug-7e8823e
Co-authored-by: Crush <crush@charm.land>

Amolith and Crush created

186a8fd feat(web/commit): use name@hash format in title

Click to expand commit body
Change commit page title from 'subject | Commit hash | name'
to 'subject | name@hash' for consistency with git conventions.

Implements: bug-4758ff9
Co-authored-by: Crush <crush@charm.land>

Amolith and Crush created

5166c27 feat(web/tree): show path and ref in page title

Click to expand commit body
Display 'repo-name/path at ref | Project name' format in tree
view titles for better browser tab/history identification.
Shows shortened commit hash when viewing specific commits.

Implements: bug-45e898a
Co-authored-by: Crush <crush@charm.land>

Amolith and Crush created

c9c6316 feat: use consistent tooltip pattern for time

Click to expand commit body
Modify the author/time info on the home page to follow the same
tooltip pattern as the commits page, displaying "Updated {time}".

- Change HomeRepository.UpdatedAt from string to time.Time
- Convert timestamps to UTC for consistency
- Clean up tooltip format to show timezone only once
- Remove unused humanize import

Implements: bug-af63a29
Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

d7e1cae feat: add page titles and meta descriptions

Click to expand commit body
Add Title and Description fields to BaseData for proper
HTML title and meta description support. Update base.html
template to use these fields instead of deriving them from
Repo and ServerName.

Implement page-specific titles:
- About: "About | {server name}"
- Home: "{server name}"
- Overview: "{project name or repo}" with description
- Commits: "Commits in {ref} | {project or repo}"
- Commit: "{subject} | Commit {hash} | {project or repo}"
- Tags: "Tags | {project or repo}"
- Branches: "Branches | {project or repo}"
- Files: "Files | {project or repo}"
- Blob: "{filename} | {project or repo}"

Fix shortHash template function to use 7 characters
instead of 8 for consistency with git standards.

Implements: bug-972b30b
Implements: bug-7778d23
Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

1ebefd0 chore: web UI polish

Click to expand commit body
Fixes: bug-45aeed6
Co-authored-by: Crush <crush@charm.land>

Amolith and Crush created

79c4873 chore: improve web UI styling

Amolith created

fd7c947 feat: implement CSS cache-busting for web assets

Click to expand commit body
Add version query parameters to CSS URLs to force browsers to fetch
newer versions after edits. This ensures users see updated styles
without manually clearing browser cache.

Changes:
- Add ?v=1 to overrides.css and syntax.css URLs
- Document version increment process in AGENTS.md

Implements: bug-9b0a200
Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

1dfa7a8 feat(blob): better content-type detection

Click to expand commit body
Improve file content detection and syntax highlighting in the web UI:
- Better MIME type detection for files without extensions
- Content-based markdown detection for extensionless files
- Enhanced lexer selection prioritizing content analysis
- Added Chroma import for improved language detection

Implements: bug-147d490
Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

2342d2c feat(web): add .patch and .diff for commit URLs

Click to expand commit body
Add route handlers to serve raw git patches and diffs when accessing
commit URLs with .patch or .diff extensions. This allows users to
download patches directly using curl and pipe them to git apply.

Implements: bug-d552262
Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

79b45b8 refactor(web): extract shared fields from structs

Click to expand commit body
Consolidates common data fields across web UI pages into reusable
BaseData, RepoBaseData, and PaginationData structs to reduce code
duplication and improve maintainability.

Implements: bug-7dfe278
Co-authored-by: Crush <crush@charm.land>

Amolith and Crush created

4817a77 fix: display full branch names in breadcrumbs

Click to expand commit body
Previously, the breadcrumb navigation would truncate all refs using
shortHash, causing branch names like "generate-promo-codes" to display
as just "generate".

This change adds an IsCommitHash field to template data structures and
updates the templates to conditionally apply shortHash only for actual
commit hashes while showing full names for branches and tags.

Implements: bug-bf0175a
Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

ddfef5a fix: detect MIME type for raw blob responses

Click to expand commit body
Replace hardcoded text/plain content-type with proper MIME type
detection using mime.TypeByExtension and http.DetectContentType
as fallback. Ensures binary files are served with correct types
while maintaining UTF-8 charset for text files.

Fixes: bug-74a99e4

Amolith created

083677b feat: add anchor links to file headings

Click to expand commit body
Fixes: bug-dddb40e
Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

6348c03 fix(tree): don't link current item in breadcrumb navigation

Click to expand commit body
Prevent the last breadcrumb item from being linked when viewing
a directory or file in the tree view. Follows the same pattern
already used in blob.html.

Fixes: bug-d8ce4b4

Amolith created

a467f13 feat: link to my fork REMOVE ME BEFORE PR

Amolith created

94ab050 feat: prefer custom fonts

Click to expand commit body
- Use Atkinson Hyperlegible as sans
- Use 0xProto first, JetBrains Mono second as mono
- Preserve existing Pico CSS fallbacks

Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

26373c2 feat: introduce Pico ✨

Amolith created

5cdf68f feat: introduce web UI

Click to expand commit body
Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

1000be7 chore: ignore built binary

Amolith created

50fb10a docs: add AGENTS.md

Click to expand commit body
Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

b6a7f28 chore: add justfile

Amolith created

bcee695 feat: add crush config

Click to expand commit body
Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

f2c609e feat: prioritize latest commit time for repo UpdatedAt

Click to expand commit body
Change the order of operations in UpdatedAt() to first try getting
the timestamp from the latest commit before falling back to the
last-modified file. This ensures more accurate update timestamps.

Co-Authored-By: Crush <crush@charm.land>

Amolith and Crush created

15e9e25 chore(deps): bump actions/setup-go from 5 to 6 in the all group (#748)

Click to expand commit body
Bumps the all group with 1 update: [actions/setup-go](https://github.com/actions/setup-go).


Updates `actions/setup-go` from 5 to 6
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

6856877 feat: add readiness and liveness probes for self healing (#734)

Click to expand commit body
* feat: add k8s readiness and liveness probes

* fix: switch to single err var and add logging

* chore: remove fmt import

Jay Madden created

5c8639b chore(deps): update all deps (#746)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

8e52267 chore(deps): bump github.com/sergi/go-diff (#729)

Click to expand commit body
Bumps [github.com/sergi/go-diff](https://github.com/sergi/go-diff) from 1.3.2-0.20230802210424-5b0b94c5c0d3 to 1.4.0.
- [Commits](https://github.com/sergi/go-diff/commits/v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/sergi/go-diff
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

bec9fb3 chore(deps): bump github.com/prometheus/client_golang (#739)

Click to expand commit body
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

e5edfd5 sec: update git-module (#742)

Click to expand commit body
The regex solution proposed in #737 is not sufficient.
I've added `--end-of-options` to the relevant commands in https://github.com/aymanbagabas/git-module/pull/1
so this reverts changes made in #737 and update git-module to include that fix.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

a73db1a test: use a repo that doesn't change as much (#743)

Click to expand commit body
wizard tutorial last commit was 2y ago

catwalk get commits almost daily

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

5d9034c ci: sync dependabot config (#741)

Charm created

76a71ef chore(deps): bump actions/checkout from 4 to 5 (#735)

Click to expand commit body
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

5a2bde5 fix: check that commit is a SHA1 (#737)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

68e6304 chore(deps): bump github.com/alecthomas/chroma/v2 from 2.19.0 to 2.20.0 (#730)

Click to expand commit body
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.19.0...v2.20.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-version: 2.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

efa8c06 chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.2 to 5.3.0 (#731)

Click to expand commit body
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.2.2 to 5.3.0.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.2...v5.3.0)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
  dependency-version: 5.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

fa175c7 fix: repo commit help (#736)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

de888b9 test: fix golden files

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

844f175 ci: sync golangci-lint config (#732)

Click to expand commit body
Co-authored-by: aymanbagabas <3187948+aymanbagabas@users.noreply.github.com>

github-actions[bot] and aymanbagabas created

dbcded6 chore(deps): bump golang.org/x/crypto from 0.39.0 to 0.40.0 (#727)

Click to expand commit body
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

9b64ebd chore(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 (#726)

Click to expand commit body
---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

397288d fix(ui): help menu on file list view (#719)

Click to expand commit body
* fix(ui): Add additional key function indicators

Add the h and l indications in the help message when
those keys select items from lists.

* fix(ui); Fix action long help on file views

Prior to this commit, the copy command help was not overwritten as
intended, and blame and toggle line number options were shown in help on
the file list view page, but only functioned on the file content view
page.

Eldon created

52f7a9e feat(tui): yank the patch/diff to clipboard (#725)

Benjamin Chausse created