{"id":18610138,"url":"https://github.com/creativecommons/chooser","last_synced_at":"2025-05-15T22:05:23.419Z","repository":{"id":38989845,"uuid":"188122843","full_name":"creativecommons/chooser","owner":"creativecommons","description":"The new and improved CC license selection tool.","archived":false,"fork":false,"pushed_at":"2025-05-14T17:07:04.000Z","size":21616,"stargazers_count":123,"open_issues_count":12,"forks_count":160,"subscribers_count":22,"default_branch":"main","last_synced_at":"2025-05-15T22:04:46.750Z","etag":null,"topics":["cc-licenses","creative-commons","css","html","javascript","open-source"],"latest_commit_sha":null,"homepage":"https://creativecommons.org/chooser","language":"CSS","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":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-05-22T22:36:52.000Z","updated_at":"2025-05-14T22:14:18.000Z","dependencies_parsed_at":"2023-02-08T20:15:15.782Z","dependency_job_id":"4199b164-7e8b-4b8a-b9b8-84b906bd982b","html_url":"https://github.com/creativecommons/chooser","commit_stats":{"total_commits":764,"total_committers":57,"mean_commits":"13.403508771929825","dds":0.6871727748691099,"last_synced_commit":"f60ce271c685d532bc3f4fb414a9d6d53f24de64"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativecommons%2Fchooser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativecommons%2Fchooser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativecommons%2Fchooser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativecommons%2Fchooser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creativecommons","download_url":"https://codeload.github.com/creativecommons/chooser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254430326,"owners_count":22069907,"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","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":["cc-licenses","creative-commons","css","html","javascript","open-source"],"created_at":"2024-11-07T03:08:41.561Z","updated_at":"2025-05-15T22:05:23.412Z","avatar_url":"https://github.com/creativecommons.png","language":"CSS","funding_links":["https://github.com/sponsors/creativecommons","https://creativecommons.org/donate"],"categories":["CSS"],"sub_categories":[],"readme":"![GitHub contributors](https://img.shields.io/github/contributors/creativecommons/chooser)\n![GitHub Sponsors](https://img.shields.io/github/sponsors/creativecommons)\n![GitHub](https://img.shields.io/github/license/creativecommons/chooser)\n![GitHub issues](https://img.shields.io/github/issues-raw/creativecommons/chooser)\n![GitHub Repo stars](https://img.shields.io/github/stars/creativecommons/chooser?style=social)\n![GitHub forks](https://img.shields.io/github/forks/creativecommons/chooser?style=social)\n\n# Chooser - v1.0\n\n\nThe Creative Commons License Chooser is meant to help people learn about CC licenses, and select the license that best fits their needs. The new version in this repo places greater importance on usability, and an educational experience of the six CC licenses.\n\n\n## About\n\nRepository containing the source code for the new Creative Commons License Chooser.\n\nThis site is built using HTML, CSS, and JS.\n\n\n## Code of conduct\n\n[`CODE_OF_CONDUCT.md`][org-coc]:\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[org-coc]: https://github.com/creativecommons/.github/blob/main/CODE_OF_CONDUCT.md\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\nSee [`CONTRIBUTING.md`][org-contrib].\n\n[org-contrib]: https://github.com/creativecommons/.github/blob/main/CONTRIBUTING.md\n\n\n## Development\n\nAll necessary files to bundle or run the Chooser are located within the `/src` directory.\n\n* `/src/index.html`: relevant HTML markup.\n* `/src/style.css`: localized styles, built on top of [Vocabulary][vocabulary].\n* `/src/scripts.js`: relevant JavaScript logic.\n\nThe Chooser exists bundled within the [`vocabulary-theme`][vocabulary-theme] repository for production purposes. This repository is for isolated development purposes, similar to the setup followed by [`cc-legal-tools-app`][cc-legal-tools-app] + [`cc-legal-tools-data`][cc-legal-tools-data], and [`index-prototype`][index-prototype].\n\nOnce changes are implemented here, they need to be updated within the `/chooser` directory within `vocabulary-theme`. \n\nFinal production changes are deployed within vocabulary-theme Releases, updated within [`index-dev-env`][index-dev-env], and finally deployed to `index__stage` and then `index__prod` environments; going LIVE at `https://creativecommons.org/chooser`.\n\n\n## Setup\n1. open the `src/index.html` file within a browser to view the Chooser.\n\n[cc-legal-tools-app]: https://github.com/creativecommons/cc-legal-tools-app \n[cc-legal-tools-data]: https://github.com/creativecommons/cc-legal-tools-data\n[index-dev-env]: https://github.com/creativecommons/index-dev-env\n[index-prototype]: https://github.com/creativecommons/index-prototype\n[vocabulary]: https://github.com/creativecommons/vocabulary\n[vocabulary-theme]: https://github.com/creativecommons/vocabulary-theme\n\n\n## Structure\n\nThe initial markup is rendered via the `index.html` file. Visual display is derived from the `style.css` rules. Styles extend from `src/vocabulary`.\n\nOn initlialization the `scripts.js` functions set the correct fieldsets to default display; based on user provided actions through the stepper fieldsets will display or hide, exposing the relevant pathways to getting a `tool` recommendation. Correct pathways are located within the `rawStatePathRoutes` array. When a correct pathway matches the current `state`, the appropriate `tool` is matched and recommended, if the current state is not a known pathway the `tool` is set to `unknown` until the required input is given.\n\nThe main `tool` recommendation content is pulled via the appropriate `\u003ctemplate\u003e` markup located within HTML. Additional information for the marking formats is also sourced from these `\u003ctemplate\u003e` elements and the contents of the `Attribution Details` fields.\n\nMarking formats are pulled from a combination of HTML markup and JS string interpolation found within the `scripts.js` file within the `renderMarkingFormats` function.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativecommons%2Fchooser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreativecommons%2Fchooser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativecommons%2Fchooser/lists"}