A modern, responsive changelog renderer built with SvelteKit. This template demonstrates how to display changelog data using the git-changelog-manager package with a beautiful, Apple-inspired design.
š Live Demo - See it in action!
Clone the repository:
git clone https://github.com/jonellwood/git-changelog-renderer-examples.git
cd git-changelog-renderer-examples/sveltekit-changelog
Install dependencies:
npm install
Start the development server:
npm run dev
Open your browser to http://localhost:5173
This template is designed to work with the git-changelog-manager package. Simply replace the sample data in src/lib/data/sampleData.js with data from your changelog manager:
import { changelogData } from 'git-changelog-manager';
// Use the data in your Svelte component
The changelog expects data in this format:
{
releases: [
{
version: '1.2.0',
date: '2025-01-04',
summary: 'Major feature release',
tag: 'feature', // feature, patch, hotfix, major
changeCount: 12,
rawContent: '- Feature 1\n- Feature 2\n...'
}
],
stats: {
totalReleases: 6,
totalChanges: 67,
latestVersion: '1.2.0'
}
}
The project uses modern CSS with:
color-mix() for dynamic color variationsnpm run dev - Start development servernpm run build - Build for productionnpm run preview - Preview production buildnpm run check - Run Svelte checksMIT License - feel free to use this template for your projects.