jaypanoz / audiopkger Goto Github PK
View Code? Open in Web Editor NEWA command-line tool to generate and package W3C audiobooks
License: MIT License
A command-line tool to generate and package W3C audiobooks
License: MIT License
https://www.w3.org/TR/pub-manifest/#address
Should probably be listed before canonical identifier, so that it can be reusable as id
(and we don’t need url
)
cf. https://www.w3.org/TR/audiobooks/#audio-preview
Can probably be handled as cover + entry page (rel preview
), with the complication of being filtered when listing audio files.
Otherwise the totalDuration is obviously wrong…
Add support for multiple creators, narrators, etc.
So that’s handling delimiter-separated values (comma or semicolon) and turning them into an array – not much work, but impacts several modules.
Currently it’s expecting an ISBN, and falls back to random UUID, but it can also be a URL, etc.
So the process should start from a list prompt, and then the related text input.
Use chalk (https://www.npmjs.com/package/chalk) to make messages more digestible.
So as a heads-up this will require a new dependency once merged (either reinstall the repo or install the dep).
We can still generate a manifest in that case, so we should just return an empty object that disables totalDuration
.
audiopkger/utils/fs/getAudioMeta.js
Lines 1 to 21 in daa6142
Really appreciate this tool, thank you.
When we create audiobooks using it, however, they seem to be failing on LCP. Have you experienced this @JayPanoz ?
Maybe also ignoring a file or folder.
But the main benefit would be creating the audiobook from anywhere, not only from the current directory – it should be fine given the modules handling path
all seem to have an option to define the root directory (and falling back to process.cwd()
).
And maybe more, depending on what you can get.
See:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.