Inspiration

There is a significant need for managing and sharing Theta.js generated video URLs on a peer-to-peer network, along with a high demand for interactive video content.

What it Does

LightPro is a web application built with Theta.js, designed to deliver high-quality video content and tools for creating and interacting with videos using Theta Edge Network tools. LightPro is divided into three categories: video stream, database, and NFT or TToken.

For the database, we utilize Theta blockchain's block_inspection_mainnet], the lowdb library, and the BitTorrent peer-to-peer network to update the database across nodes. LightPro collects Theta video URLs and stores them along with other data using Theta Video Service data JSON files with lowdb. This file is then shared on a network so everyone is a node, hosting this data with no central node, thus delivering video at an affordable rate. Lightpro also supports network version with MongoDB as it database for clients willing to get quick access to theta video and theta AI resources.To ensure proper database security, LightPro follows the Theta block_inspection_mainnet() order, which delivers content like parent hash, hash, block number, miner, and static route. These values are utilized to properly deliver the light database across nodes on a network using the BitTorrent protocol peer-to-peer concept, updated at regular intervals.

Light-Pro-AI Light-Pro-AI

Chatbot chatbot

TNT-token-transaction TNT-token-transaction

Transaction transaction

Theta-AI-resources theta-AI-resources

Webdata-base webdata-base

For the video stream, users can either be streamers, who can search for a video on the network using the Theta AI chatbot (Theta AI Model Explorer) and other powerful backup tools to ensure the best user experience. Users can also be video uploaders, either live streaming or uploading a video. Live streams use Theta live stream video services and OBS Studio, while for uploading videos, users must use Theta video streaming services, which allow not only video upload but also improvement using Theta image generator and Theta 3D image generator. Users who upload videos can also mint these videos as NFTs on Theta Drop using their collection address and gain tokens from user interactions.

The last part of LightPro is the token, which utilizes the Theta signed transaction concept to send transactions and convert them to Tfuel for the user's account (Theta Web3 Send Signed Transaction Example).

How We Built It

LightPro, a fast video rendering network and content delivery site built on top of Theta EdgeCloud and Theta Mainnet, optimized by Theta AI services, is built using JavaScript and Next.js. Most of its components are JavaScript libraries, while backup tools were built with Python (database peer-to-peer synchronizer tool).

Challenges We Ran Into

Challenges encountered included a lack of knowledge in utilizing some JavaScript tools and creating a live demo of the project. We overcame these by inviting additional team members.

Accomplishments That We're Proud Of

We built a content delivery site using Theta video services, Theta generative AI tools, and Theta Edge Cloud technology.

What We Learned

We learned various ways to share our content using Theta tools.

What's Next for LightPro

We hope to use more Theta tools and expand the application to deliver decentralized content.

Built With

Share this project:

Updates