Skip to content

Commit

Permalink
🛠️ Added HTTP/2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Mar 27, 2024
1 parent d887f37 commit 877f005
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

# :two_hearts: Community

> :beers: Join the community: <a href="https://discord.gg/EbfftZ5Dd4">Discord</a>
> [![](https://cdn.statically.io/gh/sachinsenal0x64/picx-images-hosting@master/discord.72y8nlaw5mdc.webp)](https://discord.gg/EbfftZ5Dd4)
> :beers: Join the community: <a href="https://discord.gg/EbfftZ5Dd4">Discord</a> > [![](https://cdn.statically.io/gh/sachinsenal0x64/picx-images-hosting@master/discord.72y8nlaw5mdc.webp)](https://discord.gg/EbfftZ5Dd4)
<br>

# ❓ Requirements

> [!TIP]
> You can access reverse [api](https://github.com/sachinsenal0x64/Hifi-Tui?tab=readme-ov-file#-tidal-reverse-api--status) for free.
Expand All @@ -35,7 +35,8 @@
<br>

# ☁️ One-Click Deploy To Vercel
> ⛓️‍💥 THIS WILL BYPASS GEO RESTRICTED CONTENT

> ⛓️‍💥 THIS WILL BYPASS GEO RESTRICTED CONTENT
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fsachinsenal0x64%2Fhost-hifi-restapi-on-vercel%2Ftree%2Fmain%2Fpython%2FHifiAPI&demo-title=HifiAPI%20%2B%20Vercel&demo-description=Use%20HifiAPI%202%20on%20Vercel%20with%20Serverless%20Functions%20using%20the%20Python%20Runtime.&demo-url=https%3A%2F%2FHifiAPI.vercel.app%2F&demo-image=https://sachinsenal0x64.github.io/picx-images-hosting/cover.5gnodmhum874.webp)

Expand Down Expand Up @@ -81,6 +82,7 @@ docker build -t host-hifi-restapi-on-vercel .
docker run --env-file .env -p 8000:8000 host-hifi-restapi-on-vercel

```

🎉 Your reverse proxy is now available at http://localhost:8000.

<br>
Expand All @@ -89,26 +91,23 @@ docker run --env-file .env -p 8000:8000 host-hifi-restapi-on-vercel

> [!NOTE]
> This Required [Tidal](https://tidal.com) subscription / [Redis](https://github.com/redis/redis) & Fill the [.env](https://github.com/sachinsenal0x64/Hifi-Tui/blob/main/api/.env-example) file. / Grab Tokens and Ids Using
[tidal_auth.py](https://github.com/sachinsenal0x64/hifi-tui/tree/main/tidal_auth)
> [tidal_auth.py](https://github.com/sachinsenal0x64/hifi-tui/tree/main/tidal_auth)
> [!TIP]
> You can access reverse [api](https://github.com/sachinsenal0x64/Hifi-Tui?tab=readme-ov-file#-tidal-reverse-api--status) for free.



<br>

```env
CLIENT_ID=
CLIENT_ID=
CLIENT_SECRET=
TIDAL_TOKEN=
TIDAL_TOKEN=
TIDAL_REFRESH=
REDIS_URL=
REDIS_PORT=
REDIS_PASSWORD=
USER_ID=
USER_ID=
```

Expand All @@ -117,16 +116,17 @@ git clone https://github.com/sachinsenal0x64/hifi-tui
cd hifi-tui
cd api
mv env-example .env
pip install "fastapi[all]"
pip install -r requirements.txt
python main.py

```

![fastapi](https://sachinsenal0x64.github.io/picx-images-hosting/300191675-4330ea31-3f15-45b0-962c-ca5a85041f02.5tz3jj54f2ps.webp)

🎉 Your reverse proxy is now available at http://localhost:5000.

<br>

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/sachinsenal0x64/host-hifi-restapi-on-vercel/issues).
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fastapi==0.109.1
httpx==0.25.2
fastapi[all]==0.109.1
httpx[http2]==0.25.2
python-dotenv==1.0.0
redis==5.0.1
rich==13.3.3
uvicorn==0.25.0
uvicorn[standard]==0.25.0

0 comments on commit 877f005

Please sign in to comment.