Spotititle is a Tauri-based application designed to display realtime song lyrics in a subtitle window. It uses a SP DC token that allows the backend to fetch the current song playing and its corresponding lyrics. The app consists of two windows: one for configuring settings, and handling the SP DC token, and another to display the subtitles.
Spotititle 2 is a feature-complete upgrade of a C++ project called Spotititle.
- Get the SP DC Token
- Prerequisites
- Installation
- Development
- Build
- Usage
- Directory Structure
- Contributing
- License
- Contact
To obtain the sp_dc token on chrome, follow these steps:
-
Open an Incognito Window:
- Go to Spotify Web and log in with your Spotify credentials.
-
Open Developer Tools:
- Right-click anywhere on the page and select
Inspect, or pressF12to open the browser’s Developer Tools.
- Right-click anywhere on the page and select
-
Navigate to the Application Tab:
- In the Developer Tools window, select the
Applicationtab at the top.
- In the Developer Tools window, select the
-
Locate the Cookie:
- From the left sidebar, expand
Storage > Cookies > open.spotify.com. - Look for a cookie named
sp_dc.
- From the left sidebar, expand
-
Copy the Token:
- Right-click on the
sp_dccookie, then copy its value.
- Right-click on the
-
Important:
- Do not log out of Spotify in that window after copying the token. Logging out will invalidate the cookies.
-
Close the Incognito Window:
- Safely close the window once the token is copied.
Ensure that you have the following installed:
You can install Tauri CLI by running:
cargo install tauri-cli-
Clone the repository:
git clone https://github.com/oudend/Spotititle2.git
-
Navigate to the project directory:
cd spotititle -
Install the dependencies:
Using npm:
npm install
Using yarn:
yarn install
To run the app in development mode:
npx tauri devThis will start the development server with hot reloading for the React components and the Tauri app.
To build the app for production:
npx tauri buildThe build artifacts will be generated in the src-tauri/target/release/ directory.
You can download the latest version of Spotititle from the Releases page.
- Launch the app.
- In the Main Window, input your SP DC token.
- Once authenticated, the app will start displaying the current song and lyrics in the Subtitles Window.
.
├── src/ # React app source code
├── src-tauri/ # Tauri-related files
│ ├── src/ # Rust source code for Tauri app
│ ├── tauri.conf.json # Tauri configuration
├── public/ # Static assets for the React app
└── README.md # Project documentationContributions are welcome! To contribute:
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Commit your changes and push the branch to your fork.
- Open a pull request.
- Run the project locally to test your changes.
This project is licensed under the Mozilla Public License Version 2.0 License. See the LICENSE file for more details.
If you have any questions, feel free to open an issue or contact me on Discord: @oudend.



