{"id":15901203,"url":"https://github.com/creativecommons/licensebuttons","last_synced_at":"2025-09-06T22:42:16.321Z","repository":{"id":11453910,"uuid":"13915207","full_name":"creativecommons/licensebuttons","owner":"creativecommons","description":"Creative Commons badges, license Buttons, etc.","archived":false,"fork":false,"pushed_at":"2025-06-10T14:10:21.000Z","size":587,"stargazers_count":14,"open_issues_count":5,"forks_count":14,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-06-10T15:32:42.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://licensebuttons.net/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/creativecommons.png","metadata":{"funding":{"github":["creativecommons"],"custom":["https://creativecommons.org/donate"]},"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-10-28T02:42:48.000Z","updated_at":"2025-04-28T13:29:29.000Z","dependencies_parsed_at":"2024-10-06T11:04:33.526Z","dependency_job_id":"64c9b9d8-9292-473f-9817-37ef9ca8b248","html_url":"https://github.com/creativecommons/licensebuttons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/creativecommons/licensebuttons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativecommons%2Flicensebuttons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativecommons%2Flicensebuttons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativecommons%2Flicensebuttons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativecommons%2Flicensebuttons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creativecommons","download_url":"https://codeload.github.com/creativecommons/licensebuttons/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativecommons%2Flicensebuttons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273974000,"owners_count":25200579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","hacktoberfest2020"],"created_at":"2024-10-06T11:01:59.490Z","updated_at":"2025-09-06T22:42:16.312Z","avatar_url":"https://github.com/creativecommons.png","language":"Python","funding_links":["https://github.com/sponsors/creativecommons","https://creativecommons.org/donate"],"categories":["Python"],"sub_categories":[],"readme":"# licensebuttons\n\nCreative Commons badges, license Buttons, etc. (\u003chttps://licensebuttons.net/\u003e).\n\n\n## Code of Conduct\n\n[`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md):\n\n\u003e The Creative Commons team is committed to fostering a welcoming community.\n\u003e This project and all other Creative Commons open source projects are governed\n\u003e by our [Code of Conduct][code_of_conduct]. Please report unacceptable\n\u003e behavior to [conduct@creativecommons.org](mailto:conduct@creativecommons.org)\n\u003e per our [reporting guidelines][reporting_guide].\n\n[code_of_conduct]: https://opensource.creativecommons.org/community/code-of-conduct/\n[reporting_guide]: https://opensource.creativecommons.org/community/code-of-conduct/enforcement/\n\n\n## Contributing\n\nWe welcome contributions for bug fixes, enhancement and documentation. Please\nfollow [`CONTRIBUTING.md`](CONTRIBUTING.md) while contributing.\n\n\n## genicons.py\n\nThis is a script to generate Creative Commons icon badges in png format in a\nvariety of color schemes. These icons can then be served by a web server. It is\nlocated at [`scripts/genicons.py`](scripts/genicons.py).\n\n\n### Install\n\n1. Assuming the repository is on Debian\n2. Install Python 3 and required Python 3 packages:\n\n    ```shell\n    sudo apt-get install gir1.2-pango-1.0 python3-gi-cairo\n    ```\n\n3. Install CC Icons font\n\n    ```shell\n    mkdir -p ~/.fonts\n    ln -sf ${PWD}/www/cc-icons.ttf ~/.fonts/\n    ```\n\n\n### Usage\n\nExecute with Python 3:\n\n```shell\npython3 scripts/genicons.py\n```\n\nThis will generate the icons in the directory `www/i` directory.\n\n\n## Development\n\n\n### Setup\n\nOnce this project's required dependencies (Docker, Git, etc.) are enabled on\nyour system, you will be able to run the legal-tools application and generate\nstatic files.\n\nFor information on learning and installing the prerequisite technologies for \nthis project, please see [Foundational technologies — Creative Commons Open\nSource][found-tech].\n\n[found-tech]: https://opensource.creativecommons.org/contributing-code/foundational-tech/\n\n\n### Docker\n\n1. Build the containers.\n    ```shell\n    docker compose build\n    ```\n2. Run the containers.\n    ```shell\n    docker compose up\n    ```\n3. Generate icons in container\n    ```shell\n    ./dev/genicons.sh\n    ```\n4. Access NGINX site in web container: [127.0.0.1:8080](http://127.0.0.1:8080/)\n\n\n## Style/Syntax\n\nGithub Actions check the style and syntax with [black][black] and\n[flake8][flake8]. Run the following commands before submitting a pull request:\n- Reformat with black using a maxiumum of 79 charaters per line:\n    ```shell\n    black -l 79 ./scripts/genicons.py\n    ```\n- Check syntax with flake8:\n    ```shell\n    flake8 ./scripts/genicons.py\n    ```\n\n[black]: https://github.com/python/black\n[flake8]: https://gitlab.com/pycqa/flake8\n\n\n### Dependencies\n\n- *Pycairo is a Python module providing bindings for the cairo graphics\n  library* ([Overview — Pycairo documentation][pycairo]).\n- *PyGObject is a Python package which provides bindings for GObject based\n  libraries such as GTK, GStreamer, WebKitGTK, GLib, GIO and many more*\n  ([Overview — PyGObject][pygobject]).\n- PangoCairo is used to load the system fonts and check if the \"CC Icons\" font\n  is available. See [PangoCairo.FontMap - Interfaces -\n  PangoCairo 1.0][pcfontmap].\n\n[pycairo]: https://pycairo.readthedocs.io/en/latest/\n[pygobject]: https://pygobject.readthedocs.io/en/latest/index.html\n[pcfontmap]: https://lazka.github.io/pgi-docs/PangoCairo-1.0/classes/FontMap.html#PangoCairo.FontMap\n\n\n## License\n\n\n### CC Icons, Images, and Logos\n\n- The icons, images, and logos contained within this repository are for use\n  under the Creative Commons Trademark Policy (see [Policies - Creative\n  Commons][ccpolicies]).\n- **The icons, images, and logos are not licensed under a Creative Commons\n  license** (also see [Could I use a CC license to share my logo or\n  trademark? - Frequently Asked Questions - Creative Commons][tmfaq]).\n- The [GLYPHICONS FREE](#glyphicons-free), below, are licensed separately.\n\n[ccpolicies]: https://creativecommons.org/policies\n[tmfaq]: https://creativecommons.org/faq/#could-i-use-a-cc-license-to-share-my-logo-or-trademark\n\n\n### Code / Scripts\n\n- [`LICENSE`](LICENSE) (Expat/[MIT][mit] License)\n\n[mit]: http://www.opensource.org/licenses/MIT \"The MIT License | Open Source Initiative\"\n\n\n### GLYPHICONS FREE\n\n\u003e #### GLYPHICONS FREE license for previous version 1.9.2\n\u003e\n\u003e are released under the [Creative Commons Attribution 3.0 Unported (CC BY\n\u003e 3.0)][cc-by-30]. The GLYPHICONS FREE can be used both commercially and for\n\u003e personal use, but you must always add a link to [GLYPHICONS.com][glyphicons]\n\u003e in a prominent place (e.g. the footer of a website), include the CC-BY\n\u003e license and the reference to [GLYPHICONS.com][glyphicons] on every page using\n\u003e icons.\n\n([Previous version of GLYPHICONS sets v 1.9.2][old-free-license])\n\n[cc-by-30]: https://creativecommons.org/licenses/by/3.0/ \"Creative Commons — Attribution 3.0 Unported — CC BY 3.0\"\n[glyphicons]: https://glyphicons.com/ \"Sharp and clean symbols - GLYPHICONS\"\n[old-free-license]: https://glyphicons.com/old/license.html#old-free-license \"Previous version of GLYPHICONS sets v 1.9.2\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativecommons%2Flicensebuttons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreativecommons%2Flicensebuttons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativecommons%2Flicensebuttons/lists"}