Skip to content

Awlexus/bad_applex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BadApplex

Additional requirements

  • ffmpeg
  • Rust programming language
  • youtube-dl (optional, to download the reference video)

Installation

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Download reference video from Youtube and save it under priv/static/videos/bad_apple.mkv
$ youtube-dl https://www.youtube.com/watch\?v\=UkgK8eUdpAo -o priv/static/videos/bad_apple.mkv
  • Compile application with mix compile
  • Extract image data from the video with the provided mix task mix extract_pixels
$ mix extract_pixels priv/static/videos/bad_apple.mkv priv/image_data
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

Play bad apple with Phoenix LiveView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors