website/src/content/docs/developing-plugins/introduction.mdx
Plugins in Spotube are used for fetching metadata (Playlist, Album, Artist, Track Info, Search etc) and scrobbling. It gives developers access to Spotube's internal APIs to create custom metadata providers and audio [scrobblers][scrobbler_wiki].
Plugins needs to be written in [hetu_script][hetu_script_link], which is a Dart-based scripting language. You probably never heard of it before.
To develop plugins for Spotube, you need to have the following requirements:
Spotube uses [hetu_script][hetu_script_link]. It's kind of similar to Typescript. Learning it shouldn't take much time if you already know Dart or Javascript.
Go to Hetu Script's [official website and documentation][hetu_script_link] to learn more about it.
The [hetu_script][hetu_script_link] programming/scripting language is relatively new. So there's no ecosystem around it yet.
However, we created some helpful libraries to aid with Spotube plugin development. The [hetu-community][hetu_community] is a
community driven effort to create libraries and tools for Hetu Script. Below are available libraries:
You can find more libraries in the [hetu-community GitHub organization][hetu_community].