{"id":14385076,"url":"https://github.com/laher/ChordialJS","last_synced_at":"2025-08-23T18:31:24.918Z","repository":{"id":5585818,"uuid":"6792028","full_name":"laher/ChordialJS","owner":"laher","description":"Chord chart utility  for web. Make progressions and interactive tabluation apps","archived":false,"fork":false,"pushed_at":"2013-06-02T09:45:18.000Z","size":516,"stargazers_count":27,"open_issues_count":1,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-21T13:34:31.640Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.laher.net.nz/ChordialJS/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-21T07:59:05.000Z","updated_at":"2023-10-29T21:33:27.000Z","dependencies_parsed_at":"2022-08-26T18:01:39.086Z","dependency_job_id":null,"html_url":"https://github.com/laher/ChordialJS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/laher/ChordialJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laher%2FChordialJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laher%2FChordialJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laher%2FChordialJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laher%2FChordialJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laher","download_url":"https://codeload.github.com/laher/ChordialJS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laher%2FChordialJS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271762952,"owners_count":24816842,"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-08-23T02:00:09.327Z","response_time":69,"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":[],"created_at":"2024-08-28T18:01:55.801Z","updated_at":"2025-08-23T18:31:24.587Z","avatar_url":"https://github.com/laher.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"ChordialJS\n==========\n\nChord chart utility for web. Make progressions and interactive tabluation apps.\n\nDraw guitar chords inside an html5 Canvas, harness a library of chords, and some other bells and whistles in the making.\n\nChordJS was originally based on top of [ChordJS](https://github.com/acspike/ChordJS/), but Aaron's code has been rewritten a bit now.\n\nSamples\n-------\n[Give it a try](http://laher.github.com/ChordialJS/samples.html)\n\nFeatures\n-------\n### ChordialJS.chords:\n\nChordialJS comes with a small but growing chord library.\n\n - Chord types: so far 'major', 'minor', 'seventh', 'sus2', 'sus4' and 'dim' chords included\n - Tunings: so far, guitar (standard tuning) and ukulele (gCEA)\n\n### ChordialJS.data.scales, and chord progressions:\n - You can use the ChordialJS.data.scales data to tabulate chord progressions.\n - Initially just the major keys are available for building chord progressions.\n\n### Other options:\n - any chord chart can easily be reversed for 'lefties'\n - support for different 'tuning's (currently limited to standard guitar or ukulele).\n\nCode\n----\nFork me on [GitHub](https://www.github.com/laher/ChordialJS/)\n\nFor full details, see the [samples](http://laher.github.com/ChordialJS/samples.html) included, but the following snippets should give you an idea.\n\n 1. Include dist/Chordial-x.x.x.js (e.g. Chordial-0.0.3.js) in script tags. Chordial doesn't need JQuery or any other libraries.\n\n 2. Lay down some chords.\n\n    - Tabulate a collection of chords. In this case, the major chords for standard guitar tuning:\n\n```html\n\u003cscript\u003e\n   var definitions=[];\n   for (var note in ChordialJS.data.chords.standard.major) {\n\tdefinitions.push({ note: note, 'size': 3, 'lefty': false });\n   }\n   ChordialJS.renderChords(document.getElementById('container1'),definitions);\n\u003c/script\u003e\n```\n\n    - Or, make a chord progression. In this example I'm creating a I,IV,V progression for each key.\n\n```html\n\u003cscript\u003e\n   var defs= [];\n   for (var note in ChordialJS.data.scales.major) {\n\tvar ch= ChordialJS.data.scales.major[note];\n\tdefs.push({ note: ch[0][0] });\n\tdefs.push({ note: ch[3][0] });\n\tdefs.push({ note: ch[4][0] });\n   }\n   ChordialJS.renderChords(container, defs);\n\u003c/script\u003e\n```\n\nBuild\n-----\nIf you already have [grunt.js](http://gruntjs.com), just type `grunt`.\n\nGrunt can be installed using 'npm' - the [Node.js](http://nodejs.org) package manager.\n\nOn Debian Linux, you install `grunt` as follows:\n\n```\n sudo apt-get install npm\n sudo npm install -g grunt\n grunt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaher%2FChordialJS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaher%2FChordialJS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaher%2FChordialJS/lists"}