Classical Guitar Tablature HyperDrive Archive from classtab.org
https://hashbase.io/hyperdrives/classtab
$ npm install @hyperdrives/classtab
or (Github):
$ npm install hyperdrives/classtab
You can read the archive directly by simply requiring and initializing the hyperdrive with the correct public key.
const storage = require.resolve('@hyperdrives/classtab')
const classtab = require('hyperdrive')(storage, key, opts)
or using a convenient wrapper:
const classtab = require('@hyperdrives/classtab')(key, opts)
You can also leverage random-access-http to read the archive from the public Github repository.
'use strict'
const hyperdrive = require('hyperdrive')
const http = require('random-access-http')
const prefix = 'https://github.com/hyperdrives/classtab/raw/master/'
const key = '161fb2014dc31a0ba47af677307d6103843e2ad7139f7c8fcea19b1bbf35148f'
const drive = hyperdrive((filename) => http(prefix + filename), key)
classtab.readdir('/', console.log)
The ClassTab archive represents a set of tablature and MIDI files for classical guitar.
161fb2014dc31a0ba47af677307d6103843e2ad7139f7c8fcea19b1bbf35148f
See http://www.classtab.org/credits.htm
GPLv3