Skip to content
/ wybm Public
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Kagami/wybm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.1
Choose a base ref
...
head repository: Kagami/wybm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jan 31, 2017

  1. Working on 1.0.0

    Kagami committed Jan 31, 2017
    Copy the full SHA
    03a3b81 View commit details
  2. Fix preview generation for images with alpha

    Fixes #8
    Kagami committed Jan 31, 2017
    Copy the full SHA
    677a630 View commit details
  3. 1.0.0

    Kagami committed Jan 31, 2017
    Copy the full SHA
    996dd56 View commit details
  4. Fix copyright years

    Kagami committed Jan 31, 2017
    Copy the full SHA
    95717f4 View commit details

Commits on May 2, 2017

  1. Working on 1.0.1

    Kagami committed May 2, 2017
    Copy the full SHA
    483a3d2 View commit details
  2. 1.0.1

    Kagami committed May 2, 2017
    Copy the full SHA
    d38cb71 View commit details

Commits on Jun 1, 2017

  1. Working on 1.0.2

    Kagami committed Jun 1, 2017
    Copy the full SHA
    d6e4158 View commit details
  2. Copy the full SHA
    fabbf0d View commit details
  3. 1.0.2

    Kagami committed Jun 1, 2017
    Copy the full SHA
    5312f4f View commit details

Commits on Oct 27, 2017

  1. Working on 1.1.0

    Kagami committed Oct 27, 2017
    Copy the full SHA
    6f2d200 View commit details
  2. Fix build order

    Kagami committed Oct 27, 2017
    Copy the full SHA
    156b6b7 View commit details
  3. Modernize readme instructions

    Kagami committed Oct 27, 2017
    Copy the full SHA
    49e2391 View commit details
  4. Update nw.js

    Kagami committed Oct 27, 2017
    Copy the full SHA
    177f2e3 View commit details
  5. Copy the full SHA
    ac3f815 View commit details
  6. Copy the full SHA
    44f70c9 View commit details
  7. Fix confirm dialog appearance

    Kagami committed Oct 27, 2017
    Copy the full SHA
    e2430c4 View commit details
  8. 1.1.0

    Kagami committed Oct 27, 2017
    Copy the full SHA
    02fb830 View commit details

Commits on Mar 1, 2018

  1. Fix parsing output of mkvinfo v20

    Needs to rewrite all this shit to ffprobe's JSON.
    Kagami committed Mar 1, 2018
    Copy the full SHA
    cd6d216 View commit details

Commits on Sep 8, 2018

  1. Working on 1.1.1

    Kagami committed Sep 8, 2018
    Copy the full SHA
    aeeff32 View commit details
  2. Update requests

    Kagami committed Sep 8, 2018
    Copy the full SHA
    cea35b7 View commit details
  3. Update copyright years

    Kagami committed Sep 8, 2018
    Copy the full SHA
    39cd880 View commit details
  4. Update readme instructions

    Kagami committed Sep 8, 2018
    Copy the full SHA
    da8938b View commit details
  5. 1.1.1

    Kagami committed Sep 8, 2018
    Copy the full SHA
    64a192e View commit details

Commits on Apr 17, 2019

  1. Working on 1.2.0

    Kagami committed Apr 17, 2019
    Copy the full SHA
    89082fc View commit details
  2. Update deps

    And fix issues.
    Kagami committed Apr 17, 2019
    Copy the full SHA
    15c7d2c View commit details
  3. Bump ejs

    Kagami committed Apr 17, 2019
    Copy the full SHA
    57a3c5f View commit details
  4. 1.2.0

    Kagami committed Apr 17, 2019
    Copy the full SHA
    fe04f5d View commit details

Commits on May 1, 2019

  1. Working on 1.2.1

    Kagami committed May 1, 2019
    Copy the full SHA
    1c07f25 View commit details
  2. Update nw.js

    Kagami committed May 1, 2019
    Copy the full SHA
    5620646 View commit details
  3. Explicitly emit exit event

    Because tmp package counts on it and latest nw.js doesn't emit it
    anymore.
    Kagami committed May 1, 2019
    Copy the full SHA
    d2d3994 View commit details
  4. 1.2.1

    Kagami committed May 1, 2019
    Copy the full SHA
    4eb5d4a View commit details

Commits on Jul 21, 2019

  1. Create FUNDING.yml

    Kagami authored Jul 21, 2019
    Copy the full SHA
    fe67de3 View commit details
  2. Update FUNDING.yml

    Kagami authored Jul 21, 2019
    Copy the full SHA
    75e4684 View commit details

Commits on Jul 24, 2019

  1. Working on 1.2.2

    Kagami committed Jul 24, 2019
    Copy the full SHA
    35c1f07 View commit details
  2. npm audit

    Kagami committed Jul 24, 2019
    Copy the full SHA
    029eb0c View commit details
  3. Fix build

    Kagami committed Jul 24, 2019
    Copy the full SHA
    0f0cb00 View commit details
  4. 1.2.2

    Kagami committed Jul 24, 2019
    Copy the full SHA
    e6436c8 View commit details

Commits on Nov 2, 2019

  1. Bump eslint-utils from 1.3.1 to 1.4.3

    Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.3.
    - [Release notes](https://github.com/mysticatea/eslint-utils/releases)
    - [Commits](mysticatea/eslint-utils@v1.3.1...v1.4.3)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 2, 2019
    Copy the full SHA
    5e8983d View commit details

Commits on Mar 14, 2020

  1. Bump acorn from 6.1.1 to 6.4.1

    Bumps [acorn](https://github.com/acornjs/acorn) from 6.1.1 to 6.4.1.
    - [Release notes](https://github.com/acornjs/acorn/releases)
    - [Commits](acornjs/acorn@6.1.1...6.4.1)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 14, 2020
    Copy the full SHA
    9489532 View commit details

Commits on Apr 23, 2020

  1. Merge pull request #17 from Kagami/dependabot/npm_and_yarn/eslint-uti…

    …ls-1.4.3
    
    Bump eslint-utils from 1.3.1 to 1.4.3
    Kagami authored Apr 23, 2020
    Copy the full SHA
    9307196 View commit details
  2. Merge pull request #18 from Kagami/dependabot/npm_and_yarn/acorn-6.4.1

    Bump acorn from 6.1.1 to 6.4.1
    Kagami authored Apr 23, 2020
    Copy the full SHA
    1076e45 View commit details

Commits on Jul 16, 2020

  1. Bump lodash from 4.17.15 to 4.17.19

    Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
    - [Release notes](https://github.com/lodash/lodash/releases)
    - [Commits](lodash/lodash@4.17.15...4.17.19)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jul 16, 2020
    Copy the full SHA
    51b5776 View commit details

Commits on Sep 4, 2020

  1. Bump decompress from 4.2.0 to 4.2.1

    Bumps [decompress](https://github.com/kevva/decompress) from 4.2.0 to 4.2.1.
    - [Release notes](https://github.com/kevva/decompress/releases)
    - [Commits](kevva/decompress@v4.2.0...v4.2.1)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 4, 2020
    Copy the full SHA
    04ccca3 View commit details

Commits on Sep 11, 2020

  1. Bump yargs-parser from 13.1.1 to 13.1.2

    Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2.
    - [Release notes](https://github.com/yargs/yargs-parser/releases)
    - [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md)
    - [Commits](https://github.com/yargs/yargs-parser/commits)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 11, 2020
    Copy the full SHA
    0eb4362 View commit details

Commits on Mar 9, 2021

  1. Bump elliptic from 6.5.0 to 6.5.4

    Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.0 to 6.5.4.
    - [Release notes](https://github.com/indutny/elliptic/releases)
    - [Commits](indutny/elliptic@v6.5.0...v6.5.4)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 9, 2021
    Copy the full SHA
    dea6e4c View commit details
  2. Merge pull request #25 from Kagami/dependabot/npm_and_yarn/elliptic-6…

    ….5.4
    
    Bump elliptic from 6.5.0 to 6.5.4
    Kagami authored Mar 9, 2021
    Copy the full SHA
    a1e810c View commit details
  3. Bump bl from 1.2.2 to 1.2.3

    Bumps [bl](https://github.com/rvagg/bl) from 1.2.2 to 1.2.3.
    - [Release notes](https://github.com/rvagg/bl/releases)
    - [Commits](rvagg/bl@v1.2.2...v1.2.3)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 9, 2021
    Copy the full SHA
    e1ace95 View commit details
  4. Bump ini from 1.3.5 to 1.3.8

    Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
    - [Release notes](https://github.com/isaacs/ini/releases)
    - [Commits](npm/ini@v1.3.5...v1.3.8)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 9, 2021
    Copy the full SHA
    a599164 View commit details

Commits on Mar 16, 2021

  1. Merge pull request #27 from Kagami/dependabot/npm_and_yarn/ini-1.3.8

    Bump ini from 1.3.5 to 1.3.8
    Kagami authored Mar 16, 2021
    Copy the full SHA
    b446f84 View commit details
  2. Merge pull request #26 from Kagami/dependabot/npm_and_yarn/bl-1.2.3

    Bump bl from 1.2.2 to 1.2.3
    Kagami authored Mar 16, 2021
    Copy the full SHA
    88dc711 View commit details
Showing with 8,679 additions and 184 deletions.
  1. +8 −11 .eslintrc
  2. +1 −0 .github/FUNDING.yml
  3. +15 −15 Makefile
  4. +7 −7 README.md
  5. +7 −7 bin/README.md
  6. +8,485 −0 package-lock.json
  7. +18 −18 package.json
  8. +2 −3 src/dialog/confirm.html
  9. +5 −5 src/dialog/index.js
  10. +21 −15 src/ffmpeg/index.js
  11. +8 −5 src/index/index.js
  12. +12 −12 src/mkvinfo/index.js
  13. +12 −3 src/source/download.js
  14. +7 −6 src/source/format.js
  15. +6 −6 src/theme/index.js
  16. +40 −40 src/view/index.js
  17. +9 −8 src/view/player.js
  18. +2 −1 src/youtube-dl/index.js
  19. +14 −22 webpack.config.babel.js
19 changes: 8 additions & 11 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -8,9 +8,6 @@
"node": true,
"es6": true
},
"ecmaFeatures": {
"jsx": true
},
globals: {
"WIN_BUILD": false,
"WYBM_VERSION": false
@@ -22,7 +19,6 @@
"no-array-constructor": 2,
"no-caller": 2,
"no-catch-shadow": 2,
"no-empty-label": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
@@ -50,28 +46,28 @@
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-undef-init": 2,
"no-underscore-dangle": 2,
//"no-underscore-dangle": 2,
"no-unused-expressions": 2,
"no-use-before-define": 2,
"no-with": 2,
"camelcase": 2,
//"camelcase": 2,
"comma-spacing": 2,
"consistent-return": 2,
"curly": [2, "all"],
//"consistent-return": 2,
//"curly": [2, "all"],
"dot-notation": [2, { "allowKeywords": true }],
"eol-last": 2,
"no-extra-parens": [2, "functions"],
"eqeqeq": 2,
//"eqeqeq": 2,
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"new-cap": 2,
"new-parens": 2,
"quotes": [2, "double"],
"semi": 2,
"semi-spacing": [2, {"before": false, "after": true}],
"space-infix-ops": 2,
"space-return-throw-case": 2,
//"keyword-spacing": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"strict": [2, "function"],
//"strict": [2, "function"],
"yoda": [2, "never"],

// Code style.
@@ -84,6 +80,7 @@
"eqeqeq": [2, "allow-null"],
"no-underscore-dangle": 0,
"consistent-return": 0,
"keyword-spacing": [2, {"overrides": {"catch": {"after": false}}}],

// React.
"jsx-quotes": 2,
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: https://www.blockchain.com/btc/payment_request?address=3LKKbbi34MHYRQSLV3ZiDGoKgUmCjhTumT&message=Kagami+open+source+projects+support
30 changes: 15 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -4,19 +4,19 @@ ZIP_OPTS = -tzip -mx=9
7Z_OPTS = -t7z -m0=lzma2 -mx=9
DIST_DIR = dist
APP = package.nw
WIN32_NW_DIR = bin/nwjs-v0.18.3-win-ia32
WIN32_NW_DIR = bin/nwjs-v0.38.1-win-ia32
WIN32_RELEASE = $(NAME)-v$(VERSION)-win-x86
WIN32_RELEASE_DIR = $(DIST_DIR)/$(WIN32_RELEASE)
WIN32_7Z = $(WIN32_RELEASE).7z
LIN64_NW_DIR = bin/nwjs-v0.18.3-linux-x64
LIN64_RELEASE = $(NAME)-v$(VERSION)-linux-x64
LIN64_RELEASE_DIR = $(DIST_DIR)/$(LIN64_RELEASE)
LIN64_7Z = $(LIN64_RELEASE).7z
MAC64_NW_DIR = bin/nwjs-v0.18.3-osx-x64
MAC64_NW_DIR = bin/nwjs-v0.38.1-osx-x64
MAC64_RELEASE = $(NAME)-v$(VERSION)-osx-x64
MAC64_RELEASE_DIR = $(DIST_DIR)/$(MAC64_RELEASE)
MAC64_RESOURCES_DIR = $(MAC64_RELEASE_DIR)/nwjs.app/Contents/Resources
MAC64_7Z = $(MAC64_RELEASE).7z
LIN64_NW_DIR = bin/nwjs-v0.38.1-linux-x64
LIN64_RELEASE = $(NAME)-v$(VERSION)-linux-x64
LIN64_RELEASE_DIR = $(DIST_DIR)/$(LIN64_RELEASE)
LIN64_7Z = $(LIN64_RELEASE).7z

all:

@@ -30,6 +30,15 @@ win32:
cp -a legal "$(WIN32_RELEASE_DIR)"
cd "$(DIST_DIR)" && 7z a $(7Z_OPTS) "$(WIN32_7Z)" "$(WIN32_RELEASE)"

mac64:
cd "$(DIST_DIR)" && rm -rf "$(APP)" "$(MAC64_RELEASE)" "$(MAC64_7Z)"
cd "$(DIST_DIR)/app" && 7z a $(ZIP_OPTS) "../$(APP)" *
mkdir -p "$(MAC64_RELEASE_DIR)"
cp -a "$(MAC64_NW_DIR)"/* "$(MAC64_RELEASE_DIR)"
cp -a "$(DIST_DIR)/$(APP)" "$(MAC64_RESOURCES_DIR)"
cp -a legal "$(MAC64_RELEASE_DIR)"
cd "$(DIST_DIR)" && 7z a $(7Z_OPTS) "$(MAC64_7Z)" "$(MAC64_RELEASE)"

lin64:
cd "$(DIST_DIR)" && rm -rf "$(APP)" "$(LIN64_RELEASE)" "$(LIN64_7Z)"
cd "$(DIST_DIR)/app" && 7z a $(ZIP_OPTS) "../$(APP)" *
@@ -40,12 +49,3 @@ lin64:
chmod +x "$(LIN64_RELEASE_DIR)/$(NAME)"
cp -a legal "$(LIN64_RELEASE_DIR)"
cd "$(DIST_DIR)" && 7z a $(7Z_OPTS) "$(LIN64_7Z)" "$(LIN64_RELEASE)"

mac64:
cd "$(DIST_DIR)" && rm -rf "$(APP)" "$(MAC64_RELEASE)" "$(MAC64_7Z)"
cd "$(DIST_DIR)/app" && 7z a $(ZIP_OPTS) "../$(APP)" *
mkdir -p "$(MAC64_RELEASE_DIR)"
cp -a "$(MAC64_NW_DIR)"/* "$(MAC64_RELEASE_DIR)"
cp -a "$(DIST_DIR)/$(APP)" "$(MAC64_RESOURCES_DIR)"
cp -a legal "$(MAC64_RELEASE_DIR)"
cd "$(DIST_DIR)" && 7z a $(7Z_OPTS) "$(MAC64_7Z)" "$(MAC64_RELEASE)"
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -8,15 +8,15 @@ wybm is a GUI application which can download videos from YouTube in WebM format

### Windows

Download [latest release](https://github.com/Kagami/wybm/releases), unpack and run `wybm.exe`. **NOTE:** download appropriate `wybm-vX.Y.Z-win-x86.7z` build, not the source code!
Download [latest release](https://github.com/Kagami/wybm/releases), unpack and run `wybm.exe`.

### Linux
### macOS

You need FFmpeg and MKVToolNix installed. Download [latest release](https://github.com/Kagami/wybm/releases), unpack and run `./wybm`.
You need to have ffmpeg and mkvtoolnix installed (use [Homebrew](https://brew.sh)). Download [latest release](https://github.com/Kagami/wybm/releases), unpack, righ-click `wybm` app in Finder, select Open and Open.

### Mac OS X (experimental, need feedback)
### Linux

You need FFmpeg and MKVToolNix installed (use HomeBrew). Download [latest release](https://github.com/Kagami/wybm/releases), unpack and launch `nwjs.app`. **NOTE:** Gatekeeper should be turned off.
You need to have ffmpeg and mkvtoolnix installed. Download [latest release](https://github.com/Kagami/wybm/releases), unpack and run `./wybm`.

## Troubleshooting

@@ -34,7 +34,7 @@ It takes a while before YouTube generates VP9 formats for a new video. Some old

## License

wybm own code, documentation and icon licensed under CC0, but the resulting build also includes the following libraries and assets:
wybm own code, documentation and icon is licensed under CC0, but the resulting build also includes the following libraries and assets:

* Libraries in `dependencies` section of [package.json](package.json) (BSD-like)
* [NW.js binaries](https://github.com/nwjs/nw.js), see also `credits.html` in release archives
@@ -48,7 +48,7 @@ wybm own code, documentation and icon licensed under CC0, but the resulting buil

wybm - Extract and cut youtube webms

Written in 2016 by Kagami Hiiragi <kagami@genshiken.org>
Written in 2016-2019 by Kagami Hiiragi <kagami@genshiken.org>

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.

14 changes: 7 additions & 7 deletions bin/README.md
Original file line number Diff line number Diff line change
@@ -5,15 +5,15 @@ You need several binaries in order to build wybm. Run:
```bash
wget https://yt-dl.org/latest/youtube-dl -O youtube-dl.zip
wget https://yt-dl.org/latest/youtube-dl.exe
wget http://dl.nwjs.io/v0.18.3/nwjs-v0.18.3-linux-x64.tar.gz
tar xvf nwjs-v0.18.3-linux-x64.tar.gz
wget http://dl.nwjs.io/v0.18.3/nwjs-v0.18.3-win-ia32.zip
unzip nwjs-v0.18.3-win-ia32.zip
wget https://dl.nwjs.io/v0.18.3/nwjs-v0.18.3-osx-x64.zip
unzip nwjs-v0.18.3-osx-x64.zip
wget https://dl.nwjs.io/v0.38.1/nwjs-v0.38.1-win-ia32.zip
unzip nwjs-v0.38.1-win-ia32.zip
wget https://dl.nwjs.io/v0.38.1/nwjs-v0.38.1-osx-x64.zip
unzip nwjs-v0.38.1-osx-x64.zip
wget https://dl.nwjs.io/v0.38.1/nwjs-v0.38.1-linux-x64.tar.gz
tar xvf nwjs-v0.38.1-linux-x64.tar.gz
```

And also download manually (not automated yet):

* `ffmpeg.exe` from static Win32 [Zeranoe FFmpeg build](http://ffmpeg.zeranoe.com/builds/)
* `ffmpeg.exe` from static Win32 [Zeranoe FFmpeg build](https://ffmpeg.zeranoe.com/builds/)
* `mkvinfo.exe` from portable Win32 [MKVToolNix build](https://mkvtoolnix.download/downloads.html#windows)
Loading