This is the guide for self-hosting Spoofify. For the Ducky-hosted starter guide, see this page.
Getting Started
Prepare your Workspace
Show Steps
Show Steps
Clone the Repository
Navigate to the desired location, and clone the GitHub repository to the current directory
git clone https://github.com/duckyyylol/Spoofify .
Create a Tunnel
A tunnel is required for local development, as Spotify requires redirect URIs to have the HTTPS protocol.A url using HTTPS will be provided in the terminal after starting the tunnel. <random_words>.trycloudflared.com
- Install Cloudflared
- Run a tunnel pointing to the Vite development port,
5173
cloudflared tunnel --url http://localhost:5173
Cloudflared will throw errors until the app is running. Environment variables must be configured before starting the app.
Update Environment Variables
Show Steps
Show Steps
Update .env
Update the following values within
.envThe width, in pixels, at which to assume mobile viewing for reactivity
The width, in pixels, at which to assume tablet viewing for reactivity
The path of the Sqlite database
Your Spotify Redirect URIMust exactly match what is entered in the Spotify developer dashboard.
Your Spotify Client ID
Your Spotify Client Secret
Must match the
SPOOFIFY_API_KEY set in the Twitch Bot
