#github #image #socialify

app github-socialify-preview

Upload GitHub repository Socialify preview images

1 stable release

1.0.0 Feb 6, 2024

#400 in #github

MIT license

20KB
146 lines

GitHub Socialify Preview

Upload GitHub repository Socialify preview images

Based on mheap/github-social-image

Command Line

$ github-socialify-preview --help

Upload GitHub repository Socialify preview images

Usage: github-socialify-preview.exe [OPTIONS] --repo <REPO>

Options:
  -r, --repo <REPO>                GitHub Repository (Example: ShayBox/GitHub-Social-Preview)
  -t, --theme <THEME>              Socialify Theme [possible values: light, dark, auto]
  -f, --font <FONT>                Socialify Font [possible values: inter, bitter, raleway, rokkitt, source-code-pro, ko-ho, jost]
  -p, --pattern <PATTERN>          Socialify Background Pattern [possible values: signal, charlie-brown, formal-invitation, plus, circuit-board, overlapping-hexagons, brick-wall, floating-cogs, diagonal-stripes, solid]
  -l, --logo <LOGO>                Socialify SVG Logo (Image URL or Data URI)
      --owner                      Socialify Show Owner Name
      --language                   Socialify Show Language
      --stargazers                 Socialify Show Stars Count
      --forks                      Socialify Show Forks Count
      --issues                     Socialify Show Issues Count
      --pulls                      Socialify Show Pull Requests Count
  -d, --description <DESCRIPTION>  Socialify Show Description
  -h, --help                       Print help
  -V, --version                    Print version

Installation

Cargo/Crate: $ cargo install github-socialify-preview
GitHub Latest Release (Portable)

Dependencies

~16–32MB
~514K SLoC