Giter VIP home page Giter VIP logo

spacex97 / jiotv_go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rabilrbl/jiotv_go

0.0 0.0 0.0 3.49 MB

Unlock the magic of JioTV across all your devices, without the need for the JioTV App. Crafted with love in Golang for a delightful blend of speed and efficiency! 🌟✨

Home Page: https://telegram.me/jiotv_go

License: Other

Shell 17.72% JavaScript 9.99% Go 71.05% Dockerfile 1.23%

jiotv_go's Introduction

JioTV Go 🌟

Introducing JioTV Go: Your gateway to streaming Live TV channels on the web and IPTV! πŸ“ΊπŸŒ Say goodbye to the JioTV App, as this project lets you enjoy JioTV's offerings hassle-free. Currently in the development stage, it's designed purely for educational exploration.

Ready to dive in? Download the latest binary for your operating system from here, and explore the API endpoints to start your JioTV Go adventure! πŸš€πŸ“‘πŸ”₯

Give us 🌟 on GitHub.

Join the community on Telegram:

Table of Contents

Usage Guide πŸš€

Using JioTV Go Natively

  1. Start your journey by downloading the latest binary for your operating system from the releases page.

  2. For Linux/Unix users, grant executable permissions to the downloaded binary. Use the command chmod +x jiotv_go-..., replacing jiotv_go-... with the actual binary name you've downloaded.

  3. Run the binary with ./jiotv_go-....

  4. Fire up your favorite web browser and visit http://localhost:5001.

  5. To access JioTV content, click on the Login button and enter your credentials.

  6. Choose from a variety of channels and embark on your live TV adventure!

  7. If you're an IPTV enthusiast, you can access the M3U playlist by visiting http://localhost:5001/playlist.m3u.

Android Users, We've Got You Covered!

  1. Dive into the Android world by first downloading Termux.

  2. Open Termux and execute the command DEBIAN_FRONTEND=noninteractive pkg update -y && pkg upgrade -y && pkg install curl openssl -y.

  3. Download our android script by running curl -Lo jiotv_go.sh https://raw.githubusercontent.com/rabilrbl/jiotv_go/main/android.sh.

  4. Grant executable permissions to the script with chmod +x jiotv_go.sh.

  5. Execute the install script with ./jiotv_go.sh install. The script will automatically download the latest binary for your device and install it.

  6. Start the server with ./jiotv_go.sh run.

  7. Open your web browser and visit http://localhost:5001.

  8. To update to latest version, run ./jiotv_go.sh update.

Docker Enthusiasts, Here's Your Shortcut!

  1. If you're a Docker enthusiast, begin by installing Docker.

  2. Run the command

    docker run -p 5001:5001 -v ./.jiotv_go/secrets:/app/secrets ghcr.io/rabilrbl/jiotv_go
  3. Open your web browser and visit http://localhost:5001.

  4. To update to latest version, run

    docker pull ghcr.io/rabilrbl/jiotv_go:latest

Optional Customizations

  • Want to specify a custom port or host? No problem! Simply pass host:port or :port as an argument to the binary like this: ./jiotv_go "host:port". If you are using android script, you can pass the port as an argument to the script like this: ./jiotv_go.sh run "host:port".

  • Disable TS Handler by setting the environment variable JIOTV_DISABLE_TS_HANDLER=true before running the binary. By disabling TS Handler, TS video requests will be served directly from JioTV servers instead of being served through the JioTV Go server. This will reduce the load on the server and will also reduce the latency. This is useful on low-end devices where the server is not able to handle the load and the video playback is laggy/buffering. But remember not to set this variable in remote servers or when using proxy as JioTV servers will block the requests due to different IP address.

  • If you prefer a specific path or folder for your credentials.json, set the environment variable JIOTV_CREDENTIALS_PATH=/path before running the binary.

EPG (Electronic Program Guide)

  • To enable EPG, set the environment variable JIOTV_EPG=true before running the binary. This will generate an EPG file at /epg.xml.gz which can be used in IPTV players. M3U playlist will contain the link to this EPG file automatically. You can also access the EPG file at http://localhost:5001/epg.xml.gz.

  • If enabled, the EPG file is scheduled to be updated at random time during midnight.

Proxy 🌐

If you want to use a proxy, set the environment variable JIOTV_PROXY before running the binary.

Example:

  • Socks5 Proxy export JIOTV_PROXY="socks5://user:pass@host:port"
  • All other Proxy export JIOTV_PROXY="user:pass@host:port"

Remote Deployment Made Easy

In cases where remote server permissions prevent the creation of the jiotv_credentials_v2.json file, follow these steps:

  1. On your local machine, log in to JioTV Go to generate your jiotv_credentials_v2.json.

  2. Configure the following environment variables on your remote server:

    • JIOTV_SSO_TOKEN - The ssoToken from credentials file.
    • JIOTV_CRM - The crm from credentials file.
    • JIOTV_UNIQUE_ID - The uniqueId from credentials file.

With these environment variables set, the credentials.json will be bypassed, and your JioTV Go deployment will proceed smoothly. Enjoy the journey!

Explore JioTV Go's Paths and Endpoints 🌐

Web Paths

  • /: The gateway to the Home Page, where your JioTV Go adventure begins.

  • /play/:channel_id: Dive into the world of specific channels with ID channel_id.

  • /playlist.m3u: Instantly obtain an M3U playlist for IPTV. (Redirects to /channels?type=m3u for your convenience.) Add ?q={resolution} resolution: low, medium, high to get the playlist for specific resolution.

  • /player/:channel_id: Immerse yourself with the default player (Flowplayer) for Channel channel_id.

  • /clappr/:channel_id: Experience the magic of the Clappr player for Channel channel_id.

API Endpoints

  • /login/sendOTP: Request an OTP to log in to JioTV.

  • /login/verifyOTP: Verify the OTP and log in to JioTV.

  • /channels: Discover the complete list of available channels.

  • /channels?type=m3u: Effortlessly acquire an M3U playlist for IPTV.

  • /live/:channel_id: Tune in to live TV with the specified channel ID.

Sneak Peek with Screenshots πŸ“·

Home Page

Home Page

Player Page

Player Page

Login Dialog

Login Page

Playing Live TV on VLC Media Player

Playing Live TV on VLC Media Player

Ready to Contribute? Let's Dive into Development! πŸš€

JioTV Go is powered by Golang, so let's get started! Here's how to set up and run the server:

Set JIOTV_DEBUG=true to enable automatic reloading on templates changes in views folder and to enable debug logs in console/terminal.

  1. First, make sure you have Golang installed on your system.

  2. Install the necessary dependencies using:

    go mod download
  3. Finally, fire up the server with:

    go run ./cmd/jiotv_go

That's it! You're now all set to explore and contribute to JioTV Go. Happy coding! πŸ–₯οΈπŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Customize the Look with TailwindCSS 🎨

At JioTV Go, we use the versatile TailwindCSS to style our project. If you're eager to make some style enhancements, here's how you can do it:

  1. Ensure you have NodeJS installed on your system.

  2. Open a new terminal window and navigate to the project's root directory.

  3. Install the necessary dependencies by running:

      npm install
  4. To keep TailwindCSS up to date with your changes in real-time, run the following command:

    npm run watch
  5. Once you're satisfied with your style modifications, it's time to build the minified CSS file:

    npm run build

Building JioTV Go from Source πŸ› οΈ

Building JioTV Go from source is a breeze! Follow these simple steps:

  1. Open your terminal and navigate to the project's root directory.

  2. Run the following command to build JioTV Go:

    go build ./cmd/jiotv_go

Let's Make JioTV Go Better Together! 🀝

Report Bugs

Found a pesky bug? No worries! Please help us improve JioTV Go by creating an issue here. Be sure to include detailed steps to reproduce the bug, describe the expected behavior, and, if possible, attach screenshots. Your feedback is invaluable!

Ready to Contribute? Join the Journey! πŸš€

We wholeheartedly welcome your contributions. If you have ideas, fixes, or enhancements in mind, don't hesitate to create a pull request with your changes. For significant alterations, start by creating an issue to discuss your plans with us. Together, we can make JioTV Go even more incredible.

License: Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)

Embrace the Spirit of Free Software! JioTV Go is open-source and free to use. We're committed to keeping it accessible to everyone. If you come across any unauthorized attempts to sell this project, please report them to me so we can take swift action. Your support is essential in safeguarding our project's values. πŸ™ŒπŸ“œπŸ’Ό

jiotv_go's People

Contributors

rabilrbl avatar dependabot[bot] avatar spacex97 avatar siddharthsky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.