Skip to content

SamiS0830/licensebuttons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

145 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

licensebuttons

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

Code of Conduct

CODE_OF_CONDUCT.md:

The Creative Commons team is committed to fostering a welcoming community. This project and all other Creative Commons open source projects are governed by our Code of Conduct. Please report unacceptable behavior to conduct@creativecommons.org per our reporting guidelines.

Contributing

We welcome contributions for bug fixes, enhancement and documentation. Please follow CONTRIBUTING.md while contributing.

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.

Development

  • Style/Syntax
    • Github Actions check the style and syntax with black and flake8. Run the following commands before submitting a pull request:
      • Reformat with black using a maxiumum of 79 charaters per line:
        black -l 79 ./scripts/genicons.py
      • Check syntax with flake8:
        flake8 ./scripts/genicons.py
  • Dependencies

License

CC Icons, Images, and Logos

Code / Scripts

GLYPHICONS FREE

GLYPHICONS FREE license for previous version 1.9.2

are released under the Creative Commons Attribution 3.0 Unported (CC BY 3.0). The GLYPHICONS FREE can be used both commercially and for personal use, but you must always add a link to GLYPHICONS.com in a prominent place (e.g. the footer of a website), include the CC-BY license and the reference to GLYPHICONS.com on every page using icons.

(Previous version of GLYPHICONS sets v 1.9.2)

About

Creative Commons badges, license Buttons, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 67.8%
  • HTML 30.5%
  • CSS 1.7%