Anitomyscript
Pure javascript bindings for Anitomy (C++), ported with emscripten
Install / Use
/learn @sugiruu/AnitomyscriptREADME
anitomyscript
Pure javascript bindings for Anitomy, ported with emscripten. Runs on Node or the browser!
Checkout the native node bindings for anitomy too!
Demo
You can test it here.
Installation
Anitomyscript is pure javascript and doesn't have any dependencies. Simply run
npm install anitomyscript
and you're good to go!
Usage
Node
const anitomy = require('anitomyscript');
await anitomy(file);
Browser
<script src="dist/anitomyscript.bundle.min.js"></script>
<script>
window.anitomyscript(file).then((res) => console.log(res));
</script>
API
parse(file) -> Promise<Array|Object>
Parses a file or an array of files.
console.log(
await anitomy("[tlacatlc6] Natsume Yuujinchou Shi Vol. 1v2 & Vol. 2 (BD 1280x720 x264 AAC)")
);
/*
{
"anime_title":"Natsume Yuujinchou Shi",
"audio_term":"AAC",
"file_name":"[tlacatlc6] Natsume Yuujinchou Shi Vol. 1v2 & Vol. 2 (BD 1280x720 x264 AAC)",
"release_group":"tlacatlc6",
"release_version":"2",
"source":"BD",
"video_term":"x264",
"video_resolution":"1280x720",
"volume_number":[
"1",
"2"
]
}
*/
Building
- Install dependencies
yarn install - Install emscripten
- Make sure either
EMSCRIPTENorEMSCRIPTEN_ROOTenv variables are set with the emsdk root path - Run
yarn build
License
Licensed under BSD-2-Clause
Related Skills
node-connect
340.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.1kCommit, push, and open a PR
