Skip to content

starlight-git-contributors

A Starlight plugin that lists each page’s contributors from local git blame. Works with GitHub, GitLab, Codeberg, Gitea, self-hosted, or no remote, without an API token or rate limit.

Every page on this site renders its own credit line at the bottom of the footer. The Demo page shows the rendering variants up close.

Terminal window
npm install starlight-git-contributors

Add the plugin to astro.config.mjs:

import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import starlightGitContributors from 'starlight-git-contributors';
export default defineConfig({
integrations: [
starlight({
title: 'My Docs',
plugins: [starlightGitContributors()],
}),
],
});

The plugin registers a Footer override, so every page shows a credit line below its pagination cards.

sitapix