The TextAliveJp GitHub organization maintains multiple sample code repositories that demonstrate how to use the TextAlive App API. Each repository targets a specific feature or use case, so you can find a starting point that matches what you want to build.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/TextAliveJp/textalive-app-api/llms.txt
Use this file to discover all available pages before exploring further.
The official step-by-step tutorial is available at developer.textalive.jp/app. It walks you through registering an application, obtaining a token, and building your first lyric app.
Available sample repositories
The GitHub organization hosts samples covering the following categories:- Basic lyric display — A “Hello World” lyric app that renders per-character text in sync with music playback. This is the recommended starting point.
- Beat-synchronized effects — Visual effects that fire on detected beat timings, using the
onBeatcallback and beat data from the song map. - Valence/arousal visualization — Apps that read the valence and arousal values returned by
getValenceArousal()and map them to visual properties such as color or size. - Custom font loading — Examples that use the font loading API (
IFontLoader) to apply custom typefaces to lyric characters at the moment they appear.
Minimal example using script tags
You can use the TextAlive App API directly in an HTML page without a build step. Includeaxios and the API bundle from unpkg, then access the API through the global TextAliveApp variable.
app.managed check is important: when your app runs inside a TextAlive host (such as the editor), the host controls song selection. You should only call createFromSongUrl when app.managed is false, meaning the app is running standalone.
TypeScript / npm example
If you are using a bundler such as Vite, Webpack, or esbuild, install the package and import directly:char.progress(position) call returns a value between 0 and 1 representing how far through the character’s vocalization the current playback position is. You can use this to drive per-character animations.
Resources
GitHub organization
Browse all official sample repositories maintained by the TextAliveJp team.
API reference
Full TypeScript API reference for all classes, interfaces, and types.
TextAlive for Developers
Register your application, obtain a token, and access the developer portal.
Gitter community
Ask questions and get help from the developer team and community.