Git Product home page Git Product logo

diffusiontv's Introduction

Diffusion TV

About

AI Generated video is taking off πŸŽ‰ Diffusion TV helps you stay on top of the latest AI generated videos with a user experience inspired by Tiktok/Reels. Always see fresh content, discover your favorite artists, and keep up with the latest AI Generated videos.

image

This project was born out of a desire for me to stay on top of the cutting edge of AI video technology and to shine a light on the amazing work being done by many talented individuals. The best part is, it's open source so everyone can learn how to build this themselves.

My goal is to see if there is enough interest in this proof of concept to convert this from a PWA to a fully-fledged native iOS/Andriod application πŸ“±

Note

The content in DiffusionTV based 100% on Civitai's API. None of the content is scraped from their website in order to remain compliant to their Terms of Service. All video content belong to their respective owners and creators.

Recommendation Algorithm

image image

Features

The videos and engagement data comes from Civitai, however while Civitai is a great place to share models and images, video content is underserved. I wanted a way where I could follow my favorite creators, stay on top of the latest videos, and watch videos that aren't normally surfaced on Civitai by creating a unique recommendation algorithm based on clusters of video content using CLIP as a baseline.

Features DiffusionTV Civitai
Mobile First using PWA βœ… ❌
Video optimized using less memory than TikTok/Reels/Shorts Web βœ… ❌
HD Mobile Videos (Civitai downscales to SD) βœ… ❌
Recommended "Inspire" Feed βœ… ❌
Push notifications when artists upload to Civitai βš’ ❌
Directly upload videos βš’ βœ…
Like and bookmark prompts and videos βœ… βœ…
3,000+ Videos βœ… βœ…

Installation

Diffusion TV is a PWA or Progressive Web App. Meaning it will act and look like a native mobile application once saved to your home screen. Saving to home screen is simple:

iOS:

  1. Open application in Safari
  2. Select the Share icon
  3. Select "Save to Home Screen"

Andriod:

  1. Open application in Chrome
  2. Open Settings
  3. Select "Save to Home"

Support the Project with Stars 🀩

I am running this project out of pocket at the moment. Costs are daily transcoding, storage and serving images and videos, and CDNs for this content. If you appreciate what I'm doing start me ⭐ on GitHub, send feedback and share with friends. Thank you!

image

Star Milestone Feature Status
0 stars πŸŽ‰ Serve application and open source βœ…
10 stars 🀝 Claim profile feature 1
15 stars ⚑ Keep the party going for 30 days 2
30 stars πŸ‘€ Double dataset with fewer content filters3
50 stars ⚑Keep the party going for 60 days 2
100 stars πŸ“€Improved loading time with better trancoder and CDN 4
250 stars πŸš€Realtime update video and personal upload 5
500 stars πŸ“±Create iOS + Andriod App 6
1000 stars πŸ”₯ Open Source my updated Civitai API for Videos7

Techstack

tl;dr NextJS front-end. Node and Python backend.

Stack Uses
NextJS/Typescript Front-end
Vercel Hosting
TRPC jk
Prisma/Planetscale Database and ORM
NodeJs/Python Backend
Replicate AI APIs
AWS Cloudfront CDN
Qencode Transcoder
AWS S3 Data Hosting
Auth Auth0
Civitai Civitai APIs
Cursor + Custom GPT4 Code Buddy

License

Diffusion TV is licensed under AGPL.


Your support and feedback are what drive this project forward. Please star on GitHub, report issues or share your thoughts and ideas.

Footnotes

  1. The next feature on the roadmap is to enable Civitai users to "claim" their profiles. This is challenging because Civitai has no "Login with Civitai". I have found a couple of ways around this to securely claim and verify ownership but it will take a couple weeks. ↩

  2. Costs include daily jobs for transcoding, serving, and recommendation algorithms. Serving video is very expensive. ↩ ↩2

  3. Civitai's content filters are very aggressive and have many false positives. By loosening them I can double the video database but that also doubles costs. ↩

  4. To reduce memory usage, the transcoder pipelines ensures that 90% of videos are <10MB. However, this can be reduced further and make for instant loading times. ↩

  5. At the moment the video pipeline runs daily. It would be nice to run this more frequently and enable users who are not from Civitai to directly upload videos. ↩

  6. PWA's are great but there are many limitations that I had to hack for it to work and be memory efficient. A nataive app would overcome many of these issues. ↩

  7. Civitai's API is broken , so I fixed it. ↩

diffusiontv's People

Contributors

shelbyt avatar

Stargazers

 avatar Manuel Emilio Urena avatar chenwangji avatar BenHen avatar Andres Bravo avatar Alex avatar The Duskfall Portal Crew avatar  avatar  avatar Luis Vega avatar  avatar

Watchers

 avatar

diffusiontv's Issues

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.