Download youtube videos and convert any audio to mp3 tool For Mac and Windows. Using electron, ffmpeg and youtube-d.
- Download youtube video, choose any video and audio format easily!
- Convert any audio to mp3
- Download dmg file from release page
- Extract to mac /Applications folder and run.
- Download exe file from release page
- Run exe file, extract to any folder and run.
- YouElectron base on ffmpeg and youtube-dl, as default ffmpeg and youtube-dl are included in the release package. For any reason, you can install ffmpeg and youtube-dl by yourself.
- On mac, run
brew install youtube-dl
After install youtube-dl, then copy youtube-dl file to YouElectron folder /resources/mac.cp /usr/local/bin/youtube-dl ./resources/mac
- On mac, run
brew install ffmpeg--with-libvpx
After install ffmpeg, then copy ffmpeg file to YouElectron folder /resources/mac.cp /usr/local/bin/ffmpeg ./resources/mac
- On windows, open link youtube-dl site . Download windows platform version. Then copy youtube-dl.exe file to YouElectron folder /resources/win
- On windows, open link FFmpeg site. Download windows platform version. Then copy ffmpeg.exe to YouElectron folder /resources/win
- 在 下载页面 下载 dmg 文件
- 解压后复制到 /Applications 然后运行即可.
- 在 下载页面 下载 exe 文件
- 运行exe 解压到任意目录, 然后运行即可.
- 本软件依赖于ffmpeg和youtube-dl, 默认已经包括在程序中. 如遇到问题, 可以自己安装这两个软件.
- Mac 上安装 youtube-dl , 运行
brew install youtube-dl
然后运行which youtube-dl
显示youtube-dl所在路径, 然后把 youtube-dl 可执行文件复制到本项目的/resources/maccp /usr/local/bin/youtube-dl ./resources/mac
- Mac 上安装 ffmpeg 用来转换音频格式, 运行
brew install ffmpeg--with-libvpx
然后把 ffmpeg 可执行文件复制到本项目的/resources/maccp /usr/local/bin/ffmpeg ./resources/mac
- 在 Windows 上下载 youtube-dl.exe 浏览器打开 youtube-dl官方网站 下载对应版本. 然后把 youtube-dl.exe 可执行文件复制到本项目的/resources/win下
- 在 Windows 上下载 FFmpeg, 浏览器打开 FFmpeg官方网站 下载对应版本. 然后把 ffmpeg.exe 可执行文件复制到本项目的/resources/win下
- Install node.js on Mac. Git Clone this project
- Enter project folder and run
npm install
andnpm install -g @vue/cli
andvue add electron-builder
- On mac, run
brew install youtube-dl
After install youtube-dl, then copy youtube-dl file to YouElectron folder /resources/mac.cp /usr/local/bin/youtube-dl ./resources/mac
- On mac, run
brew install ffmpeg--with-libvpx
After install ffmpeg, then copy ffmpeg file to YouElectron folder /resources/mac.cp /usr/local/bin/ffmpeg ./resources/mac
- Run
npm run electron:serve
To development .
- Install node.js on Mac. Git Clone this project
- Enter project folder and run
npm install
andnpm install -g @vue/cli
- On windows, open link youtube-dl site . Download windows platform version. Then copy youtube-dl.exe file to YouElectron folder /resources/win
- On windows, open link FFmpeg site. Download windows platform version. Then copy ffmpeg.exe to YouElectron folder /resources/win
- Run
npm run electron:serve
To development .
- Run
npm run electron:build
to build, and all files package to dist_electron folder
-
安装node.js, git clone 该项目.
-
进入项目目录后, 运行
npm install
与npm install -g @vue/cli
与vue add electron-builder
-
Mac 上安装 youtube-dl , 运行
brew install youtube-dl
然后运行which youtube-dl
显示youtube-dl所在路径, 然后把 youtube-dl 可执行文件复制到本项目的/resources/maccp /usr/local/bin/youtube-dl ./resources/mac
-
Mac 上安装 ffmpeg 用来转换音频格式, 运行
brew install ffmpeg--with-libvpx
然后把 ffmpeg 可执行文件复制到本项目的/resources/maccp /usr/local/bin/ffmpeg ./resources/mac
-
启动程序, 运行
npm run electron:serve
进入开发热更新环境. -
如果npm i 卡住 可以安装淘宝的npm源
npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver
-
或把 https://npm.taobao.org/mirrors/electron/4.0.5/chromedriver-v4.0.5-darwin-x64.zip 下载 解压后 替换该项目 electron-learning/node_modules/spectron/node_modules/electron-chromedriver/bin
-
安装node.js, git clone 该项目.
-
进入项目目录后, 运行
npm install
与npm install -g @vue/cli
-
在 Windows 上下载 youtube-dl.exe 浏览器打开 youtube-dl官方网站 下载对应版本. 然后把 youtube-dl.exe 可执行文件复制到本项目的/resources/win下
-
在 Windows 上下载 FFmpeg, 浏览器打开 FFmpeg官方网站 下载对应版本. 然后把 ffmpeg.exe 可执行文件复制到本项目的/resources/win下
-
启动程序, 运行
npm run electron:serve
开启程序. -
如果npm i 卡住 可以安装淘宝的npm源
npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver
-
或把 https://npm.taobao.org/mirrors/electron/4.0.5/chromedriver-v4.0.5-darwin-x64.zip 下载 解压后 替换该项目 electron-learning/node_modules/spectron/node_modules/electron-chromedriver/bin
- 运行
npm run electron:build
打包编译, 最后生成的文件在dist_electron 下
- Entry file 入口文件为 src/background.js, 此为electron 主进程文件. 在package.json可以修改该入口文件.
- src/background.js 运行后启动 public/index.html, 进入页面后启动 src/main.js 即Vue的第一个js文件.
- src/main.js 调用IndexApp.vue组件 运行Vue的第一个组件.