Use this template to display GitHub release notes as a changelog with Stackhacker UI, Nuxt MDC, and shadcn-vue components.
pnpm dlx nuxi@latest init my-changelog -t gh:stackhacker-ui/changelog
cd my-changelog
pnpm install
pnpm devTo customize the GitHub repository that the changelog fetches releases from, update the repository key in app/app.config.ts:
export default defineAppConfig({
repository: "nuxt/ui", // Change this to your GitHub repository (e.g. "facebook/react")
});Release notes are fetched from https://ungh.cc/repos/<owner>/<repo>/releases and rendered with Nuxt MDC. GitHub-flavored links in markdown are resolved for the configured default repository in nuxt.config.ts under mdc.remarkPlugins.remark-github.options.repository.
No environment variables are required for the default changelog. The app reads public GitHub release data through ungh.
Make sure to install the dependencies:
pnpm installStart the development server on http://localhost:3000:
pnpm devTo use another port:
pnpm dev --port 4000Build the application for production:
pnpm buildLocally preview production build:
pnpm previewCheck out the Nuxt deployment documentation for more information.
pnpm lint
pnpm typecheck
pnpm buildInstall Renovate GitHub app on your repository and you are good to go.