From 8f61c6e8f1f5221ec0bc3bea3bfffa145496c6bd Mon Sep 17 00:00:00 2001 From: arabcoders Date: Tue, 3 Jun 2025 03:09:54 +0300 Subject: [PATCH] minor UI and text update. --- .devcontainer/Dockerfile | 26 ----- .devcontainer/devcontainer.json | 57 ---------- .devcontainer/post-install.sh | 1 - API.md | 2 +- Pipfile.lock | 180 ++++++++++++++++---------------- README.md | 68 ++++++------ ui/layouts/default.vue | 2 + ui/package.json | 2 +- ui/pages/changelog.vue | 5 +- ui/pages/index.vue | 6 +- ui/pnpm-lock.yaml | 127 +++++++++++----------- 11 files changed, 196 insertions(+), 280 deletions(-) delete mode 100644 .devcontainer/Dockerfile delete mode 100644 .devcontainer/devcontainer.json delete mode 100644 .devcontainer/post-install.sh diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index f95cfb4c..00000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -ARG VARIANT="3.11-bullseye" -FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} - -# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10 -ARG NODE_VERSION="none" -RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi - -# Poetry -ARG POETRY_VERSION="none" -RUN if [ "${POETRY_VERSION}" != "none" ]; then su vscode -c "umask 0002 && pip3 install poetry==${POETRY_VERSION}"; fi - -# Nox -ARG NOX_VERSION="none" -RUN if [ "${NOX_VERSION}" != "none" ]; then su vscode -c "umask 0002 && pip3 install nox-poetry nox==${NOX_VERSION}"; fi - -#[Optional] If your pip requirements rarely change, uncomment this section to add them to the image. -#COPY requirements.txt /tmp/pip-tmp/ -#RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \ -# && rm -rf /tmp/pip-tmp - -#[Optional] Uncomment this section to install additional OS packages. -#RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ -# && apt-get -y install --no-install-recommends - -#[Optional] Uncomment this line to install global node packages. -#RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g " 2>&1 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 8053434b..00000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,57 +0,0 @@ -// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: -// https://github.com/microsoft/vscode-dev-containers/tree/v0.231.6/containers/python-3 -{ - "name": "Python 3", - "build": { - "dockerfile": "Dockerfile", - "context": "..", - "args": { - // Update 'VARIANT' to pick a Python version: 3, 3.10, 3.9, 3.8, 3.7, 3.6 - // Append -bullseye or -buster to pin to an OS version. - // Use -bullseye variants on local on arm64/Apple Silicon. - "VARIANT": "3.10-bullseye", - // Options - "NODE_VERSION": "lts/*" - } - }, - "customizations": { - "vscode": { - // Set *default* container specific settings.json values on container create. - "settings": { - "python.defaultInterpreterPath": "/usr/local/bin/python", - "python.linting.enabled": true, - "python.linting.pylintEnabled": true, - "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", - "python.formatting.blackPath": "/usr/local/py-utils/bin/black", - "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", - "python.linting.banditPath": "/usr/local/py-utils/bin/bandit", - "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", - "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", - "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", - "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", - "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" - }, - // Add the IDs of extensions you want installed when the container is created. - "extensions": [ - "ms-python.python", - "ms-python.vscode-pylance" - ] - } - }, - // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. - "remoteUser": "vscode", - // Use 'forwardPorts' to make a list of ports inside the container available locally. - "forwardPorts": [ - 8081 - ], - // Install project dependencies - // "postCreateCommand": "poetry install", - "postCreateCommand": "bash ./.devcontainer/post-install.sh", - "features": { - "github-cli": "latest" - }, - "mounts": [ - // Re-use local Git configuration - "source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached" - ] -} diff --git a/.devcontainer/post-install.sh b/.devcontainer/post-install.sh deleted file mode 100644 index f1f641af..00000000 --- a/.devcontainer/post-install.sh +++ /dev/null @@ -1 +0,0 @@ -#!/usr/bin/env bash diff --git a/API.md b/API.md index adaa6ba5..faa4305e 100644 --- a/API.md +++ b/API.md @@ -2,7 +2,7 @@ This document describes the available endpoints and their usage. All endpoints return JSON responses (unless otherwise specified) and may require certain parameters (query, body, or path). Some endpoints serve static or streaming content (e.g., `.ts`, `.m3u8`, `.vtt` files). -> **Note**: If Basic Authentication is configured (via `auth_username` and `auth_password` in your configuration), you must include an `Authorization: Basic ` header or use `?apikey=` query parameter (fallback) in every request. +> **Note**: If Basic Authentication is configured (via `auth_username` and `auth_password` in your configuration), you must include an `Authorization: Basic ` header or use `?apikey=` query parameter (fallback) in every request. - All responses use standard HTTP status codes to indicate success or error conditions. - Endpoints support an `OPTIONS` request for CORS. diff --git a/Pipfile.lock b/Pipfile.lock index ab1f07b2..002edd33 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -35,96 +35,96 @@ }, "aiohttp": { "hashes": [ - "sha256:012ea107092d4465aeeb681d5b2fb8b51a847a72f0b71906f40876419fba1355", - "sha256:0673bdc2914fed2651837e9ce45639cf09d342850274fa0d955d15f148082ab5", - "sha256:06f20adcdc4f383aeb7ce884705faea44c0376cde5cdee4d32ef62d6cb1f97cc", - "sha256:128603479bf13479661d763e77e254139f066914227b5f2ff3284d19e416ad75", - "sha256:148ffa6b2b825ff8520844ce23df9e2a5b969bb6917c4e35a832fbaa025d260d", - "sha256:15817882d25e840aba85d1f5706a7128350b81050f8ca9dabfc25a5f521a792c", - "sha256:24d19cbd1d21d207ee855500d2033f1852b4d2113a741246ff62eb16a3921306", - "sha256:259269870d9783de87c0430760b2498b770201ead3e11ee86761d268ce5d196a", - "sha256:25dac87ee297e2b5826ce8e96c7615ebe7a1613856b1614a207e3376b776021b", - "sha256:25de52753386b0c16d5acd2153e7819f52c9e7fc05f5eca804adc174e99b735d", - "sha256:29eb0a7d64eb2cf17c436cdf0b9d1b17931551a5c089fa2c63410848a9cd029d", - "sha256:2a74a566872f41247774980334e5b0309dac11b402e188bde6db8a57de4506cd", - "sha256:2cd7c7018cee1638fc64cbdceb47c870985ce5650161c7e3c5b578850f74b113", - "sha256:2e4fb0d7f221c36ed8469c1d2d9a2bb6a27b543cf90aa46ca701f63fb83dd7ed", - "sha256:30511c5e66ac4399d46b4bec57a3d56bc16cfb649255fa798ee95d8b45f97a4b", - "sha256:3331ef09dd775302aa5f4d3170bd46659ad018843fab3656f5e72e3ff68df21f", - "sha256:37b1c6034a1e14764adad1829cd710543b1699d7985e1d336f0aa52a2dd76ba9", - "sha256:38af291559401d13eb90259ba79ef6ac537ae6b5bdb1251604606a88cd0fd5e0", - "sha256:3a0fd1f91535f64ac726a9203a2ca12e19ab7232a8e3ed070d4a952f64a7f3b8", - "sha256:3cc06a99e065ed7e766d2cd574671428261c1b8f30fedfbd91ab3c738fd9c08d", - "sha256:41c73154bba1c8fe80ef329fee5602bc6a1992740735637f1f05112b15e1cd97", - "sha256:52ce7e90ee9dd25bcd2ed4513e650cc4f9a03bef07a39193b82fb58892004bd6", - "sha256:545f89c389a47bac024655b5676658f35f80b0d007e4c3c7ff865d9aa3bf343a", - "sha256:561f545dc062e6c31fc53535d8584c06516bda2fc37821a67a61b69202061e71", - "sha256:58f79b376a426961418df1d08656ec3a01494b7ba81824ae629e6636deddfff7", - "sha256:59e19517abef2af49cff79b8a863497036ff401051c79d6a3b6149a48213a7be", - "sha256:5b700cf48fd04b4328965d1afe01f835fe6cdecc3b85ca2d950431e5cc0647f7", - "sha256:5fe1d74ab6cd1f16c3c2f0e3c3230481dcedc0d3ad9f0b82b1e43f44a4980aca", - "sha256:61ed8371a645b89008910b3c7ce286ec5f19b4d67adaa15ed21e4a8fe1adedca", - "sha256:6860351cfba0196db2edc387cfeddaf1dae443e55f261ea2bcb77fecb33aae34", - "sha256:6ca81cb1e41d251cc193164409c0bbb0175e696a9997491a10db9171a2f70603", - "sha256:71905d34b3bb1a6be44e986f08404987bb317d890746e71f320cd10cf3222b46", - "sha256:7487f707a4b8167394f6afefa690198300d8a618505583eb536b92202bdec24d", - "sha256:77ba53286c89486e8b02fb47352a5a8270bab1084e2a43fe8e35eb261befda13", - "sha256:79ab680ff7dd0b6c36073738b5f6336e2f018fc07ef0486dd7dd68b2e888ce46", - "sha256:7d162c4f87f9dcdc7151f6329438de96beb527820381e3159ce08544c57e9ced", - "sha256:7d34f87dd26a686097675fdc43c3b60174b8d6f0ae383d128648fb30535097e5", - "sha256:7e839f36ff048eef10034d25a4b699e0b363b16d3951c8ef2f1b3cea9e2bf859", - "sha256:7f22a0d9a995c12bb20247334b414edaf65ce8f22a1e838b90210238f9b57571", - "sha256:86fb0a5762f936606dcab1ca248f5053587a598ed44825f4744ce3c53ae9a2e9", - "sha256:8885da8ae99bbe6ce43b79e284ef8e6bc5285dea297fe2a163552f09435c8069", - "sha256:8a88046a5adddf5d99f15a1920f6b8f659f46a4cfb5bfabbd668d06df045df7a", - "sha256:8b0dee7a763ce483c459fc2d963350d10e692e863dac985357e2eb7e7e74985f", - "sha256:8ea77675818fd8cac28491d0d59582e5e2e5b14dbf5e21bef797aa5b23b5ca8b", - "sha256:9220418982f90e5b293e36fe356f4df6953da8539b54b9ae5a9a17e8f227463c", - "sha256:938afd243c9ee76a6d78fad10ecca14b88b48b71553e0e9c74b8098efff5ddf8", - "sha256:93a0887cea23f76e9354235b0e79b3c9922ad66529e11637940b6439849105cb", - "sha256:93f207a64989346bbd0a9d3b31ebaa3934ea6e0242b555491af7eb97ad1c0a5a", - "sha256:9aecb4ce110c9d321860a00b4f9ec72bef691d045f54c983fa678606f3f918b0", - "sha256:9dd9211229fa2f474da01d42fafff196f607a63aaf12d8b34928c43a713eb6d5", - "sha256:a057680218430231eb6ab644d166b7ef398b3ffbac0232f4f789cdce9391400e", - "sha256:a1532ea3f41a818d4f50db96306a1975bf31f29787802bec4c63c58f61b6e682", - "sha256:a2f3c974874bd0c76dfdcc60db5a6f96ca023a85318a5ac401603baa7e299272", - "sha256:a52aa39eb1160775a6e80e3025c990e8872c8927c5dd4b51304788bc149b9549", - "sha256:a68cb45d2b01f1599e762d382ddac7c6bd62c95210db339827e973a7ba61673c", - "sha256:a90b6f2d5ca4d3ad56034863237b59b4a5fab270eb6d11b5c0326b4501448b51", - "sha256:aac87d78f55057ab48ddcc43055620546d40bbc0888d2658d8705d183c98f901", - "sha256:ad8c000bf876f09bebdbb6122d0b83ed2047d808144dcda844b973f91a62239b", - "sha256:b2e026a9f9ac0df70f14ca5dcaf1f83a55b678e51aa6515d710dd879d2691fd7", - "sha256:bc4be1d8d68a62859f74f9ada9e174791895366601ce66342f54478d3518c8b3", - "sha256:c05776d1854ae9d8132d7ced7ac0067f602d66589797788ed3902d5c68686db5", - "sha256:c1d8a4a5a7e28d8b9ec815ffecca8712b71130a4eee1c5b45e9f2cc4975f3f7c", - "sha256:c232720190ca4240c15abefc7b765e987ef88df44d2384612890db87b33898f3", - "sha256:c88ed8c54f7fd6102ef711d24710454707cde4bb3ffdec09982dcb3cb966a3e1", - "sha256:cdb03da5ecf74a331511604f3cf91563bf29127eabb28f4e16d390a73cb826da", - "sha256:ce6673b73352edb17c2db86a9586dc7744e0b5009709152a1e75379f16af19e0", - "sha256:cfbf8ed94b57e3b5a886bfe2a530c8eb067064cc4419fd94431a2cbeeddec54c", - "sha256:d10dbce6ad5fd5a635021e44696f98e6f535675c515f3ec5143a1d6b94e97c75", - "sha256:d557918fefb29884335e1a257df6c961f35ba1caf8eddaabad762b3436cf87ff", - "sha256:d590b36c3497ecfba4aca71ab9342fb2c07e1b69baf4e28ad4227440c128bb22", - "sha256:d5f698e7b5b57aa4dc646c8f13ccd965c694199595d7a45cecefaf0e5c392890", - "sha256:d7ff55a38fc9851fa5cff41b30605534dfe4d57d02f79447abfed01499fe31d3", - "sha256:d83ab494eb583ba691af9d4d7c073987526bb9f73aa5a19907258ef3a1e39e8a", - "sha256:da073f88270aa434ef16a78c21a4269c96c68badc2b9ad5011fa175c06143eee", - "sha256:db5c402ea0aed10af2e54e5946bf32f3ebb02a7604eaaa4c41a608053889de4a", - "sha256:de83f567e31418fd7bc22c5a03526a2b0a82e68c7a7fec23ef91a398228f559b", - "sha256:deddf6b1c83ce518a156b7597a0d7a1a7ec5c1d2c973ba3f1a23f18fa2b7d65e", - "sha256:e1d66b091e707a1e296ccd00903bed4f270579c5b8000a9e5861ae9a33dc250d", - "sha256:e5c6869319c0a5f4150959e065c40836b18a99e02493c3b4c73b25378aa0f0cc", - "sha256:e8da054804352e974f4349fb871b07c8ffa1978e64cfb455e88fbe6fbe4d6dcb", - "sha256:ed4db015494a6d0acaadce035531f9fb321afab2075a4b348811e4f7795e87e6", - "sha256:eefd98dd043c33c45123c56a79c6c39acb628304337c90f16f33569cc3aa4ba6", - "sha256:ef1e34409fe412825cde39be93efbe1f52d9e5c00a21abe95969c5e595595ebd", - "sha256:efbbde2297e4ab10d187103aba9b565277c85ac7d24d98cae201c033ce885504", - "sha256:faf7c0224423106c5e0a4897c668c6cef2ca9b588295993d83d8c3e69772c7f0", - "sha256:fd1d6116c1364ab00ffed1654a01091dc7f897d315c5103bcc6e5ab7f70172c7" + "sha256:08bf55b216c779eddb6e41c1841c17d7ddd12776c7d7b36051c0a292a9ca828e", + "sha256:0d6575df942e7991e1450b731ad9a5726a1116668471a07d749bd9b2cb1f30a7", + "sha256:0e1c33ac0f6a396bcefe9c1d52c9d38a051861885a5c102ca5c8298aba0108fa", + "sha256:1496c9e785d0432a4eae6c059f1d68423fb6264cbdacaff2d9ab1859be66c5bb", + "sha256:1e4eebfe470e22cc4b374d7e32c07e96d777a5c0fa51f3824de68e697da037ec", + "sha256:2804245093897b77736540f75826d35587819e143f0f95e951bfea8eb312bf09", + "sha256:29ff7876ff7e4a8029642334a81891cb5a842f1e405195c2946f697102756670", + "sha256:2be095a420a9f9a12eff343d877ae180dd919238b539431af08cef929e874759", + "sha256:2c7c848ad08722bfc9da0b9fe5f44cde4fa6499d34ece11462c5b7b1f75a5a1b", + "sha256:3091b4883f405dbabeb9ea821a25dec16d03a51c3e0d2752fc3ab48b652bf196", + "sha256:362832e0b7c46c7ad3cf2f693061e17f1198f8d7fa4e907c304b3208241161c8", + "sha256:372f2237cade45f563d973c2a913895f2699a892c0eb11c55c6880b6f0acf219", + "sha256:388b5947aa6931ef4ce3ed4edde6853e84980677886992cfadcf733dd06eed63", + "sha256:38dc536059cc0624e22273905a1df74b231ac903d73af59ee6e6e3139f05a28b", + "sha256:3a5938973105cd5ff17176e8cb36bc19cac7c82ae7c58c0dbd7e023972d0c708", + "sha256:3c9f52149d8249566e72c50c7985c2345521b3b78f84aa86f6f492cd50b14793", + "sha256:410e96cc6824fc4ced9703fb2ac2d06c6190d21fc6f5b588f62b1918628449c1", + "sha256:41f686749a099b507563a5c0cb4fd77367b05448a2c1758784ad506a28e9e579", + "sha256:43e93987fe9df4349db8deae7c391695538c35e4ba893133c7e823234f6e4537", + "sha256:4486f399573c94b223411bc5686b5cdc661f4dd67daece800662356e46b3a2b5", + "sha256:4a46fe4a4c66b2712059e48a8384eb93565fbe3251af4844860fed846ef4ca75", + "sha256:4acec2b5de65adc469837260be8408d5f53d4c8ae60631be868e9d7eb8563167", + "sha256:4ccd1e07b61c26532f1a7908430c30d687425bbf2d4da26f09bc1f2acf06a5f9", + "sha256:4e80ef94a0993c7124b69bf1a95b5d26f22f24e5fdc6af22ca143105edde22ed", + "sha256:519f5454b6018158ae0e789b8f6a88726c47dd680982eb318ef3ca4dee727314", + "sha256:53ae6140303ab04a7203f8fcb9ca5b2c5abea46e12e8d6f65575d0f197812e22", + "sha256:56d0f622b3595f3aeaefd07aca9d425748fc8bf5e9e502f75a2dad15f2b875b2", + "sha256:5a1a280e27b2c772a9d69dfd0744929f8628a6b8b6e6e87c0125c8c417501a21", + "sha256:5e7741c53d473204f89dd26f3b087a5883c742add8d6504d0d7d3ad3ff1cd1b7", + "sha256:6055f53c70938498884e71ca966abe8e9e7558489e13a7e40b6384dee7230d1d", + "sha256:6357abdc7a2cfb113274c4f4a7f086bdca36905924953bf7a9e3f6add3aec7c5", + "sha256:6600550593c440ef29ca2a14b8a52ac91b9f494d85f75294409ec6ad5637476f", + "sha256:66605ac59c9fbcd4159b0c0cfa239173ab77abc18cf714a1d0569cbabe3c836d", + "sha256:67759acb11673c1b976a516f2d69a73433aad70ed04e44ce79eaf0e58219535e", + "sha256:6ea0db720f2996f9b799c8ba6fbdd12063add509a81a398cd31a3fb152efae0d", + "sha256:6f04af3bf040dc8fd9b2bc0e465f5aca6fc5349fa08bd7f08142974a2ded21bf", + "sha256:74ff39445f94923cf595e9e6dd602ecbe66b12364e2207e61342b8834417f8da", + "sha256:76392cbadc1ccc0a8c02098b74c0240d53c644b10a81e1addbc1666dce3cd62a", + "sha256:777663011746b37b5df13df7826cb28ebc447b21ac8aa8278b7825404897dd5f", + "sha256:77cb9dba16486ecfeac8076763600b9714941e0ff696e53a30e8d408d9a196ca", + "sha256:7a3691583470d4397aca70fbf8e0f0778b63a2c2a6a23263bdeeb68395972f29", + "sha256:7cd6e299292ba085a3642cb4085b393f45bbca45c067182d15e33c2e3473283c", + "sha256:81a1ca045593149d3366286c30c57ebb63d2f28feca8ca3fae049c22ed8520c4", + "sha256:82a59cf086396a409d6d2350c122aada07f1f56bb529734994d37bcafc8cf101", + "sha256:838a091be15ce619a83896c8485e814215f3383952dd58aec932d0f9ae85a02b", + "sha256:845a67d26ee9578d20738975591dccd0fcae7104c89cc112316787f9fdfe8b61", + "sha256:8493a42d5b2a736c6804239b985feebeea1c60f8fcb46a3607d6dce3c1a42b12", + "sha256:8c19b1de25703560fa64f998dfc3685040b52996056e048b3406c8e97dcfa1e3", + "sha256:8de89889df856101176ccaf570075b73b62ea9d86e11e642d0f20ecd62a34ce8", + "sha256:8eb5d60790ca3563a376ef297dfac3c4c5ec7a7e180b9fe0314f238813fd2ab0", + "sha256:93317649d65cc895ba1fe5384353cb6c44638db39ebb55dabe3dade34a1b1177", + "sha256:94f98e0e5a49f89b252e115844f756c04fc8050f38252a32a3dd994ce8121f10", + "sha256:97fd97abd4cf199eff4041d0346a7dc68b60deab177f01de87283be513ffc3ab", + "sha256:9b6a660163b055686dbb0acc961978fd14537eba5d9da6cbdb4dced7a8d3be1a", + "sha256:9b9345918f5b5156a5712c37d1d331baf320df67547ea032a49a609b773c3606", + "sha256:9ca179427f7cbd3476eca3bfc229087c112b0418242c5b56f9f0f9c0e681b906", + "sha256:9ed5af1cce257cca27a3e920b003b3b397f63418a203064b7d804ea3b45782af", + "sha256:a4ee037aec7ccc8777b0f9603085a2c53108368443624f7dc834028b16591541", + "sha256:a7b3b9cbe83e3918a1918b0de274884f17b64224c1c9210a6fb0f7c10d246636", + "sha256:ad01793164661af70918490ef8efc2c09df7a3c686b6c84ca90a2d69cdbc3911", + "sha256:adbb2046600a60e37a54ea9b77b0ddef280029b0a853624a8e9b2b71a037c890", + "sha256:b058cf2ba6adba699960d7bc403411c8a99ab5d3e5ea3eb01473638ae7d1a30e", + "sha256:b19763f88f058e9c605f79cde8a800660f7e259162b80982111cc631dfc54bf0", + "sha256:b1f532d312a42397e6f591499acf707cece6462f745c5670bb7c70d1bb963882", + "sha256:b4aed5233a9d13e34e8624ecb798533aa2da97e7048cc69671b7a6d7a2efe7e8", + "sha256:b56a4fb31fe82ee58cd8cc157e4fc58d19fba2580b46a62fe7808353bb9b82df", + "sha256:b780b402e6361c4cfcec252580f5ecdd86cb68376520ac34748d3f8b262dd598", + "sha256:bbdb60ab46f696a5e52d98a830b11c034d601bbe2496a82a19d94268257ac63b", + "sha256:bca9329faa73c42061a67b8b53e6b1d46b73e3411636bfe1d07c58d81067b902", + "sha256:c4e7155fbdf89084abde1b33f05d681d8ffa0d5d07698d5d76a03ebdeb062848", + "sha256:c7b83c829be3cddaf958dee8108e09b1502c215e95064d3045015298dbded54a", + "sha256:c8d9b576aa4e1359fcc479532b8a21803840fd61013eec875746b29c3930f073", + "sha256:cb3f3dcb59f3e16819a1c7d3fa32e7b87255b661c1e139a1b5940bde270704ab", + "sha256:cf981bbfb7ff2ebc1b3bfae49d2efe2c51ca1cf3d90867f47c310df65398e85e", + "sha256:d741923905f267ad5d5c8f86a56f9d2beac9f32a36c217c5d9ef65cd74fd8ca0", + "sha256:d909d0b217e85f366bfff45298966ea0dc49d76666fef2eb5777adc5b7aaa292", + "sha256:e2e1f6e7825d3830ee85ddf5d322300d15053e94c66ff8b3d5e8ef0f152c0f1a", + "sha256:e506ae5c4c05d1a1e87edd64b994cea2d49385d41d32e1c6be8764f31cf2245c", + "sha256:e85c6833be3f49cead2e7bc79080e5c18d6dab9af32226ab5a01dc20c523e7d9", + "sha256:ed109a3eef13620c8ce57c429119990be08782c346465c265a23052e41e2cf42", + "sha256:f1a478d055c77fa549251d8b2a8a850918edbbf9941245ef6edbbb65d924edd7", + "sha256:f466ae8f9c02993b7d167be685bdbeb527cf254a3cfcc757697e0e336399d0a2", + "sha256:f85e48970aff5b00af94a5f6311ee0b61eca8bbc8769df39873fc68d747ca609", + "sha256:f8fa7c8ee01b54367cafb7e82947e36e57f9cb243d7c4d66e03fb96661b082ae", + "sha256:fc8086515dd1016b67db9ccebb7159234226dba99fb6a895a0c9270b644cf525", + "sha256:ffa9928fd37061c8e35b85d3f1b4a256d0c3e8cbd421c1d8bd0ab45461b6a838" ], "index": "pypi", "markers": "python_version >= '3.9'", - "version": "==3.12.6" + "version": "==3.12.7" }, "aiosignal": { "hashes": [ @@ -1228,11 +1228,11 @@ }, "typing-extensions": { "hashes": [ - "sha256:a439e7c04b49fec3e5d3e2beaa21755cadbbdc391694e28ccdd36ca4a1408f8c", - "sha256:e6c81219bd689f51865d9e372991c540bda33a0379d5573cddb9a3a23f7caaef" + "sha256:8676b788e32f02ab42d9e7c61324048ae4c6d844a399eebace3d4979d75ceef4", + "sha256:a1514509136dd0b477638fc68d6a91497af5076466ad0fa6c338e44e359944af" ], "markers": "python_version < '3.13'", - "version": "==4.13.2" + "version": "==4.14.0" }, "tzlocal": { "hashes": [ diff --git a/README.md b/README.md index 94d1a923..9381b3a1 100644 --- a/README.md +++ b/README.md @@ -9,29 +9,33 @@ Web GUI for [yt-dlp](https://github.com/yt-dlp/yt-dlp) with playlist & channel s # YTPTube Features. * Multi-downloads support. -* Random beautiful background. `can be disabled`. +* Random beautiful background. `can be disabled or source changed`. * Can handle live streams. * Scheduler to queue channels or playlists to be downloaded automatically at a specified time. * Send notification to targets based on selected events. -* Support per link `cli options` & `cookies` +* Support per link `cli options` & `cookies`. * Queue multiple URLs separated by comma. -* Simple file browser. `Disabled by default` -* A built in video player that can play any video file regardless of the format. **With support for sidecar external subtitles**. +* Presets system to re-use frequently used yt-dlp options. +* Simple file browser. `Disabled by default`. +* A built in video player **with support for sidecar external subtitles**. * New `POST /api/history` endpoint that allow one or multiple links to be sent at the same time. * New `GET /api/history/add?url=http://..` endpoint that allow to add single item via GET request. * Modern frontend UI. * SQLite as database backend. -* Basic Authentication support. +* Basic authentication support. * Support for curl_cffi, see [yt-dlp documentation](https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#impersonation) -* Support for both advanced and basic mode for WebUI. +* Support basic mode for WebUI for non-technical users, which hides most of the normal features from view. * Bundled tools in container: curl-cffi, ffmpeg, ffprobe, aria2, rtmpdump, mkvtoolsnix, mp4box. * Automatic upcoming live stream re-queue. * Apply `yt-dlp` options per custom defined conditions. +* Custom browser extensions, bookmarklets and iOS shortcuts to send links to YTPTube instance. # Run using docker command ```bash -docker run -d --rm --name ytptube -p 8081:8081 -v ./config:/config:rw -v ./downloads:/downloads:rw ghcr.io/arabcoders/ytptube:latest +mkdir -p ./{config,downloads} && docker run -d --rm --user "$UID:${GID-$UID}" --name ytptube \ +-p 8081:8081 -v ./config:/config:rw -v ./downloads:/downloads:rw \ +ghcr.io/arabcoders/ytptube:latest ``` # Using compose file @@ -41,7 +45,7 @@ The following is an example of a `compose.yaml` file that can be used to run YTP ```yaml services: ytptube: - user: "1000:1000" # change this to your user id and group id + user: "${UID:-1000}:${UID:-1000}" # change this to your user id and group id, for example: "1000:1000" image: ghcr.io/arabcoders/ytptube:latest container_name: ytptube restart: unless-stopped @@ -55,7 +59,7 @@ services: ``` ```bash -$ mkdir {config,downloads} && docker compose -f compose.yaml up -d +$ mkdir -p ./{config,downloads} && docker compose -f compose.yaml up -d ``` Then you can access the WebUI at `http://localhost:8081`. @@ -96,7 +100,7 @@ other than the shortcut itself. this shortcut missing support for parsing the ht # Run behind reverse proxy. -It's advisable to run YTPTube behind a reverse proxy, if authentication and/or HTTPS support are required. +It's advisable to run YTPTube behind a reverse proxy, if better authentication and/or HTTPS support are required. ### Nginx http server @@ -129,28 +133,30 @@ example.com { # Updating yt-dlp The engine which powers the actual video downloads in YTPTube is [yt-dlp](https://github.com/yt-dlp/yt-dlp). Since video -sites regularly change their layouts, frequent updates of yt-dlp are required to keep up. +sites regularly updated, frequent updates of yt-dlp are required to keep up. + +We have added the `YTP_YTDLP_AUTO_UPDATE` environment variable, which is enabled by default. This feature allows the +container to automatically update `yt-dlp` to the latest version whenever the container starts. If a new version is +available, it will be downloaded and applied automatically. To disable this automatic update, set the +`YTP_YTDLP_AUTO_UPDATE` environment variable to `false`. -We have added `YTP_YTDLP_AUTO_UPDATE` environment, which allows you to automatically update yt-dlp to the latest version. -To get latest version, It's enabled by default and whenever you start the container, it will check for the latest -version of yt-dlp and update it if a new version is available. To disable this feature, set the environment variable -`YTP_YTDLP_AUTO_UPDATE` to `false`. We will no longer release new versions of YTPTube for every new version of yt-dlp. # Troubleshooting and submitting issues -Before asking a question or submitting an issue for YTPTube, Please remember that YTPTube is only a thin WebUI for [yt-dlp](https://github.com/yt-dlp/yt-dlp). -Any issues you might be experiencing with authentication to video websites, postprocessing, permissions, other `yt-dlp options` -configurations which seem not to work, or anything else that concerns the workings of the underlying yt-dlp library, need not be opened on the YTPTube project. +Before asking a question or submitting an issue for YTPTube, please remember that YTPTube is only a thin wrapper for +[yt-dlp](https://github.com/yt-dlp/yt-dlp). Any issues you might be experiencing with authentication to video websites, +postprocessing, permissions, other `yt-dlp options` configurations which seem not to work, or anything else that +concerns the workings of the underlying yt-dlp library, need not be opened on the YTPTube project. -In order to debug and troubleshoot them, it's advised to try using the yt-dlp binary directly first, -bypassing the UI, and once that is working, importing the options that worked for you into a new `preset` or `ytdlp.cli` file. +In order to debug and troubleshoot them, it's advised to try using the yt-dlp binary directly first, bypassing the UI, +and once that is working, importing the options that worked for you into a new `preset` or `ytdlp.cli` file. ## Via HTTP -If you have enabled the web terminal via `YTP_CONSOLE_ENABLED` environment variable, simply go to `Terminal` button in -your navbar and directly use the yt-dlp command, the interface is jailed to the `yt-dlp` binary you can't access anything else. +If you have enabled the web terminal via `YTP_CONSOLE_ENABLED` environment variable, simply go to `Other > Terminal` use + the yt-dlp command, the interface is jailed to the `yt-dlp` binary you can't access anything else. ## Via CLI @@ -168,9 +174,9 @@ Once there, you can use the yt-dlp command freely. The `config/ytdlp.cli`, is a command line options file for `yt-dlp` it will be globally applied to all downloads. -We strongly recommend not use this file for options that aren't **truly global**, everything that can be done via the file -can also be done via the presets which is dynamic can be altered per download. Example of good global options are to be -used for all downloads are: +We strongly recommend not use this file for options that aren't **truly global**, everything that can be done via the +file can also be done via the presets which is dynamic can be altered per download. Example of good global options +are to be used for all downloads are: ```bash --continue --windows-filenames --live-from-start @@ -180,8 +186,8 @@ Everything else can be done via the presets, and it's more flexible and easier t # Authentication -To enable basic authentication, set the `YTP_AUTH_USERNAME` and `YTP_AUTH_PASSWORD` environment variables. And restart the container. -This will prompt the user to enter the username and password before accessing the web interface/API. +To enable basic authentication, set the `YTP_AUTH_USERNAME` and `YTP_AUTH_PASSWORD` environment variables. And restart +the container. This will prompt the user to enter the username and password before accessing the web interface/API. As this is a simple basic authentication, if your browser doesn't show the prompt, you can use the following URL `http://username:password@your_ytptube_url:port` @@ -196,8 +202,8 @@ It disables everything except the `settings button` and `reload` button. ### Add form +* Disable Everything except the `URL` and `Add`. * The form will always be visible and un-collapsible. -* Everything except the `URL` and `Add` button will be disabled and hidden. * The preset will be the default preset, which can be specified via `YTP_DEFAULT_PRESET` environment variable. * The output template will be the default template which can be specified via `YTP_OUTPUT_TEMPLATE` environment variable. * The download path will be the default download path which can be specified via `YTP_DOWNLOAD_PATH` environment variable. @@ -212,7 +218,7 @@ For simple API documentation, you can refer to the [API documentation](API.md). # How to autoload yt-dlp plugins? -Loading yt-dlp plugin in YTPTube is is quite simple, we already have everything setup for you. simply, create a folder +Loading yt-dlp plugins in YTPTube is quite simple, we already have everything setup for you. simply, create a folder inside the `/config` directory named `yt-dlp` so, the path will be `/config/yt-dlp`. then follow [yt-dlp plugins docs](https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#plugins) to know how to install the plugins. @@ -265,8 +271,8 @@ Certain configuration values can be set via environment variables, using the `-e | YTP_AUTH_PASSWORD | Password for basic authentication | `empty string` | | YTP_CONSOLE_ENABLED | Whether to enable the console | `false` | | YTP_REMOVE_FILES | Remove the actual file when clicking the remove button | `false` | -| YTP_CONFIG_PATH | Path to where the queue persistence files will be saved | `/config` | -| YTP_TEMP_PATH | Path where intermediary download files will be saved | `/tmp` | +| YTP_CONFIG_PATH | Path to where the config files will be stored. | `/config` | +| YTP_TEMP_PATH | Path to where tmp files are stored. | `/tmp` | | YTP_TEMP_KEEP | Whether to keep the Individual video temp directory or remove it | `false` | | YTP_KEEP_ARCHIVE | Keep history of downloaded videos | `true` | | YTP_YTDL_DEBUG | Whether to turn debug logging for the internal `yt-dlp` package | `false` | diff --git a/ui/layouts/default.vue b/ui/layouts/default.vue index cb17bd91..11bb176d 100644 --- a/ui/layouts/default.vue +++ b/ui/layouts/default.vue @@ -85,6 +85,7 @@ Reload + + diff --git a/ui/package.json b/ui/package.json index 4b1a82c3..5502280d 100644 --- a/ui/package.json +++ b/ui/package.json @@ -20,7 +20,7 @@ "cron-parser": "^5.2.0", "cronstrue": "^2.61.0", "floating-vue": "^5.2.2", - "hls.js": "^1.6.4", + "hls.js": "^1.6.5", "moment": "^2.30.1", "nuxt": "^3.17.4", "pinia": "^3.0.2", diff --git a/ui/pages/changelog.vue b/ui/pages/changelog.vue index 18e08777..3b57e18b 100644 --- a/ui/pages/changelog.vue +++ b/ui/pages/changelog.vue @@ -26,7 +26,7 @@
  • {{ ucFirst(commit.message).replace(/\.$/, "") }}. - - + {{ moment(commit.date).fromNow() }} @@ -42,13 +42,12 @@