showcase

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator handles showcase generation for repositories

func New

func New(cfg *config.Config, workDir string) *Generator

New creates a new showcase generator

func (*Generator) GenerateShowcase

func (g *Generator) GenerateShowcase(repoFilter []string, forceRegenerate bool) error

GenerateShowcase generates a showcase for repositories If repoFilter is provided, only those repositories are processed If repoFilter is empty/nil, all repositories in work directory are processed

type ProjectSummary

type ProjectSummary struct {
	Name        string
	Summary     string
	CodebergURL string
	GitHubURL   string
	Metadata    *RepoMetadata
	Images      []string // Relative paths to images in showcase directory
}

ProjectSummary holds the summary information for a project

type RepoMetadata

type RepoMetadata struct {
	Languages       []string
	CommitCount     int
	LinesOfCode     int
	FirstCommitDate string
	LastCommitDate  string
	License         string
	AvgCommitAge    float64 // Average age of last 100 commits in days
}

RepoMetadata holds metadata about a repository

Jump to

Keyboard shortcuts

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