/host-hifi-restapi-on-vercel

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

Primary LanguagePythonMIT LicenseMIT

: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.