Skip to content

Commit

Permalink
v4 (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
puemos authored Feb 10, 2024
1 parent fdaf4e3 commit e1a017b
Show file tree
Hide file tree
Showing 195 changed files with 39,000 additions and 37,267 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# production
/build
/dist
extension.zip
extension-archive.zip

Expand Down
26 changes: 13 additions & 13 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Expand Down
30 changes: 15 additions & 15 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Contributing

When contributing to this repository, please first discuss the change you wish to make via issue,
email, or any other method with the owners of this repository before making a change.
email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

## Pull Request Process

1. Ensure any install or build dependencies are removed before the end of the layer when doing a
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
build.
2. Update the README.md with details of changes to the interface, this includes new environment
2. Update the README.md with details of changes to the interface, this includes new environment
variables, exposed ports, useful file locations and container parameters.
3. Increase the version numbers in any examples files and the README.md to the new version that this
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
do not have permission to do that, you may request the second reviewer to merge it for you.

## Code of Conduct
Expand All @@ -32,21 +32,21 @@ orientation.
Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting

### Our Responsibilities
Expand Down
6 changes: 0 additions & 6 deletions build.sh

This file was deleted.

2 changes: 2 additions & 0 deletions scripts/build-background.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm i --prefix src/background -ci
npm run --prefix src/background build
2 changes: 2 additions & 0 deletions scripts/build-core.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm i --prefix src/core -ci
npm run --prefix src/core build
2 changes: 2 additions & 0 deletions scripts/build-design-system.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm i --prefix src/design-system -ci
npm run --prefix src/design-system build
5 changes: 5 additions & 0 deletions scripts/build-extension.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(sh ./scripts/copy-assets.sh) &
(sh ./scripts/build-background.sh) &
(sh ./scripts/build-popup.sh) &

wait
2 changes: 2 additions & 0 deletions scripts/build-popup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm i --prefix src/popup -ci
npm run --prefix src/popup build
5 changes: 5 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(sh ./scripts/clean.sh)
(sh ./scripts/build-core.sh)
(sh ./scripts/build-design-system.sh)
(sh ./scripts/build-extension.sh)
(zip -r extension-archive.zip ./dist/.)
3 changes: 3 additions & 0 deletions scripts/clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rm -rf dist
mkdir dist
rm -rf extension-archive.zip
1 change: 1 addition & 0 deletions scripts/copy-assets.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cp -r ./src/assets/* ./dist/
7 changes: 7 additions & 0 deletions scripts/dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(sh ./scripts/copy-assets.sh) &
(npm run --prefix src/core dev) &
(npm run --prefix src/design-system dev) &
(npm run --prefix src/background dev) &
(npm run --prefix src/popup dev) &

wait
1 change: 1 addition & 0 deletions scripts/storybook.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(npm run --prefix src/popup storybook)
16 changes: 16 additions & 0 deletions src/assets/assets/ffmpeg/ffmpeg-core.js

Large diffs are not rendered by default.

Binary file added src/assets/assets/ffmpeg/ffmpeg-core.wasm
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"short_name": "HLS Download",
"manifest_version": 2,
"name": "HLS Downloader",
"description": "HTTP Live Stream downloader",
"manifest_version": 2,
"version": "4.0.0",
"browser_action": {
"default_popup": "index.html",
"default_popup": "popup.html",
"default_title": "HLS Downloader"
},
"version": "3.3.0",
"background": {
"scripts": ["background.js"],
"persistent": true
"icons": {
"16": "assets/icons/16.png",
"48": "assets/icons/48.png",
"128": "assets/icons/128.png",
"256": "assets/icons/256.png"
},
"web_accessible_resources": ["assets/**/*"],
"permissions": [
"webRequest",
"unlimitedStorage",
Expand All @@ -22,10 +22,10 @@
"http://*/*",
"https://*/*"
],
"icons": {
"16": "assets/icons/16.png",
"48": "assets/icons/48.png",
"128": "assets/icons/128.png",
"256": "assets/icons/256.png"
}
"background": {
"scripts": ["background.js"],
"persistent": true
},
"web_accessible_resources": ["assets/**/*"],
"content_security_policy": "script-src 'self' 'wasm-eval'; object-src 'self'"
}
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/background/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
File renamed without changes.
Loading

0 comments on commit e1a017b

Please sign in to comment.