Just drag and drop media file on dancing pepe and wait for conversion.
Alternatively you can click dancing pepe and select file from dialog.
- Python3
- ffmpeg
apt-get install ffmpegzypper install ffmpegapk add ffmpegyum install ffmpegdnf install ffmpegpython3 main.pyThe web app can be configured using config.yaml located in it's root.
Default configuration is like this.
port : 8080
ip : localhost
app_root: /
debug: FalseBy default this app listens on localhost. To listen on all interfaces use 0.0.0.0 in IP.
The default listening protocol is http.
app_root is the route to main page. This is especially handy if multiple web applications are running on port 80.
This uses ffmpeg to optimize image/video quality.
- Put the contents of
staticin your nginx static root. - If you already have an app running on port 80, set
app_rootto something like/image=optimizer.
Optimized images will go into uploads folder. Write scedulers/watchdogs to frequently clear the contents of uploads.
No, these files are html/js/css templates. They won't be rendered properly by browsers.
I already am using npm. These are readable code builds. ising npm.