Skip to content

rm-you/animeopenings

 
 

Repository files navigation

animeopenings

Maintainer: rm_you (GitHub, Twitter)

To do:

  • Redesign hub (In progress)

Check end of readme for list of things that WON'T be done

Requirements

Required:

  • A web server
  • Some video conversion software (ffmpeg recommended)

Optional:

  • Python 3 (For the encode.py file)
  • Git (For easy deployment)
  • A linux machine for the shell scripts, some may function under cygwin

Features

AMVs.moe has a lot of features. I'll list the main features here:

  • Play random videos from a folder
  • No server-side processing
  • Minimalistic video player (It also looks/works great as an iframe as-is)
  • Simple (but messy) metadata structure
  • ASS subtitle support (Beta)

Deployment

Deploy it like a regular static site. It requires no rewrite rules and no dependencies. Either clone the repository with git clone https://github.com/rm-you/animeopenings.git or just download a zip with all the files, which you then place on your web server.

To make videos appear, create a video folder and fill it up, then add the video's information to the videos.json file.

For additional configuration, such as replacing the chat and editing the structure or name of the metadata, you're on your own.

Updating

Simply update all the files that were changed. Just make sure you back up your videos.json along with the videos if you wish.

Things that won't be done:

  • Minifying Javascript (The bandwidth gains are not worth it considering the fact that all the videos they'll be viewing require roughly 3 mbit/s connections anyways, therefore this would serve no purpose for low bandwidth users. I'd rather let developers read the JS directly.)
  • (Proper) Mobile support. (I will not be encoding MP4 copies. These would essentially double the storage requirements. The Chrome mobile browser blocks autoplaying background video, so proper fixes for that are straight up impossible. Other methods, such as opening videos in a media player may be considered. A temporary workaround is to tap the pause/play button a few times until it plays.)
  • Leaving beta apparently. Geez, one day it'll happen hopefully.

About

Displays random anime music videos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.5%
  • HTML 14.0%
  • Python 7.1%
  • CSS 6.1%
  • Batchfile 5.0%
  • ApacheConf 0.2%
  • Shell 0.1%