All Projects → creativecommons → chooser

creativecommons / chooser

Licence: MIT License
The new and improved CC license selection tool.

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects

Projects that are alternatives of or similar to chooser

it-dgc-opendata
Open Data on the European Digital Covid Certificates (EU DCC) issued and acquired by the national platform
Stars: ✭ 25 (-45.65%)
Mutual labels:  creative-commons
openverse-catalog
Identifies and collects data on cc-licensed content across web crawl data and public apis.
Stars: ✭ 27 (-41.3%)
Mutual labels:  creative-commons
legaldb
CC Legal Database: curated repository of Case Law and Scholarship data from around the world in a Django based website.
Stars: ✭ 22 (-52.17%)
Mutual labels:  creative-commons
openverse-api
The Openverse API allows programmatic access to search for CC-licensed and public domain digital media.
Stars: ✭ 41 (-10.87%)
Mutual labels:  creative-commons
lazarus-beginners-guide
A book written for new Lazarus users, named "Beginners’ Guide to Lazarus IDE". Moved to: https://gitlab.com/adnan360/lazarus-beginners-guide
Stars: ✭ 26 (-43.48%)
Mutual labels:  creative-commons
s3-practical-guide
A practical guide for Sociocracy 3.0.
Stars: ✭ 56 (+21.74%)
Mutual labels:  creative-commons
creativecommons.github.io-source
Source files for CC Open Source website
Stars: ✭ 51 (+10.87%)
Mutual labels:  creative-commons
TraduXio
A participative platform for cultural texts translators
Stars: ✭ 19 (-58.7%)
Mutual labels:  creative-commons
ccsearch-browser-extension
[PROJECT TRANSFERRED] Cross-Browser extension to search, filter and use images in the public domain and under Creative Commons licenses.
Stars: ✭ 115 (+150%)
Mutual labels:  creative-commons
cccatalog-frontend
[PROJECT TRANSFERRED] CC Search is a search tool for CC-licensed and public domain content across the internet.
Stars: ✭ 160 (+247.83%)
Mutual labels:  creative-commons
wp-plugin-creativecommons
Official Creative Commons plugin for licensing your content. With Creative Commons licenses, keep your copyright AND share your creativity.
Stars: ✭ 95 (+106.52%)
Mutual labels:  creative-commons
swwmgz m
Codename: Demolitionist. An ambitious GZDoom gameplay mod featuring non-stop over-the-top action, crazy guns, and a cute, sassy robot protagonist, as well as lots of LORE. (Formerly known as SWWM GZ)
Stars: ✭ 23 (-50%)
Mutual labels:  creative-commons
flutteranimations
Flutter login and signup screen with animations.
Stars: ✭ 34 (-26.09%)
Mutual labels:  creative-commons

GitHub contributors GitHub Sponsors GitHub npm Libraries.io dependency status for latest release, scoped npm package npm GitHub issues GitHub Repo stars GitHub forks

Chooser

The 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.

About

Repository containing the source code for the new Creative Commons License Chooser. The new chooser is still in beta, and a beta deployment can be found here.

This site is built using Vue.js (and vue-cli).

Roadmap

Tasks, issues, and discussion related to the release of the new chooser are tracked with the Launch Milestone.

Getting Started

Run the following commands in order to have the code up and running on your machine:

# install dependencies
npm install
# Build and serve assets with hot-reload
npm run serve

You should now have the application running and accessible at http://localhost:8080 (note: will run on a different port if 8080 is occupied, most common alternative port is 8081).

Building as web component

To build the project as a web component, run the command npm run build-component. This will create a file in the dist folder named license-chooser.min.js. It can be used to load the web-component in any JS project. There is also a sample demo.html created.

To be able to use the file it should either be rendered statically from the integrater's web-app or be published on a CDN. Following code can be used to integrate this in other apps.

Note: the Chooser component depends on Vue 2.x, as can be seen in the following example.

<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://unpkg.com/@creativecommons/chooser/dist/license-chooser.js"></script>

<license-chooser></license-chooser>

If the web component is intended to be built without header and footer, run VUE_APP_CC_OUTPUT=embedded npm run build-component

Contributing

For information on contributing, please see Creative Commons' Contribution Guidelines

If you create a PR for your work, but you are not finished yet, please include WIP: in the beginning of your PR title. When your work on your PR is completed, and you are ready for a final review, please remove the WIP: prefix from the title to indicate that your work is done.

Here's a handy link that will show you all open issues in this repo that have the help wanted tag, but do not have the in progress tag. All issues in this list are up for grabs! If it says "No results matched your search", then there are no issues currently up for grabs.

If no progress has been made on an issue for seven days after assignment, the assignment will be removed to allow others to contribute.

Running Tests

You can run tests by executing:

npm run test

For running tests on a web-component build, run npm run test-component. It starts a server with the dist/demo.html on which tests can be run.

CSS Build

The Chooser uses PostCSS plugin for PurgeCSS to make CSS bundle size smaller. It automatically removes unused CSS based on the classes found in the final built bundle. Some styles for dynamic components or dynamically-imported files can also be removed. If you find that the built site misses some styles, you can manually add the necessary classes or Regex expressions to the safelist array in the postcss.config.js file.

Deployment

The chooser is deployed to GitHub Pages. The source files for the beta deployment are contained in the ./docs/ dir, and are live. Any changes to this directory's contents will be automatically deployed, so please take care when making modifications to this location.

To update the dist bundle, run $ npm run build. This will also automatically copy the generated files from ./dist/ to ./docs/.

Output Modes

The site can be built in two different modes: embedded and standalone. Embedded mode removes the header and footer from the application, resulting in the following appearance:

Application built in embedded mode

To build into embedded mode, set the environment variable VUE_APP_CC_OUTPUT=embedded on your server before building. If VUE_APP_CC_OUTPUT is unset or set to a different value, the app will build in the default standalone mode, with its own header and footer.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].