Skip to content

creativecommons/licensebuttons

Repository files navigation

licensebuttons

Creative Commons badges, license Buttons, etc. (https://licensebuttons.net/).

⚠️ Consolidation/Update in progress. This repository is in a state of flux.

genicons.py

This is a script to generate Creative Commons icon badges in png format in a variety of color schemes. These icons can then be served by a web server. It is located at scripts/genicons.py.

Install

  1. Assuming the repository is on Debian

  2. Install Python 3 and required Python 3 packages:

    sudo apt-get install gir1.2-pango-1.0 python3-gi-cairo
  3. Install CC Icons font

    mkdir -p ~/.fonts
    ln -sf ${PWD}/www/cc-icons.ttf ~/.fonts/

Usage

Execute with Python 3:

python3 scripts/genicons.py

This will generate the icons in the directory www/i directory.

License

Code / Scripts

Icons / Images

About

Creative Commons badges, license Buttons, etc.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published