icon-octicons

icon-octicons

Octicons as 774 pre-rendered CrImage constants for Crystal. Icons retain their source dimensions, including non-square logos.

dependencies:
  icon-octicons:
    github: kojix2/icon-octicons
require "icon-octicons"

icon = Icon::Octicons::Heart16

Names follow the SVG filenames. Use require "icon-octicons/16" to load only one size. Constants are shared, mutable images; copy before editing.

Regenerate

Requires Python 3, librsvg, Cairo, and an upstream ZIP from the project linked above.

python3 scripts/generate.py /path/to/octicons.zip
python3 scripts/generate.py /path/to/octicons.zip --check

MIT: shard, upstream icons.

Repository

icon-octicons

Owner
Statistic
  • 0
  • 0
  • 0
  • 1
  • 1
  • about 18 hours ago
  • October 22, 2026
License

MIT License

Links
Synced at

Thu, 22 Oct 2026 12:38:14 GMT

Languages