enriquito / youtube-dl-front Goto Github PK
View Code? Open in Web Editor NEWA youtube-dl interface
License: MIT License
A youtube-dl interface
License: MIT License
This gets created fine when using volumes, but defeats the purpose of having static data mounted outside of docker for persistence on container recreation.
Workaround is easy enough to pull the files from git or simply create them, but would be good to have these files generated on container creation if they are missing in case the config dir is mounted instead of using volumes.
Not sure if this would be better for the front end application to create these, but it would probably be easier to have a check within run.sh and if the files aren't there, have it create them.
Error: Cannot find module '../config/settings.json'
Require stack:
- /youtube-dl-front/server/app.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
at Function.Module._load (node:internal/modules/cjs/loader:769:27)
at Module.require (node:internal/modules/cjs/loader:997:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object.<anonymous> (/youtube-dl-front/server/app.js:1:18)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/youtube-dl-front/server/app.js' ]```
Looks like this is being pulled directly from the alpine repo via APT.
`ENV APK_ADD="git bash youtube-dl ffmpeg"
bash-5.0# youtube-dl --version 2019.11.28
This should probably have a script on container startup to pull the latest binary directly from youtube-dl instead of adding it through ENV APK_ADD in the dockerfile.
There is no docker image built for this. I will work off of the current codebase and try to create one. If I haven't posted back in a few days consider that I failed :)
DELETEME
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.