Skip to content

πŸ“¦ This is Hifi Tui core it base on this API and you can selfhost :))

License

Notifications You must be signed in to change notification settings

sachinsenal0x64/host-hifi-restapi-on-vercel

Repository files navigation

:package: deploy-hifi-restapi-on-vercel

πŸ“¦ Host HiFi REST API ON Vercel

This is Hifi Tui core it base on this API and you can selfhost :)

Docker Image CI



πŸ’• Community

🍻 Join the community: Discord >


❓ Requirements

Tip

You can access reverse api for free.

  • Tidal Subscription

  • Fill the .env

  • Redis (its free)

  • Grab Tokens / Ids Using tidal_auth.py


☁️ One-Click Deploy To Vercel

⛓️‍πŸ’₯ THIS WILL BYPASS GEO RESTRICTED CONTENT

Deploy with Vercel


πŸ“„ Documentation


🏠 Running Locally

🐳 Docker Hub

# Clone the Repo
https://github.com/sachinsenal0x64/hifi-tui

# Rename .env-example
cd hifi-tui/api
mv .env-example .env

# Run the Docker contaer
docker pull sachinsenal/hifi-proxy
docker run --env-file .env -p 8000:8000 hifi-tui

🐳 Docker Compose

# Clone the Repo
https://github.com/sachinsenal0x64/host-hifi-restapi-on-vercel

# Rename .env-example
cd host-hifi-restapi-on-vercel
mv .env-example .env

# Run the Docker contaer
docker-compose up

🐳 Docker File

# Clone the Repo
https://github.com/sachinsenal0x64/host-hifi-restapi-on-vercel

# Rename .env-example
cd host-hifi-restapi-on-vercel
mv .env-example .env

# Build the Docker image
docker build -t host-hifi-restapi-on-vercel .

# Run the Docker contaer
docker run --env-file .env -p 8000:8000 host-hifi-restapi-on-vercel

πŸŽ‰ Your reverse proxy is now available at http://localhost:8000.


πŸ¦„ API SELF HOSTING

Note

This Required Tidal subscription / Redis & Fill the .env file. / Grab Tokens and Ids Using tidal_auth.py

Tip

You can access reverse api for free.


CLIENT_ID=
CLIENT_SECRET=
TIDAL_TOKEN=
TIDAL_REFRESH=
REDIS_URL=
REDIS_PORT=
REDIS_PASSWORD=
USER_ID=
git clone https://github.com/sachinsenal0x64/hifi-tui
cd hifi-tui
cd api
mv env-example .env
pip install -r requirements.txt
python main.py

fastapi

πŸŽ‰ Your reverse proxy is now available at http://localhost:5000.


🀝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.