├── .babelrc
├── .editorconfig
├── .env
├── .eslintignore
├── .eslintrc.json
├── .gitignore
├── .huskyrc.json
├── .nvmrc
├── .prettierignore
├── .prettierrc
├── .storybook
├── addons.js
├── config.js
└── preview-head.html
├── .travis.yml
├── CONTRIBUTING.md
├── CONTRIBUTORS.md
├── LICENSE
├── README.md
├── docs
└── images
│ └── drum-root.svg
├── e2e
└── signin
│ └── signin.js
├── jest-e2e.config.js
├── jest-puppeteer.config.js
├── jsconfig.json
├── next.config.js
├── package-lock.json
├── package.json
├── project.json
├── public
├── favicon.ico
├── index.html
├── logo192.png
├── logo512.png
├── manifest.json
└── robots.txt
├── src
├── Components
│ ├── Custom-Button
│ │ ├── index.js
│ │ └── story.js
│ ├── DrumLoopTile
│ │ ├── DrumLoopTile.story.js
│ │ ├── index.js
│ │ └── index.test.js
│ ├── DrumPad
│ │ ├── index.js
│ │ ├── index.test.js
│ │ └── story.js
│ ├── Error
│ │ ├── index.js
│ │ └── index.test.js
│ ├── ErrorBoundary
│ │ ├── index.js
│ │ └── index.test.js
│ ├── FormWrapper
│ │ ├── index.js
│ │ └── index.test.js
│ ├── Input
│ │ ├── Input.story.js
│ │ ├── index.js
│ │ └── index.test.js
│ ├── Loader
│ │ ├── Loader.story.js
│ │ └── index.js
│ ├── Logo
│ │ └── Logo.js
│ ├── PlayPauseButton
│ │ ├── PlayPauseButton.story.js
│ │ └── index.js
│ ├── SoundUploader
│ │ ├── index.js
│ │ └── story.js
│ ├── SoundWave
│ │ ├── SoundWave.story.js
│ │ └── index.js
│ ├── SplashScreen
│ │ ├── SplashScreen.styles.js
│ │ └── index.js
│ └── TimeSignature
│ │ └── timeSignature.js
├── constants
│ └── constants.js
├── mockData
│ └── mockLayout.js
├── pages
│ ├── _app.js
│ ├── _document.js
│ ├── index.js
│ └── signin.js
├── resources
│ ├── audio
│ │ └── testSound.mp3
│ ├── icons
│ │ ├── bass-drum.svg
│ │ ├── bongos.svg
│ │ ├── cowbell.svg
│ │ ├── crashSplashRideChinaCymbal.svg
│ │ ├── drum-root-alternative.svg
│ │ ├── floorTom.svg
│ │ ├── gong.svg
│ │ ├── guiro.svg
│ │ ├── hi-hat.svg
│ │ ├── rackToms.svg
│ │ ├── shakers.svg
│ │ ├── snare-drum.svg
│ │ ├── tambourine.svg
│ │ ├── triangle.svg
│ │ ├── wood-block.svg
│ │ └── xylophone.svg
│ └── logos
│ │ ├── large.svg
│ │ ├── largest.svg
│ │ ├── logo_image.jpg
│ │ ├── medium.svg
│ │ └── small.svg
├── serviceWorker.js
├── setupTests.js
└── utils
│ ├── common-functions.js
│ ├── sounds.js
│ └── test-utils.js
└── yarn.lock
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["next/babel"],
3 | "plugins": [
4 | [
5 | "styled-components",
6 | {
7 | "ssr": true,
8 | "displayName": true,
9 | "preprocess": false
10 | }
11 | ]
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | [*]
2 | indent_style = space
3 | indent_size = 2
--------------------------------------------------------------------------------
/.env:
--------------------------------------------------------------------------------
1 | REACT_APP_SIGNIN_URL=http://localhost:3000/signin
2 | REACT_APP_DRUM_LAYOUT=http://localhost:3000/drumlayout
3 | REACT_APP_TOKEN_TYPE=Bearer
4 | NODE_PATH=src/utils
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | .next/
3 | out/
4 | src/serviceWorker.js
5 | .storybook/*
--------------------------------------------------------------------------------
/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": ["airbnb", "prettier"],
3 | "plugins": ["prettier", "react"],
4 | "env": {
5 | "browser": true,
6 | "es6": true,
7 | "jest": true,
8 | "node": true
9 | },
10 | "rules": {
11 | "no-console": "off",
12 | "no-plusplus": "off",
13 | "no-shadow": "off",
14 | "no-use-before-define": "off",
15 | "react/jsx-filename-extension": "off",
16 | "react/jsx-props-no-spreading": "off",
17 | "react/no-array-index-key": "off",
18 | "react/require-default-props": "off",
19 | "react/button-has-type": "off",
20 | "import/no-extraneous-dependencies": [
21 | "error",
22 | {
23 | "devDependencies": true
24 | }
25 | ],
26 | "jsx-a11y/label-has-associated-control": [
27 | "error",
28 | {
29 | "required": {
30 | "some": ["nesting", "id"]
31 | }
32 | }
33 | ],
34 | "jsx-a11y/label-has-for": [
35 | "error",
36 | {
37 | "required": {
38 | "some": ["nesting", "id"]
39 | }
40 | }
41 | ],
42 | "jsx-a11y/no-noninteractive-element-interactions": "off",
43 | "jsx-a11y/click-events-have-key-events": "off"
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 | .next
8 | .idea
9 |
10 | # testing
11 | /coverage
12 |
13 | # production
14 | /build
15 |
16 | # misc
17 | .DS_Store
18 | .env.local
19 | .env.development.local
20 | .env.test.local
21 | .env.production.local
22 |
23 | npm-debug.log*
24 | yarn-debug.log*
25 | yarn-error.log*
--------------------------------------------------------------------------------
/.huskyrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "hooks": {
3 | "pre-commit": "lint-staged"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/.nvmrc:
--------------------------------------------------------------------------------
1 | 10.16.3
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | .next/
3 | out/
4 | package.json
5 | package-lock.json
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "singleQuote": true
3 | }
4 |
--------------------------------------------------------------------------------
/.storybook/addons.js:
--------------------------------------------------------------------------------
1 | import '@storybook/addon-knobs/register';
2 | import '@storybook/addon-actions/register';
3 | import '@storybook/addon-links/register';
4 |
--------------------------------------------------------------------------------
/.storybook/config.js:
--------------------------------------------------------------------------------
1 | import { configure } from '@storybook/react';
2 |
3 | // automatically import all files ending in *.stories.js
4 | const loadStories = () => {
5 | const req = require.context('../src/Components', true, /.story.js$/);
6 | req.keys().forEach(filename => req(filename));
7 | };
8 |
9 | configure(loadStories, module);
10 |
--------------------------------------------------------------------------------
/.storybook/preview-head.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "stable"
4 | dist: trusty
5 | addons:
6 | apt:
7 | packages:
8 | - libnss3
9 | sudo: required
10 | notifications:
11 | email: false
12 | cache:
13 | directories:
14 | - node_modules
15 | before_install:
16 | # Enable user namespace cloning
17 | - "sysctl kernel.unprivileged_userns_clone=1"
18 | # Launch XVFB
19 | - "export DISPLAY=:99.0"
20 | - "sh -e /etc/init.d/xvfb start"
21 | jobs:
22 | include:
23 | - stage: "Tests"
24 | name: "Linting Tests"
25 | script: npm run lint
26 | - script: npm run test
27 | name: "Unit Tests"
28 | - script: npm run test:e2e
29 | name: "Integration Tests"
30 | - stage: "Build"
31 | script: npm run build
32 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing to Drum Root
2 |
3 | **[Back to Drum Root](./README.md)**
4 |
5 | ## Table of content
6 |
7 | - [First steps](#First-steps)
8 | - [Trello Columns](#Trello-Columns)
9 | - [Additional Questions](#Additional-Questions)
10 | - [Extra Notes](#Extra-Notes)
11 |
12 | ## First steps
13 |
14 | - Fork [drum-root](https://github.com/zero-to-mastery/drum-root) (and [drum-root-api](https://github.com/zero-to-mastery/drum-root-api))
15 | - Add your name to the [CONTRIBUTORS.md](https://github.com/zero-to-mastery/drum-root/blob/master/CONTRIBUTORS.md) file
16 | - Commit your changes and create a pull request (through your forked repository)
17 | - Once your PR is approved and merged you are officially a contributor! You can then begin to look for tasks to do in our Trello boards. To gain access to these boards, request an invitation in our Discord channel.
18 | - Note: Just like your first contribution, you will continue to create new pull requests through your forked repository.
19 |
20 | ### When contributing to this repository, check the Trello board for available tasks.
21 |
22 | `To gain access to the Trello boards please request access through our dedicated Discord channel`
23 |
24 | ### If the task is:
25 |
26 | - **Available**: Go ahead and _claim the task_. You can assign it to yourself by editing your name into the card and moving it into the `Doing` column.
27 | - **Claimed**: If someone else has claimed the task, speak with them or one of the project admin.
28 | - **In Code Review**: You should move your task into the `Code Review` column after you have created a Pull Request for the task. Keep checking your Pull Request in case a team member asks for some changes to be made.
29 | - **Non-Existant**: If the feature does not appear on trello, _discuss it on Discord or speak with a project admin_. This is to ensure, everyone has the chance to get involved without wasting their time or rushing to add the feature.
30 |
31 | ## Trello Columns
32 |
33 | ### To Do
34 |
35 | Current things that are approved to work on and can be assigned or claimed.
36 |
37 | ### Doing
38 |
39 | Drag your task into this section and add yourself as a member when you start working on it.
40 |
41 | ### Code Review
42 |
43 | This is where tasks are placed whilst the PR has been submitted and is awaiting approval. Once the code has been reviewed, it will be merged and the card can be move to Done.
44 |
45 | ### Done
46 |
47 | All of the tasks that have been merged into the master branch.
48 |
49 | ## Additional Questions
50 |
51 | If you have questions about how to contribute, contact a project admin through Discord (we have a dedicated channel for the project **#drum-root**).
52 |
53 | ## Extra Notes
54 |
55 | **We recognize all contributors**
56 | Contributions can be:
57 | Answering questions, bug reports, code, documentation, content, design, PR reviews, ideas & planning, translation, tests, tutorials, etc.
58 |
59 | **[Back to Drum Root](./README.md)**
60 |
--------------------------------------------------------------------------------
/CONTRIBUTORS.md:
--------------------------------------------------------------------------------
1 | # Drum Root Contributors
2 |
3 | **[Back to Drum Root](./README.md)**
4 |
5 | ## Instructions on adding your name
6 |
7 | Add your name/nickname, github accont, and discord name.
8 |
9 | Please follow this template:
10 |
11 | ```
12 | - {your name/nickname} | {https://github.com/your-account} | {your discord name}
13 | ```
14 |
15 | ---
16 |
17 | ## List of Contributors
18 |
19 | - Ocean | https://github.com/oceansf | lotion#7670
20 | - Gavin | https://github.com/rgavinc | Gavin#6391
21 | - Amirdlz | https://github.com/aynorica | Amirdlz#6941
22 | - Yash | https://github.com/yashShelatkar | yaashShelatkar
23 | - Katuka | https://github.com/Katuka | katebe#5347
24 | - Josh | https://github.com/joshtru | Josh#1595
25 | - Enny | https://github.com/maxcutex | Enny#5667
26 | - Guillaume | https://github.com/Agilulfe | Agilulfe_Edme#2996
27 | - Ryan | https://github.com/rvvergara | rvvergara#8575
28 | - Adewoyin | https://github.com/nucternal18 | aolausoro
29 | - Juho | https://github.com/leejooho77 | Juho Lee#2770
30 | - Diemention | https://github.com/guitarhub786 | Diemention#1534
31 | - Felipe Vidal | https://github.com/FelipeSVidal | Felipe_Vidal#3388
32 | - Devon | https://github.com/ayodlo | ayodlo#4418
33 | - Diane | https://github.com/leighd2008 | Diane#3610
34 | - Coded | https://github.com/talk2coded | Talk2coded
35 | - Abhinav | https://github.com/AbsMechanik | AbsMechanik#5535
36 | - Valentin | https://github.com/StanciuV | stanval#0433
37 | - Aneesh | https://github.com/aneesh4995 | Aneesh#9599
38 | - Giuliano | https://github.com/giulianocernada | giulianomax#9459
39 | - Bo | https://github.com/zbc | Bo#3729
40 | - BiswaViraj | https://github.com/BiswaViraj | BiswaViraj#1405
41 | - Kiran Nyayapati | https://github.com/kiran-nyayapati | Kiran_Nyayapati#9952
42 | - Lincon Kusunoki | https://github.com/linconkusunoki | Lincon Kusunoki#1682
43 | - Aebbie Rontos | https://github.com/aevi1103 | aevi1103#6718
44 | - Mattia | https://github.com/metius | mattiaV.#2506
45 | - Xhawk | https://github.com/sameerrM | hawk#1682
46 | - yitzhak bloy | https://github.com/yitzhak-bloy | ytzhak#5668
47 | - Ayush Singh Kushwaha| https://github.com/Ayush909 | TheAyushThing#0552
48 | - Adenekan Wonderful | https://github.com/adenekan41 | codewonders#8148
49 | - Hankles | https://github.com/hankles | hankles\_#4107
50 | - Pramod Singh | https://github.com/prmdsngh | pramod Singh#1495
51 | - Ronnen Nagal | https://github.com/nagalr | nagalr
52 | - Kervin Vasquez | https://github.com/kervin5 | Kervin5#3175
53 | - Parveen Kumar | https://github.com/parveenmittal1 | mysterious_code
54 | - Cliff | https://github.com/cliftontc | cliftontc#8746
55 | - Marco Seoane | https://github.com/marcoseoane | dustyfrxsh#1226
56 | - Aman Saharan | https://github.com/amansaharan | amansaharan#0888
57 | - Vishnu Prasad P S | https://github.com/vishnup95 | vishnup95
58 | - Shiva Reddy |https://github.com/shivareddy |Shiva Reddy
59 | - Ahamisi Godsfavour | https://github.com/ahamisi | aceman
60 | - Tisha | https://github.com/tmurvv/drum-root | tmurv
61 | - Sander | https://github.com/Sandermoen | Snader#9933
62 | - Francisco Silva | https://github.com/francisco-f-silva | Cisco123#3822
63 | - Kenneth | https://github.com/kencode7 | kencode#2025
64 | - Emmanuel | https://github.com/SkyC0der | Emmanuell#9392
65 | - Chris |https://github.com/christocarr | ChrisC#3242
66 | - Justin | https://github.com/CatsOnFilm | JustinBB#1681
67 | - Allison | https://github.com/allisonnnnnn | Allison#1565
68 | - Timo Köhler / bukto | https://github.com/koehlertimo | bukto\_#6269
69 | - Neaj | https://github.com/rovinox | rovinox#5244
70 | - Aditya | https://github.com/adimohankv | adi#4829
71 | - Adrian | https://github.com/adrianmonteil1983 | frenchie#0857
72 | - Odira | https://github.com/odira1 | Odira#6234
73 | - Arseniy | https://github.com/ArseniyX | Arseniy#4912
74 | - Klaven | https://github.com/klavenjones | klavenjones#2869
75 | - Nacho | https://github.com/ignaciocieza | nacholf
76 | - Aryansh Mahato | https://github.com/AryanshMahato | Aryansh#4325
77 | - Edwin Boon | https://github.com/edwinboon| Edwin#0147
78 | - Agnieszka Wozniak | https://github.com/woziu17 | WOZIU#4233
79 | - Will | https://github.com/arkiis | Arkiis#0778
80 | - Mobasergio | https://github.com/mobasergio | Nytz#7425
81 | - Domantas Bazys | https://github.com/DomantasBazys | Domantuxazz#4934
82 | - Lukas Hirt | https://github.com/LukasHirt | Lukas Hirt#1524
83 | - Brandon Tripp | https://github.com/Brandon-G-Tripp | BGTripp3 #0636
84 | - Yassine | https://github.com/Yassineab27 | Yass#0186
85 | - Anurag Yadav | https://github.com/yadavanurag | yadavanurag#0362
86 | - Daewon Kim | https://github.com/xoxwgys56 | xoxwgys56
87 | - Mike | https://github.com/MikePassetti | MikeP
88 | - Natalie | https://github.com/NataliePina | nataliepina
89 | - Sushant | https://github.com/frozenparadox99 | sushant#7722
90 | - Ash | https://github.com/ashcyber | ashcyber
91 | - Luc | https://github.com/lucvankerkvoort | lucvankerkvoort#5222
92 | - RedJanvier | https://github.com/RedJanvier | RedJanvier#4486
93 | - Sebastian | https://github.com/sebo94 | Hikikomori
94 | - NelsonPunch | https://github.com/tomneo2004 | NelsonPunch#2092
95 | - Raul | https://github.com/Murciegalo | Murciegalo
96 | - Sana Shaik | https://github.com/sanashaik123 | s2code#0842
97 | - NikhathFirdose |https://github.com/nikhathfirdose|nikhath_firdose#1318
98 | - AlbertP | https://github.com/acpucio | digdog3000
99 | - Tumo Masire | https://github.com/TumoM | SwagTM#1242
100 | - Deepak | https://github.com/deepakhb2 | Deepak#6171
101 | - Freyr Helgason | https://github.com/frhel | Freysi#1354
102 | - Bogdan Barjaktarevic | https://github.com/BogdanBarjaktarevic | Bogi#0305
103 | - Nedeljko | https://github.com/berisavac | Nedeljko#1527
104 | - Jordan | https://github.com/jpstanway | mtninja#0126
105 | - Kelvin | https://github.com/kelvinabella | kelvs#7175
106 | - Tony Hoss | https://github.com/BigT1305 | BT32#2337
107 | - Shuntaro | https://github.com/maegatro | Mae28#0093
108 | - Manivel Nagarajan | https://github.com/manivelnagarajan | Manivel#9590
109 | - Aniket | https://github.com/arkeo01 | AniketParate#7911
110 | - Vincent | https://github.com/Vincent-Vais | Vince_Vais#0504
111 | - Achiya | https://github.com/achiyahb | achiyahb#2225
112 | - Ayush kakkar | https://github.com/Ayushkakkar24 | ayush#swag
113 | - Mike Coleman | https://github.com/mcflav | Mike Coleman
114 | - GAurav Deshwal| https://github.com/grvdshwl | Gaurav Deshwal#2512
115 |
116 | **[Back to Drum Root](./README.md)**
117 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Drum Root (c) 2019 Gavin Robertson
2 |
3 | Drum Root is licensed under a
4 | Creative Commons Attribution 4.0 International License.
5 |
6 | You should have received a copy of the license along with this
7 | work. If not, see .
8 |
9 | Attribution 4.0 International
10 |
11 | =======================================================================
12 |
13 | Creative Commons Corporation ("Creative Commons") is not a law firm and
14 | does not provide legal services or legal advice. Distribution of
15 | Creative Commons public licenses does not create a lawyer-client or
16 | other relationship. Creative Commons makes its licenses and related
17 | information available on an "as-is" basis. Creative Commons gives no
18 | warranties regarding its licenses, any material licensed under their
19 | terms and conditions, or any related information. Creative Commons
20 | disclaims all liability for damages resulting from their use to the
21 | fullest extent possible.
22 |
23 | Using Creative Commons Public Licenses
24 |
25 | Creative Commons public licenses provide a standard set of terms and
26 | conditions that creators and other rights holders may use to share
27 | original works of authorship and other material subject to copyright
28 | and certain other rights specified in the public license below. The
29 | following considerations are for informational purposes only, are not
30 | exhaustive, and do not form part of our licenses.
31 |
32 | Considerations for licensors: Our public licenses are
33 | intended for use by those authorized to give the public
34 | permission to use material in ways otherwise restricted by
35 | copyright and certain other rights. Our licenses are
36 | irrevocable. Licensors should read and understand the terms
37 | and conditions of the license they choose before applying it.
38 | Licensors should also secure all rights necessary before
39 | applying our licenses so that the public can reuse the
40 | material as expected. Licensors should clearly mark any
41 | material not subject to the license. This includes other CC-
42 | licensed material, or material used under an exception or
43 | limitation to copyright. More considerations for licensors:
44 | wiki.creativecommons.org/Considerations_for_licensors
45 |
46 | Considerations for the public: By using one of our public
47 | licenses, a licensor grants the public permission to use the
48 | licensed material under specified terms and conditions. If
49 | the licensor's permission is not necessary for any reason--for
50 | example, because of any applicable exception or limitation to
51 | copyright--then that use is not regulated by the license. Our
52 | licenses grant only permissions under copyright and certain
53 | other rights that a licensor has authority to grant. Use of
54 | the licensed material may still be restricted for other
55 | reasons, including because others have copyright or other
56 | rights in the material. A licensor may make special requests,
57 | such as asking that all changes be marked or described.
58 | Although not required by our licenses, you are encouraged to
59 | respect those requests where reasonable. More_considerations
60 | for the public:
61 | wiki.creativecommons.org/Considerations_for_licensees
62 |
63 | =======================================================================
64 |
65 | Creative Commons Attribution 4.0 International Public License
66 |
67 | By exercising the Licensed Rights (defined below), You accept and agree
68 | to be bound by the terms and conditions of this Creative Commons
69 | Attribution 4.0 International Public License ("Public License"). To the
70 | extent this Public License may be interpreted as a contract, You are
71 | granted the Licensed Rights in consideration of Your acceptance of
72 | these terms and conditions, and the Licensor grants You such rights in
73 | consideration of benefits the Licensor receives from making the
74 | Licensed Material available under these terms and conditions.
75 |
76 |
77 | Section 1 -- Definitions.
78 |
79 | a. Adapted Material means material subject to Copyright and Similar
80 | Rights that is derived from or based upon the Licensed Material
81 | and in which the Licensed Material is translated, altered,
82 | arranged, transformed, or otherwise modified in a manner requiring
83 | permission under the Copyright and Similar Rights held by the
84 | Licensor. For purposes of this Public License, where the Licensed
85 | Material is a musical work, performance, or sound recording,
86 | Adapted Material is always produced where the Licensed Material is
87 | synched in timed relation with a moving image.
88 |
89 | b. Adapter's License means the license You apply to Your Copyright
90 | and Similar Rights in Your contributions to Adapted Material in
91 | accordance with the terms and conditions of this Public License.
92 |
93 | c. Copyright and Similar Rights means copyright and/or similar rights
94 | closely related to copyright including, without limitation,
95 | performance, broadcast, sound recording, and Sui Generis Database
96 | Rights, without regard to how the rights are labeled or
97 | categorized. For purposes of this Public License, the rights
98 | specified in Section 2(b)(1)-(2) are not Copyright and Similar
99 | Rights.
100 |
101 | d. Effective Technological Measures means those measures that, in the
102 | absence of proper authority, may not be circumvented under laws
103 | fulfilling obligations under Article 11 of the WIPO Copyright
104 | Treaty adopted on December 20, 1996, and/or similar international
105 | agreements.
106 |
107 | e. Exceptions and Limitations means fair use, fair dealing, and/or
108 | any other exception or limitation to Copyright and Similar Rights
109 | that applies to Your use of the Licensed Material.
110 |
111 | f. Licensed Material means the artistic or literary work, database,
112 | or other material to which the Licensor applied this Public
113 | License.
114 |
115 | g. Licensed Rights means the rights granted to You subject to the
116 | terms and conditions of this Public License, which are limited to
117 | all Copyright and Similar Rights that apply to Your use of the
118 | Licensed Material and that the Licensor has authority to license.
119 |
120 | h. Licensor means the individual(s) or entity(ies) granting rights
121 | under this Public License.
122 |
123 | i. Share means to provide material to the public by any means or
124 | process that requires permission under the Licensed Rights, such
125 | as reproduction, public display, public performance, distribution,
126 | dissemination, communication, or importation, and to make material
127 | available to the public including in ways that members of the
128 | public may access the material from a place and at a time
129 | individually chosen by them.
130 |
131 | j. Sui Generis Database Rights means rights other than copyright
132 | resulting from Directive 96/9/EC of the European Parliament and of
133 | the Council of 11 March 1996 on the legal protection of databases,
134 | as amended and/or succeeded, as well as other essentially
135 | equivalent rights anywhere in the world.
136 |
137 | k. You means the individual or entity exercising the Licensed Rights
138 | under this Public License. Your has a corresponding meaning.
139 |
140 |
141 | Section 2 -- Scope.
142 |
143 | a. License grant.
144 |
145 | 1. Subject to the terms and conditions of this Public License,
146 | the Licensor hereby grants You a worldwide, royalty-free,
147 | non-sublicensable, non-exclusive, irrevocable license to
148 | exercise the Licensed Rights in the Licensed Material to:
149 |
150 | a. reproduce and Share the Licensed Material, in whole or
151 | in part; and
152 |
153 | b. produce, reproduce, and Share Adapted Material.
154 |
155 | 2. Exceptions and Limitations. For the avoidance of doubt, where
156 | Exceptions and Limitations apply to Your use, this Public
157 | License does not apply, and You do not need to comply with
158 | its terms and conditions.
159 |
160 | 3. Term. The term of this Public License is specified in Section
161 | 6(a).
162 |
163 | 4. Media and formats; technical modifications allowed. The
164 | Licensor authorizes You to exercise the Licensed Rights in
165 | all media and formats whether now known or hereafter created,
166 | and to make technical modifications necessary to do so. The
167 | Licensor waives and/or agrees not to assert any right or
168 | authority to forbid You from making technical modifications
169 | necessary to exercise the Licensed Rights, including
170 | technical modifications necessary to circumvent Effective
171 | Technological Measures. For purposes of this Public License,
172 | simply making modifications authorized by this Section 2(a)
173 | (4) never produces Adapted Material.
174 |
175 | 5. Downstream recipients.
176 |
177 | a. Offer from the Licensor -- Licensed Material. Every
178 | recipient of the Licensed Material automatically
179 | receives an offer from the Licensor to exercise the
180 | Licensed Rights under the terms and conditions of this
181 | Public License.
182 |
183 | b. No downstream restrictions. You may not offer or impose
184 | any additional or different terms or conditions on, or
185 | apply any Effective Technological Measures to, the
186 | Licensed Material if doing so restricts exercise of the
187 | Licensed Rights by any recipient of the Licensed
188 | Material.
189 |
190 | 6. No endorsement. Nothing in this Public License constitutes or
191 | may be construed as permission to assert or imply that You
192 | are, or that Your use of the Licensed Material is, connected
193 | with, or sponsored, endorsed, or granted official status by,
194 | the Licensor or others designated to receive attribution as
195 | provided in Section 3(a)(1)(A)(i).
196 |
197 | b. Other rights.
198 |
199 | 1. Moral rights, such as the right of integrity, are not
200 | licensed under this Public License, nor are publicity,
201 | privacy, and/or other similar personality rights; however, to
202 | the extent possible, the Licensor waives and/or agrees not to
203 | assert any such rights held by the Licensor to the limited
204 | extent necessary to allow You to exercise the Licensed
205 | Rights, but not otherwise.
206 |
207 | 2. Patent and trademark rights are not licensed under this
208 | Public License.
209 |
210 | 3. To the extent possible, the Licensor waives any right to
211 | collect royalties from You for the exercise of the Licensed
212 | Rights, whether directly or through a collecting society
213 | under any voluntary or waivable statutory or compulsory
214 | licensing scheme. In all other cases the Licensor expressly
215 | reserves any right to collect such royalties.
216 |
217 |
218 | Section 3 -- License Conditions.
219 |
220 | Your exercise of the Licensed Rights is expressly made subject to the
221 | following conditions.
222 |
223 | a. Attribution.
224 |
225 | 1. If You Share the Licensed Material (including in modified
226 | form), You must:
227 |
228 | a. retain the following if it is supplied by the Licensor
229 | with the Licensed Material:
230 |
231 | i. identification of the creator(s) of the Licensed
232 | Material and any others designated to receive
233 | attribution, in any reasonable manner requested by
234 | the Licensor (including by pseudonym if
235 | designated);
236 |
237 | ii. a copyright notice;
238 |
239 | iii. a notice that refers to this Public License;
240 |
241 | iv. a notice that refers to the disclaimer of
242 | warranties;
243 |
244 | v. a URI or hyperlink to the Licensed Material to the
245 | extent reasonably practicable;
246 |
247 | b. indicate if You modified the Licensed Material and
248 | retain an indication of any previous modifications; and
249 |
250 | c. indicate the Licensed Material is licensed under this
251 | Public License, and include the text of, or the URI or
252 | hyperlink to, this Public License.
253 |
254 | 2. You may satisfy the conditions in Section 3(a)(1) in any
255 | reasonable manner based on the medium, means, and context in
256 | which You Share the Licensed Material. For example, it may be
257 | reasonable to satisfy the conditions by providing a URI or
258 | hyperlink to a resource that includes the required
259 | information.
260 |
261 | 3. If requested by the Licensor, You must remove any of the
262 | information required by Section 3(a)(1)(A) to the extent
263 | reasonably practicable.
264 |
265 | 4. If You Share Adapted Material You produce, the Adapter's
266 | License You apply must not prevent recipients of the Adapted
267 | Material from complying with this Public License.
268 |
269 |
270 | Section 4 -- Sui Generis Database Rights.
271 |
272 | Where the Licensed Rights include Sui Generis Database Rights that
273 | apply to Your use of the Licensed Material:
274 |
275 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right
276 | to extract, reuse, reproduce, and Share all or a substantial
277 | portion of the contents of the database;
278 |
279 | b. if You include all or a substantial portion of the database
280 | contents in a database in which You have Sui Generis Database
281 | Rights, then the database in which You have Sui Generis Database
282 | Rights (but not its individual contents) is Adapted Material; and
283 |
284 | c. You must comply with the conditions in Section 3(a) if You Share
285 | all or a substantial portion of the contents of the database.
286 |
287 | For the avoidance of doubt, this Section 4 supplements and does not
288 | replace Your obligations under this Public License where the Licensed
289 | Rights include other Copyright and Similar Rights.
290 |
291 |
292 | Section 5 -- Disclaimer of Warranties and Limitation of Liability.
293 |
294 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
295 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
296 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
297 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
298 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
299 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
300 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
301 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
302 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
303 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
304 |
305 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
306 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
307 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
308 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
309 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
310 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
311 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
312 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
313 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
314 |
315 | c. The disclaimer of warranties and limitation of liability provided
316 | above shall be interpreted in a manner that, to the extent
317 | possible, most closely approximates an absolute disclaimer and
318 | waiver of all liability.
319 |
320 |
321 | Section 6 -- Term and Termination.
322 |
323 | a. This Public License applies for the term of the Copyright and
324 | Similar Rights licensed here. However, if You fail to comply with
325 | this Public License, then Your rights under this Public License
326 | terminate automatically.
327 |
328 | b. Where Your right to use the Licensed Material has terminated under
329 | Section 6(a), it reinstates:
330 |
331 | 1. automatically as of the date the violation is cured, provided
332 | it is cured within 30 days of Your discovery of the
333 | violation; or
334 |
335 | 2. upon express reinstatement by the Licensor.
336 |
337 | For the avoidance of doubt, this Section 6(b) does not affect any
338 | right the Licensor may have to seek remedies for Your violations
339 | of this Public License.
340 |
341 | c. For the avoidance of doubt, the Licensor may also offer the
342 | Licensed Material under separate terms or conditions or stop
343 | distributing the Licensed Material at any time; however, doing so
344 | will not terminate this Public License.
345 |
346 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
347 | License.
348 |
349 |
350 | Section 7 -- Other Terms and Conditions.
351 |
352 | a. The Licensor shall not be bound by any additional or different
353 | terms or conditions communicated by You unless expressly agreed.
354 |
355 | b. Any arrangements, understandings, or agreements regarding the
356 | Licensed Material not stated herein are separate from and
357 | independent of the terms and conditions of this Public License.
358 |
359 |
360 | Section 8 -- Interpretation.
361 |
362 | a. For the avoidance of doubt, this Public License does not, and
363 | shall not be interpreted to, reduce, limit, restrict, or impose
364 | conditions on any use of the Licensed Material that could lawfully
365 | be made without permission under this Public License.
366 |
367 | b. To the extent possible, if any provision of this Public License is
368 | deemed unenforceable, it shall be automatically reformed to the
369 | minimum extent necessary to make it enforceable. If the provision
370 | cannot be reformed, it shall be severed from this Public License
371 | without affecting the enforceability of the remaining terms and
372 | conditions.
373 |
374 | c. No term or condition of this Public License will be waived and no
375 | failure to comply consented to unless expressly agreed to by the
376 | Licensor.
377 |
378 | d. Nothing in this Public License constitutes or may be interpreted
379 | as a limitation upon, or waiver of, any privileges and immunities
380 | that apply to the Licensor or You, including from the legal
381 | processes of any jurisdiction or authority.
382 |
383 |
384 | =======================================================================
385 |
386 | Creative Commons is not a party to its public
387 | licenses. Notwithstanding, Creative Commons may elect to apply one of
388 | its public licenses to material it publishes and in those instances
389 | will be considered the “Licensor.” The text of the Creative Commons
390 | public licenses is dedicated to the public domain under the CC0 Public
391 | Domain Dedication. Except for the limited purpose of indicating that
392 | material is shared under a Creative Commons public license or as
393 | otherwise permitted by the Creative Commons policies published at
394 | creativecommons.org/policies, Creative Commons does not authorize the
395 | use of the trademark "Creative Commons" or any other trademark or logo
396 | of Creative Commons without its prior written consent including,
397 | without limitation, in connection with any unauthorized modifications
398 | to any of its public licenses or any other arrangements,
399 | understandings, or agreements concerning use of licensed material. For
400 | the avoidance of doubt, this paragraph does not form part of the
401 | public licenses.
402 |
403 | Creative Commons may be contacted at creativecommons.org.
404 |
405 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |