Compare commits

..
1 Commits
Author SHA1 Message Date
Prayag Prajapati d00cee3414 Update README.md 2022-04-05 12:32:32 +05:30
510 changed files with 11301 additions and 78481 deletions

No files matched your search

-1
View File
@@ -1 +0,0 @@
{}
+21
View File
@@ -0,0 +1,21 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"node": true
},
"extends": [
"prettier",
"google"
],
"plugins": [
"prettier"
],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"prettier/prettier": "error"
}
}
-15
View File
@@ -1,15 +0,0 @@
# These are supported funding model platforms
github: [prayag17] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
thanks_dev: # Replace with a single thanks.dev username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
-31
View File
@@ -1,31 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. Windows]
- Version [e.g. v0.0.6-dev]
- Jellyfin Version [e.g. 10.9]
**Additional context**
Add any other context about the problem here.
-20
View File
@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
-11
View File
@@ -1,11 +0,0 @@
changelog:
categories:
- title: 🏕 Features
labels:
- '*'
exclude:
labels:
- dependencies
- title: 👒 Dependencies
labels:
- dependencies
@@ -1,173 +0,0 @@
# @format
name: Continuous Integration
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
build_web:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v5
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Sync node version and setup cache
uses: actions/setup-node@v6
with:
node-version: "lts/*"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
# - name: Lint
# run: pnpm run lint
- name: Build
run: pnpm run build
build:
needs: build_web
# Prevent forked PRs from running the build job which is expensive
if: github.repository == 'prayag17/Blink'
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-22.04, windows-latest, windows-11-arm]
runs-on: ${{ matrix.platform }}
environment: TAURI
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev librsvg2-dev
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v5
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Sync node version and setup cache
uses: actions/setup-node@v6
with:
node-version: "lts/*"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build app
run: pnpm run tauri build --debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
# TODO: Remove the below command after upstream issue is fixed
# Related issue: https://github.com/tauri-apps/tauri/issues/10702
WEBKIT_DISABLE_DMABUF_RENDERER: 1 # Disable DMABUF renderer on Wayland
- name: Upload build Artifacts
uses: actions/upload-artifact@v6
with:
name: Blink-${{ matrix.platform }}-dev${{ github.sha }}
path: src-tauri/target/debug/bundle/*
# Create or update nightly release
nightly_release:
needs: build
if: github.repository == 'prayag17/Blink' && github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: write # Required for creating/updating releases
steps:
- name: Checkout repository
uses: actions/checkout@v6.0.1
- name: Download all artifacts
uses: actions/download-artifact@v7.0.0
with:
path: artifacts
- name: Prepare assets
run: |
mkdir -p release_assets
find artifacts -type f \( -name "*.exe" -o -name "*.msi" -o -name "*.dmg" -o -name "*.deb" -o -name "*.AppImage" -o -name "*.rpm" -o -name "*.tar.gz" \) | while read -r file; do
# Extract platform from artifact name (e.g. Blink-ubuntu-22.04-devSHA)
artifact_name=$(echo "$file" | cut -d'/' -f2)
platform=$(echo "$artifact_name" | sed -E 's/Blink-(.*)-dev.*/\1/' | sed 's/-/_/g')
filename=$(basename "$file")
cp "$file" "release_assets/${platform}-${filename}"
done
- name: Delete old nightly release
run: gh release delete nightly --yes --repo ${{ github.repository }} || true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create nightly release
uses: softprops/action-gh-release@v2.5.0
with:
tag_name: nightly
name: Nightly Build (${{ github.sha }})
body: |
Nightly build from the latest main branch.
**Last commit:** ${{ github.event.head_commit.message }}
**SHA:** ${{ github.sha }}
prerelease: true
files: release_assets/*
fail_on_unmatched_files: true
-84
View File
@@ -1,84 +0,0 @@
# @format
name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
release:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-22.04, windows-latest, windows-11-arm]
runs-on: ${{ matrix.platform }}
environment: TAURI
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev librsvg2-dev
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v5
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Sync node version and setup cache
uses: actions/setup-node@v6
with:
node-version: "lts/*"
cache: "pnpm" # Set this to npm, yarn or pnpm.
- name: Install app dependencies and build web
# Remove `&& yarn build` if you build your frontend in `beforeBuildCommand`
run: pnpm install --no-frozen-lockfile && pnpm run build # Change this to npm, yarn or pnpm.
- name: Build the app
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
with:
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
releaseName: "App Name v__VERSION__" # tauri-action replaces \_\_VERSION\_\_ with the app version.
releaseBody: "See the assets to download and install this version."
releaseDraft: true
prerelease: false
args: ${{ matrix.platform == 'macos-latest' && '--target universal-apple-darwin' || '' }}
-26
View File
@@ -1,26 +0,0 @@
name: Publish Releases to WinGet
on:
release:
types: [published]
jobs:
publish-alpha:
runs-on: ubuntu-latest
if: contains(github.event.release.tag_name, '-alpha')
steps:
- uses: vedantmgoyal9/winget-releaser@main
with:
identifier: prayag17.Blink.Alpha
version: ${{ github.event.release.tag_name }}
installers-regex: '\.exe$'
token: ${{ secrets.WINGET_TOKEN }}
publish-stable:
runs-on: ubuntu-latest
if: "!contains(github.event.release.tag_name, '-alpha')"
steps:
- uses: vedantmgoyal9/winget-releaser@main
with:
identifier: prayag17.Blink
version: ${{ github.event.release.tag_name }}
installers-regex: '\.exe$'
token: ${{ secrets.WINGET_TOKEN }}
+77 -38
View File
@@ -1,50 +1,89 @@
*dist
*build
__pycache__
*.mkv
*.mp4
*mpv*
sh-agent*
.pytest_cache
### react ###
.DS_*
*.log
# Logs
logs
**/*.backup.*
**/*.back.*
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
node_modules
bower_components
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
*.sublime*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
.DS_Store
psd
thumb
sketch
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
### Rust ###
# Generated by Cargo
# will have compiled files and executables
debug/
target/
# Coverage directory used by tools like istanbul
coverage
*.lcov
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
# Cargo.lock
# nyc test coverage
.nyc_output
# These are backup files generated by rustfmt
**/*.rs.bk
# node-waf configuration
.lock-wscript
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
generateBanner
# Million Lint
.million
# Dependency directories
node_modules/
jspm_packages/
# TypeScript incremental build cache
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# local multi-client test profiles
.clients/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# next.js build output
.next
# nuxt.js build output
.nuxt
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# Webpack
.webpack/
# Electron-Forge
out/
+3
View File
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": true,
}
-10
View File
@@ -1,10 +0,0 @@
{
"recommendations": [
"biomejs.biome",
"github.vscode-github-actions",
"swellaby.rust-pack",
"1yib.rust-bundle",
"sibiraj-s.vscode-scss-formatter",
"tauri-apps.tauri-vscode"
]
}
-33
View File
@@ -1,33 +0,0 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Tauri Development Debug",
"cargo": {
"args": [
"build",
"--manifest-path=./src-tauri/Cargo.toml",
"--no-default-features"
]
},
// task for the `beforeDevCommand` if used, must be configured in `.vscode/tasks.json`
"preLaunchTask": "ui:dev"
},
{
"type": "lldb",
"request": "launch",
"name": "Tauri Production Debug",
"cargo": {
"args": [
"build",
"--release",
"--manifest-path=./src-tauri/Cargo.toml"
]
},
// task for the `beforeBuildCommand` if used, must be configured in `.vscode/tasks.json`
"preLaunchTask": "ui:build"
}
]
}
-32
View File
@@ -1,32 +0,0 @@
{
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "always",
"source.organizeImports.biome": "explicit"
},
"[github-actions-workflow]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"rust-analyzer.linkedProjects": ["./src-tauri/Cargo.toml"],
"typescript.tsdk": "node_modules/typescript/lib",
"[scss]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"millionLint.theme": "million",
"millionLint.disableOutdatedVersionMessage": true
}
-29
View File
@@ -1,29 +0,0 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "ui:dev",
"type": "shell",
// `dev` keeps running in the background
// ideally you should also configure a `problemMatcher`
// see https://code.visualstudio.com/docs/editor/tasks#_can-a-background-task-be-used-as-a-prelaunchtask-in-launchjson
"isBackground": true,
// change this to your `beforeDevCommand`:
"command": "yarn",
"args": [
"dev"
]
},
{
"label": "ui:build",
"type": "shell",
// change this to your `beforeBuildCommand`:
"command": "yarn",
"args": [
"build"
]
}
]
}
-232
View File
@@ -1,232 +0,0 @@
- # Alpha 3 (11/12/2024)
- refactor: prepare for alpha 3
- refactor: cleanup
- refactor: remove unused imports
- fix: series page not fetching correct season
- feat: add key binding for macos users #435
- refactor: remove jellyPlayer naming from code #460
- feat: add playlist playback support
- refactor: improve server add process
- feat: show current time while scrubbing video progress #339
- style: increase the sharpness of card images
- feat: add skip recap button
- refactor: cleanup video player
- feat: add chapter navigation buttons to video player #457
- feat: allow changing audio track from video player
- feat: allow changing chapters from a chapter list #457
- refactor: cleanup search route
- refactor: cleanup some components
- refactor: unmount card image if not inView
- refactor: cleanup person route
- style: replace noto-sans with plus-jakarta-sans
- refactor: cleanup login routes
- fix: library items not of same size #380
- refactor: cleanup item.tsx
- fix: series page breaking if season is not loaded
- fix: do not display missing items in series
- refactor: move more files to ts
- refactor: move more files to ts
- refactor: move more files to ts
- refactor: move more files to typescript
- refactor: move more components to ts
- refactore: cleanup __root.tsx
- chore(deps): update dependencies
- fix: collections page not rendering #447
- fix: quick connect not working #445
- fix: playback error if subtitle is not set
- fix: index not being assigned proper value #420
- fix: synced lyrics not working
- Merge pull request #446 from prayag17/renovate/node-22.x-lockfile
- refactor: use saved lyrics
- refactor: change GenreView to genreFilter
- fix(deps): update dependency @types/node to v22.10.1
- Merge pull request #393 from prayag17/renovate/tanstack-router-monorepo
- Merge pull request #424 from prayag17/renovate/tanstack-query-monorepo
- fix(deps): update tanstack-router monorepo
- Merge pull request #426 from prayag17/renovate/node-22.x-lockfile
- fix(deps): update dependency @types/node to v22.10.0
- Merge pull request #437 from prayag17/dependabot/cargo/src-tauri/rustls-0.23.18
- fix(deps): update tanstack-query monorepo to v5.61.4
- Merge pull request #438 from prayag17/renovate/axios-1.x-lockfile
- Merge pull request #439 from prayag17/renovate/vitejs-plugin-react-4.x-lockfile
- chore(deps): update dependency @vitejs/plugin-react to v4.3.4
- refactore: move more components to typescript
- fix: episode and series not playing if episode is not present in nextUp and continueWatching
- feat: show current episode in PlayButton
- fix: episode indexing for absolute numbering indexNumbers in PlayButton
- fix: unable to read Id of undefined in PlayButton
- fix(deps): update dependency axios to v1.7.8
- chore(deps): bump rustls from 0.23.16 to 0.23.18 in /src-tauri
- fix(ci): not uploading debug builds
- refactor(ci): build debug builds in CI
- Merge pull request #425 from prayag17/renovate/serde_json-1.x-lockfile
- Merge pull request #436 from sambartik/macos-universal-dmg
- chore(deps): update dependencies
- refactor: convert more files to typescript
- fix: improper handling of undefined api leading to crashes
- refactor: move all buttons to tsx #338
- Add universal dmg for macOS in release job
- fix: audio queue not moving after 2 changes #182
- fix: playing track from album not updating the queue #182
- refactor: use MediaSegments api for intro/outro skipping
- fix: trickplay images not showing up
- refactor: improve login page UI #338 #202
- chore(release): update latest.json
- fix(deps): update rust crate serde_json to v1.0.133
- # 0.0.7-dev (20/11/2024)
- chore(deps): update dependencies
- refactor: change UI of login/list and fix Api not being defined in context
- fix: player/audio route not able to interact with audioPlayer
- fix: audio player info not visible
- fix: audio player not playing audio
- fix: toggling ssubtitles not working
- fix: subtitles not being rendered #401
- fix: hero carousel indicators not scrolling
- fix: vite build error for safari13
- fix: blink not launching or rendering on opening
- Merge branch 'main' of https://github.com/prayag17/JellyPlayer
- chore(deps): update dependencies
- Merge pull request #410 from prayag17/renovate/tauri-plugin-notification-2.x-lockfile
- Merge pull request #409 from Blackspirits/patch-1
- chore(deps): update dependencies
- (origin/renovate/tauri-plugin-notification-2.x-lockfile) fix(deps): update rust crate tauri-plugin-notification to v2.0.1
- feat: allow downloading images from ImageViewer
- Update index.tsx
- feat: implement basic image viewer #338 #240
- fix: react infinite depth error
- fix: vite config
- refactor: remove @million/js and @million/lint
- refactor: remove Cargo.lock from .gitignore #400
- chore(deps): update dependencies
- refactor: code cleanup
- fix: bug_report showing extra fields
- refactor: remove redundant calls for getCurrentUser
- feat: show queue item from currently playing item in queueButton
- chore(deps): update dependencies
- feat: remember library filters #192
- Merge pull request #370 from prayag17/renovate/tauri-apps-plugin-clipboard-manager-2.x
- fix(deps): update dependency @tauri-apps/plugin-clipboard-manager to v2.1.0-beta.6
- Merge pull request #381 from prayag17/renovate/wavesurfer.js-7.x-lockfile
- Merge pull request #342 from prayag17/renovate/tanstack-router-monorepo
- Merge pull request #368 from prayag17/renovate/tauri-monorepo
- chore(release): update latest.json
- # 0.0.6-dev (9/7/2024)
> **Note** : This is an unstable release
- feat: add video player slider bubble theming #337
- feat: add trickplay support #338 #337
- fix(ci): update env variables
- fix(ci): fix ubuntu build failing
- chore(deps): update js and rust deps
- feat: add chapter markers #337
- feat: add subtitle support #337
- fix(ci): invalid tauri build command
- fix(ci):workflow repo name
- feat: remember last search query
- feat: add new audioPlayer route and allow reordering queue
- chore(deps): update deps
- chore(deps): cleanup unused dependencies and update dependencies
- refactor: replace wavesurfer with html audio player
- feat: add new album page
- fix: quick connect not working
- chore: change tauri updater signing keys
- feat: show upNext card for episode items in player
- fix: login page not working
- Merge pull request #332 from pypp/feat/double-click-fullscreen
- Merge pull request #333 from pypp/feat/scrollwheel-volume-control
- fix: removed subtitleRenderer state that was added while merging
- fix: fixed bug caused by merge econflicts
- Merge remote-tracking branch 'upstream/main' into feat/scrollwheel-volume-control
- fix: fixed fucntion to use the new API
- Merge remote-tracking branch 'upstream/main' into feat/double-click-fullscreen
- Merge branch 'main' of https://github.com/pypp/JellyPlayer into feat/double-click-fullscreen
- fix(deps): update dependency babel-plugin-react-compiler to v0.0.0
- fix(deps): update tauri monorepo
- chore(deps): update dependencies
- feat: allow toggling subtitles on and off from player
- fix: playNext and playPrevious logic
- feat: add intro-skipper
- refactor: cleanup unused variables in playbackStore
- chore(deps): update packages
- refactor: support vtt and ass subtitles
- refactor: add sorting options to library page for Series and BoxSets
- style: update hero-carousel styling
- chore(deps): update deps
- fix(deps): update dependency framer-motion to v11.2.9
- refactor: move most routing logic to tanstack
- refactor: implement new login logic and verify context.api status
- chore(deps): update dependencies
- refactor: move to tanstack router
- fix: videoPlayer not restoring playback position when queueItem is updated
- fix: Slight UI regression when changing servers on latest version #288
- fix: eac3 codec support
- refactor: queueItem playback
- fix(deps): update rust crate tauri to 1.6.2 (#298)
- fix: episode playback
- feat: add queueButton
- Merge branch 'main' of https://github.com/prayag17/JellyPlayer
- chore(deps): fix vite 5.2 bundle
- fix(deps): update dependency @types/react to v18.3.1 (#295)
- fix: scrollTrigger in libraryView
- style: improve styling
- fix: backdrop flashing
- feat: use tanstack virtual for rendering library items
- style: improve login notice ui
- refactor: fetch mediaSource for series
- refactor: implement new playback method for playbutton (wip)
- ui: improve glass texture
- ui: implement new appBar #284
- feat: display sdr and hdr only videoRange
- style: improve hdr10 logo spacing
- chore: update title-movie screenshot in README.md
- chore: update title-movie.png
- fix: hdr10 icon height not matching
- style: update mediainfo icons
- style: update mediainfo icons
- fix: no subtitle option not selecting
- feat: use brand logo for hdr10plus
- fix: default subtitle not being selected properly
- style: display backdrops in boxset
- fix: videoPlayer not exiting if subtitles are disabled
- chore: add kitsu icon to iconLink
- fix: carousel not rendering
- chore: update readme
- chore: update screenshots
- fix: improve hdr10+ detection
- feat: add quality and audio brand labels
- style: improve page-margin
- fix(player): unable to play media without subtitles
- fix: album not displaying if no parent backdrop is found
- chore: add screenshots and some features of JellyPlayer #242
- chore: upload screenshots
- fix(nsis): nsis setup images not displaying correctly
- style: Improve titlePage styling
- style: change cardText styling
- style: Improve overall app component paddings and margins and rollback vite to 5.1.6
- chore(deps): update dependency vite to v5.2.6 (#286)
- fix(deps): update material-ui monorepo (#270)
- fix(deps): update dependency @types/node to v20.11.29 (#292)
- fix(deps): update dependency @types/react to v18.2.67 (#293)
- fix(deps): update tanstack-query monorepo to v5.28.6 (#271)
- fix(deps): update dependency @types/react to v18.2.67 (#272)
- fix(deps): update dependency @types/node to v20.11.29 (#274)
- fix(deps): update dependency framer-motion to v11.0.15 (#278)
- fix(deps): update dependency typescript to v5.4.3 (#287)
- fix(deps): update dependency material-symbols to v0.17.1 (#289)
- chore(deps): update dependency @biomejs/biome to v1.6.2 (#290)
- fix(deps): update rust crate log to ^0.4.21 (#276)
- chore: update latest.json
- # v0.0.5-dev
> **Note** : This is an unstable release
- feat(web): Add new About page (#258) by @prayag17
- feat(web): Allow managing servers from settings dialog by @prayag17
- feat(search): Add Episode to search by @prayag17
- feat(settings-server): Add a refretch button by @prayag17
- feat(web): Add a global query fetch/mutation status by @prayag17
- fix(server): Use redirect instead of relaunch when changing or deleting a server by @prayag17
- refactor(player): Rewrite and improve video playback by @prayag17
- feat(web): Use season backdrop in series page if available by @prayag17
- feat(player): Allow selecting subtitles during playback by @prayag17
- feat(ui): Add new episode layout by @prayag17
-674
View File
@@ -1,674 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
+5 -93
View File
@@ -1,93 +1,5 @@
![Banner](https://github.com/user-attachments/assets/cf3ffbe3-3b48-4fab-bd7e-f011928286fa)
<div align="center">
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/prayag17/Blink?sort=date&display_name=tag&style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iODc4IiBoZWlnaHQ9IjEwMTIiIHZpZXdCb3g9IjAgMCA4NzggMTAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MzguODA5IDUwNkwzNS40MDQ4IDczOC45MDZMNDM4LjgwOSA5NzEuODEyTDg0Mi4yMTQgNzM4LjkwNlYyNzMuMDk0TDQzOC44MDkgNDAuMTg4NUwzNS40MDQ4IDI3My4wOTRMNDM4LjgwOSA1MDZaTTQzOC44MDkgMEw4NzcuMDE4IDI1M1Y3NTlMNDM4LjgwOSAxMDEyTDAuNjAwNTg2IDc1OVY3MTguODEyVjI5My4xODhWMjUzTDQzOC44MDkgMFoiIGZpbGw9IndoaXRlIi8%2BCjwvc3ZnPgo%3D&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%Blink%2Freleases%2Flatest">
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/prayag17/Blink?style=for-the-badge&logo=github&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%Blink%2Fstargazers">
<img alt="GitHub License" src="https://img.shields.io/github/license/prayag17/Blink?style=for-the-badge&labelColor=000">
<img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/prayag17/Blink/continuous-integration.yml?style=for-the-badge&logo=github&label=CI&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%Blink%2Factions%2Fworkflows%2Fcontinuous-integration.yml">
</div>
###
> [!IMPORTANT]
> **JellyPlayer** has been renamed to **Blink** to avoid confusion with first party Jellyfin apps
## 📝 Prerequisites
- Nodejs (22.14.0)
- Rust (>=1.85.0)
- Visual Studio C++ Build tools
- [pnpm](https://pnpm.io/)
## ℹ️ Getting started
- Install Nodejs, pnpm and Rust.
> **Note** : Install Rust from <https://www.rust-lang.org/learn/get-started>
- install depencies using pnpm:
```shell
pnpm install
```
## 🛠️ Development
- Running the app:
```shell
pnpm run tauri dev
```
- Building the app:
```shell
pnpm run tauri build
```
- other commands can be found inside the `"scripts"` inside [package.json](https://github.com/prayag17/Blink/blob/main/package.json)
## 💻 Contribution
- Checkout `issues` to see currently worked on features and bugs
- Add features or fix bugs
- Create a pull request
## ✨ Features
- Play any media supported by the system (DirectPlay most files on windows, mac and linux)
- Clean and minimal UI.
- Multi Jellyfin server support
- Cross Platform
- Mediainfo recognition (DolbyVision, DolbyAtoms, Dts, Hdr10+, and more...)
- Sort/Filter library items
- Queue playback support
- Intro Skip button using [jumoog/Intro-Skipper](https://github.com/jumoog/intro-skipper) plugin
- Mediasegment support
## 📷 Screenshots
- Home
<img width="2560" height="1600" alt="Screenshot 2026-02-10 212208" src="https://github.com/user-attachments/assets/036c2339-e8f1-4c8d-a908-af0ece9bb1f3" />
- Library
<img width="2560" height="1600" alt="Screenshot 2026-02-10 212723" src="https://github.com/user-attachments/assets/6520a325-3cf3-47a0-9056-b27aded4bb8c" />
- Music Player Detailed
<img width="2560" height="1600" alt="Screenshot 2026-02-10 213017" src="https://github.com/user-attachments/assets/00a89efa-0a4c-4272-868e-f52c9fcfeaac" />
- Item Page
<img width="2560" height="1600" alt="Screenshot 2026-02-10 212653" src="https://github.com/user-attachments/assets/5d281f8c-48ba-4787-b8ca-a4b86ccab5c1" />
- Album / Music Player
<img width="2560" height="1600" alt="Screenshot 2026-02-10 212949" src="https://github.com/user-attachments/assets/d99aaea5-e242-4b3d-a5c5-d2868313728b" />
- Search Dialog
<img width="2560" height="1600" alt="Screenshot 2026-02-10 212749" src="https://github.com/user-attachments/assets/4ad87072-86ad-4510-95a4-567d6d11e997" />
- Video Player
<img width="2560" height="1600" alt="Screenshot 2026-02-10 213049" src="https://github.com/user-attachments/assets/effcca22-3650-46e1-9a86-b3b434851f2f" />
## 📃 Roadmap
- Checkout [GitHub Project](https://github.com/users/prayag17/projects/3)
## 🎊 Special thanks to
- [@ferferga](https://github.com/ferferga) for helping in development behind the scenes.
- All contributors of [jellyfin/jellyfin-vue](https://github.com/jellyfin/jellyfin-vue).
- And also [@jellyfin](https://github.com/jellyfin/) for creating the main service
# This is the older version of JP that was made with electron but then moved to Qt for better media playback integretion
## JellyPlayer
### THIS IS CURRENTLY IN WORKS AND DOES NOT WORK I WILL CREATE A ALPHA IN FEW MONTHS
### Modern Jellyfin Media player
### WORK IN PROGRESS
-50
View File
@@ -1,50 +0,0 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noNonNullAssertion": "off",
"useEnumInitializers": "off",
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error"
},
"a11y": {
"useKeyWithClickEvents": "off",
"useMediaCaption": "off",
"noStaticElementInteractions": "off"
},
"correctness": {
"useExhaustiveDependencies": "off",
"noUnusedImports": "off"
},
"suspicious": {
"noExplicitAny": "off"
},
"nursery": {}
}
},
"files": {
"includes": [
"**/src/**/*.ts",
"**/src/**/*.tsx",
"**/src/**/*.jsx",
"**/src/**/*.js",
"**/*.json",
"**/*.scss"
],
"ignoreUnknown": true
},
"formatter": {
"formatWithErrors": true
}
}
-256
View File
@@ -1,256 +0,0 @@
# Blink Remote Control + SyncPlay Plan
## Goal
логин root пароль 12345
сервер https://jel.midns.ru
Make remote control and SyncPlay predictable for Blink clients only:
- Remote control lists only `Client = Blink` sessions, with readable device names.
- Quick transfer of the current media to any selected Blink device.
- Media takeover cards for taking playback from another Blink device.
- SyncPlay groups are Blink groups; add an auto-group for all running Blink clients.
- Keep group playback as close to frame-accurate as the Jellyfin SyncPlay protocol allows.
- Redesign all remote/session cards with a glass surface, clear hierarchy and motion.
## Constraints
- Do not expose non-Blink Jellyfin sessions in remote control or SyncPlay UI.
- Do not rely on `GroupInfoDto.Participants` for device names: the server stores
distinct user names there, not device names or sessions.
- Device identity must be stable per installation and readable by humans.
- Multi-client testing should use the same Jellyfin user, like a household setup.
## Workstreams
### 1. Blink identity and shared session utilities
- Add a device identity helper: stable id, readable name
(`Blink · Windows · 4F2A`), optional local override.
- Set `deviceInfo.name` from that helper so Jellyfin reports a useful
`DeviceName` for every Blink client.
- Add a local "device name" field in Settings → Preferences.
- Add shared helpers:
- `isBlinkSession`
- `getBlinkSessions(sessions, { userId, selfDeviceId })`
- `getBlinkDeviceName`
- `getBlinkDeviceKind`
- Blink group marker/prefix and predicate.
### 2. Remote control: Blink only + quick transfer
- Shared `useBlinkSessions` hook: realtime WebSocket snapshot first, API poll as
fallback. Filters by `Client=Blink`, same user, excludes the local device.
- Use the shared filter in:
- titlebar cast dialog
- remote page
- audio player device menu / remote bar
- FollowMe takeover prompt
- legacy playback sync
- `CastButton` without explicit media uses the current local media
(video/audio item, queue, position, paused state).
- Redesign the cast dialog:
- "Сейчас играет" media preview.
- Blink device cards.
- One-click "Отправить сюда".
- "Забрать сюда" when the target is playing.
- "Открыть пульт" for full control.
### 3. Remote page: full control
- Blink-only device list with proper names.
- Glass session cards: device, status, now playing, progress.
- Add actions missing today:
- take remote playback here
- send current local media to the selected device
- stop remote playback
- audio track selection (alongside subtitles)
- volume/mute, seek, play/pause, next/prev, fullscreen
- open SyncPlay group controls from the remote page
- Motion: card lift, progress animation, active-device glow.
### 4. SyncPlay: Blink groups + auto-group
- Group name prefix `Blink ·`; only prefixed groups are listed and joinable.
- Create groups with the prefix hidden from the visible name.
- Auto-group:
- name `Blink · Автогруппа`
- host can create/join with one click
- other Blink clients auto-join when the setting is enabled (default on)
- host can optionally share the current queue at the same time
- SyncPlay dialog shows online Blink devices by name and uses Blink-only
groups.
- `GroupInfoDto.Participants` is shown as users, never as devices.
- Avoid the old "participants <= 1 => force resume" shortcut when other Blink
devices are online; let the server's group-wait complete.
### 5. Maximum SyncPlay synchronization
- Measure real ping (EMA of SyncPlay ping round-trip) instead of a fixed 50 ms.
- Only report `Ready` once local playback is actually ready (video ready and not
buffering; audio element has enough data).
- Reduce drift tolerance to the server's practical sync window (~500 ms) and
keep seek throttling.
- Keep assistant controllers: pings every 3 s, ready retry only while waiting.
- Do not auto-resume a group before other online Blink clients are ready.
### 6. Glass takeover cards + animations
- Shared `SessionCard` component for remote dialog, remote page and device
lists.
- Glass surface: translucent gradient, 1 px highlight border, blur, depth
shadow, poster-driven accent.
- States: selected, playing, paused, idle, unsupported.
- Motion: entrance stagger, hover lift, press scale, progress transition,
active pulse.
- FollowMe takeover prompt uses the same glass language.
### 7. Testing with 2-3 clients
- Launch the current dev build as 2 extra WebView2 profiles, each with its own
localStorage device id; share the same Jellyfin user/token.
- Verify:
1. all three appear as `Client=Blink` with distinct readable names
2. remote dialog lists only Blink devices
3. screenshot/internal API check of the glass cards
4. send current media from client 1 to client 2; verify client 2 starts at
the same position and client 1 stops
5. take media back to client 1; verify client 2 stops
6. create auto-group from client 1; clients 2/3 join automatically
7. share queue; all three play the same item; compare positions/drift
8. pause/resume/seek from client 1; verify clients 2/3 follow
9. verify non-Blink sessions/groups are not shown
- Record results in the final report.
## Definition of done
- `tsc --noEmit` and `pnpm build` pass.
- No non-Blink session or group appears in remote/SyncPlay UI.
- Three-device test passes for transfer, takeover, auto-group and
pause/resume/seek synchronization.
- Final short report with issue count and serious fixes.
## Verification results (2026-12-02)
Stand: three Blink clients on one Windows machine (`2346`, `5A33`, `1959`),
one Jellyfin user, dev build, server `https://jel.midns.ru`.
| Scenario | Result |
| --- | --- |
| Blink-only filters and names | Jellyfin Web / other sessions never shown; devices appear as `Blink · Windows · XXXX` |
| Send current media to another client | Target starts at the same position with the shared queue; source stops |
| Take playback back | Target stops, initiator resumes at the transferred position |
| Auto-group with all three clients | Clients join in 1–3 s; no 30 s `Waiting` timeout |
| Group queue start | `Playing` within ~1 s, positions 0.00/0.00/0.00 (spread ≤ 0.02 s) |
| Pause | `Paused` within ~1 s, all at the same position (spread 0.00 s) |
| Resume | Server schedules the unpause by ping (≈2 s in this setup), spread 0.01 s |
| Seek to 05:00 | `Waiting → Playing`, final spread 0.02–0.03 s at 306.3 s |
| Non-Blink groups | Not listed, not joinable |
### Serious fixes found by the three-client test
1. **Buffer end was reported as another Buffer request.** The Jellyfin server
treats any Buffer request as “this session is buffering”, so every client
that finished buffering was marked buffering again. Buffer end now sends
`Ready`, as jellyfin-web does.
2. **Parking tolerance was 30 ms instead of 400 ms.** While waiting for a new
queue, clients seeked every second against a 30 ms threshold and never sent
`Ready`; the group only started via the server’s 30 s timeout. The threshold
is now 400 ms, below the server’s 500 ms acceptance window.
3. **Paused position was read from a stale store value.** `playerState.currentTime`
only updates on `timeupdate`, which can stand still while paused, so seeks
looked unapplied. Position now comes from the `<video>` element directly.
4. **Seek was extrapolated as if playing.** After a group seek the server stays
in `Waiting` at the seek position; the client kept adding elapsed time,
making the server chase a moving target. A Seek now freezes the timeline at
the target and pauses locally until the group unpause.
5. **State updates resumed/paused clients immediately.** That bypassed the
server’s scheduled `When`, so each client started at a different instant.
Only Pause/Unpause/Seek commands drive playback now; the state update is
informational.
6. **Local parking echoed Pause/Seek/Buffer requests.** Pausing a client to
park it looked like a user request and flipped the group to `Paused` or
restarted the wait. Parking is guarded, and pause/resume/seek/buffer reports
are suppressed while the group is parking.
7. **Readiness waited for `HAVE_CURRENT_DATA`/`onReady`.** A player parked
before its first frame could stay at metadata only, so it never reported
ready and the group waited 30 s. Readiness now accepts loaded metadata
(`readyState >= 1`), which is enough to start in sync.
8. **Command timeline.** Pause/Unpause/Seek positions are now anchored to the
server’s `When` + `PositionTicks` and reset on every play-queue update,
instead of extrapolating from a stale queue snapshot.
9. **Auto-group start window.** Auto-join polling is 2 s and, when other Blink
devices are online, sharing the queue waits 2.2 s so they join before the
first unpause instead of joining mid-playback.
`pnpm exec tsc --noEmit` and `pnpm build` pass after these changes.
## Audio, transfers and group edge cases (2026-12-02, follow-up)
### Additional fixes
1. **Audio playback was invisible to Jellyfin.** The `<audio>` element played
locally but never sent `reportPlaybackStart/Progress/Stopped`. As a result
`/Sessions` stayed empty, so audio could not be cast, taken over, followed or
synchronised. Audio now reports start, progress (10 s), pause and stop; the
session shows the track and position like a video.
2. **A group was moving unrelated local music.** Group `Seek`/`Pause`/`Unpause`
commands and drift correction were applied to whatever media the client was
playing. Starting music while a group video was running made the server seek
the track to the video position: the song jumped to its end, ended and
restarted every couple of seconds. Commands now only touch the group's
current item; other local media is ignored.
3. **Starting media echoed a Pause into the group.** Pausing the old video when
music starts looked like a user Pause request. A short media-switch guard
suppresses Pause/Seek/Buffer reports while audio and video swap.
4. **A client playing local media held the whole group.** Such a client is now
marked with `IgnoreWait` on the server, and the mark is cleared when it
returns to the group item. The group no longer waits 30 s for a member that
deliberately switched to music; its own playback is unaffected.
5. **Transfers stopped the source before the target had started.** `playOnSession`
now waits until the target session reports the requested item (up to two
attempts), then corrects its position. If the target never starts, the
mutation fails and the source keeps playing instead of stopping everywhere.
6. **Audio transfers always looked unsuccessful.** Because audio was never
reported, the source could not verify the target. With audio reporting the
same confirmation works for music and video.
7. **Follow-me card was hidden by an idle audio player.** It used to hide
whenever the audio bar had an item, even when paused. It now hides only while
audio is actually playing, so “Продолжить здесь” appears over an open but
idle audio player.
8. **Audio/video mixing.** Starting one medium stops the other; the group item
guard prevents cross-media seeks; media-switch guards prevent old-player
events from being sent as group commands.
9. **Two-second loop at the start of a group video.** Late auto-joins each put
the group back into Waiting and re-parked everyone at the first seconds.
Auto-join polls every 1 s, the host waits 3 s before sharing the queue when
other Blink clients are online, and the old “solo force resume” was removed.
Three clients now start together in about 1 s with no loop.
10. **Back from the player.** The group is not left. The player exit no longer
reports a Pause, and after ~3 s without local media the client is marked
`IgnoreWait`, so the group keeps playing while the user browses.
11. **Audio autoplay overrode SyncPlay parking.** The `<audio autoPlay>` element
started even when the group had parked it, so clients played ~3 s and the
server then seeked everyone back to 0. The element no longer autoplays:
playback follows the shared store flag, and parking pauses it before the
element even mounts.
### Follow-up verification
| Scenario | Result |
| --- | --- |
| Audio session visibility | `/Sessions` shows the track, type Audio, live position |
| Audio send, one client to another | Target starts at the transferred position; source stops only after confirmation |
| Follow-me with the audio player open | Card appears over the paused/ended audio player; takeover works for audio and video |
| Music during a group video | Group stays Playing; music advances 31→35 s while video 5→10 s |
| Group pause while one client plays music | State `Paused` in 1 s; video pauses, music keeps playing |
| Music vs. group seek | Group seek to 05:00 does not move the music (33→44 s) |
| Three-client group start | `Playing` in ~1 s, positions identical, no 2 s loop |
| Group audio start | Parks at 0, no 3 s restart; pause 8.6/8.7/8.6 → resume 9.8/9.8/9.8 |
| Group audio seek to 01:00 | All at 60–61 s, then advance together, no end loop |
| Back from the group player | Group remains; other clients continue; Pause reaches `Paused` in 1 s with the browsing client ignored |
| `tsc --noEmit` / `pnpm build` | Pass |
-605
View File
@@ -1,605 +0,0 @@
# Интеграция qBittorrent в Blink — план
> Статус: **реализовано** (Rust-клиент, страница «Загрузки», настройки).
> Проверено на qBittorrent 5.3.0 / WebAPI 2.16.2; совместимость с 4.x
> заложена в клиент, но на живой 4.x не прогонялась.
## 0. Заметки по реализации
- qBittorrent 5.x принимает параметр `stopped` при добавлении раздачи, 4.x —
`paused`. Клиент отправляет оба: каждая версия читает свой и игнорирует
чужой.
- `sync/maindata` **не повторяет `hash` внутри объекта торрента** — хеш является
ключом словаря. Без подстановки ключа строки получали пустой hash, ломая
действия; в `QbTorrentRaw::from_value` хеш берётся из ключа.
- Для API-ключа заголовок `Authorization: Bearer …` нужно добавлять и к
multipart-запросу `torrents/add`; без него qB отвечает `403` (при этом
обычные GET/POST-формы работают).
- Секрет хранится в системном keyring (`blink-qbittorrent` / `default`) либо
только в памяти до закрытия приложения; в `qbittorrent.json` его нет.
## 1. Цель и рамки
Добавить в Blink страницу загрузок qBittorrent:
1. Добавление раздачи по **magnet-ссылке**.
2. Добавление **.torrent файла**.
3. Выбор **категории** qBittorrent (у категории может быть своя папка).
4. Список позиций со **статусом скачивания**: прогресс, скорость, ETA, состояние,
категория, размер; действия пауза/продолжить/удалить.
5. Настройки подключения к qBittorrent и проверка соединения.
Вне рамок этого этапа: поиск раздач, RSS, автозагрузка, интеграция с
Radarr/Sonarr/Seerr, несколько qB-серверов одновременно, поддержка Usenet.
## 2. Пользовательские сценарии
### 2.1. Добавить магнит
1. «Загрузки» → кнопка «Добавить» (или «+» в шапке страницы).
2. Вкладка «Магнит»: вставить `magnet:?xt=urn:btih:…`.
3. Категория выбирается из списка, полученного из qB; рядом показывается
`savePath` категории (или «папка по умолчанию»).
4. «Добавить» → тост «Раздача добавлена» → строка сразу появляется в списке
со статусом «Получение метаданных» / «В очереди».
5. Если qB вернул дубликат — сообщение «Такая раздача уже есть».
### 2.2. Добавить .torrent
1. Вкладка «Файл»: выбор файла через диалог Tauri (`.torrent`).
2. Тот же выбор категории и кнопка «Добавить».
3. Файл отправляется в qB как multipart (`torrents`).
### 2.3. Статус загрузки
Список обновляется опросом `/sync/maindata`:
имя, категория, размер, прогресс (%, полоса), скорость ↓/↑, ETA, состояние.
Состояния в UI:
| Состояние qB | Подпись в Blink |
| --- | --- |
| `metaDL` | Получение метаданных |
| `queuedDL`, `queuedUP` | В очереди |
| `downloading`, `forcedDL`, `stalledDL` | Скачивается |
| `checkingDL`, `checkingUP`, `checkingResumeData` | Проверка |
| `moving` | Перемещение |
| `uploading`, `forcedUP`, `stalledUP` | Раздаётся |
| `pausedDL`, `stoppedDL` | Пауза |
| `pausedUP`, `stoppedUP` | Завершено |
| `error`, `missingFiles` | Ошибка |
| `unknown` | Неизвестно |
«Добавленные из Blink» помечаются локально: хеши, полученные при добавлении,
хранятся в store; фильтр «Все / Добавленные из Blink».
### 2.4. Настройки
Новый раздел «Настройки → Загрузки» (или отдельная страница настроек
интеграции):
| Поле | Обязательное | Описание |
| --- | --- | --- |
| Адрес WebUI | да | `http://192.168.1.10:8080` — без `/api/v2` |
| Способ входа | да | «Логин и пароль» / «API-ключ» (qB 5.3+, WebAPI 2.17+) |
| Логин | для пароля | пользователь WebUI |
| Пароль | для пароля | системное хранилище секретов (см. 4.2) или ввод при запуске |
| API-ключ | для ключа | там же |
| Разрешить самоподписанный TLS | нет | только для HTTPS, с предупреждением |
| Категория по умолчанию | нет | подставляется в диалоге |
| Добавлять на паузе | нет | параметр `paused` |
| Автоуправление (autoTMM) | нет | параметр `autoTMM`; по умолчанию `true`, чтобы работала папка категории |
| Обновлять Jellyfin после завершения | нет | `POST /Library/Refresh` |
| Интервал опроса | нет | по умолчанию 2000 мс, минимум 1000 |
Кнопка «Проверить соединение»: логин → `/app/version` → `/app/webapiVersion` →
`/app/defaultSavePath`; показывает версию qB и WebAPI.
## 3. qBittorrent WebUI API
База: `{baseUrl}/api/v2`. Все методы — `GET` или `POST`; мутации только `POST`.
Авторизация — cookie-сессия (логин/пароль) или API-ключ.
### 3.1. Версии и совместимость
| qBittorrent | WebAPI | Особенности |
| --- | --- | --- |
| 4.1–4.6 | 2.0–2.8 | базовые методы; логин `200` при успехе и неудаче (тело `Ok.` / `Fails.`) |
| 5.0–5.2 | 2.9–2.14 | cookie может называться `QBT_SID_<port>`; `torrents/add` в 2.14+ отвечает JSON |
| 5.2+ | 2.14+ | логин `204`/`401`; `torrents/add`: `200`, `202` (есть pending), `409` (ничего не добавлено) |
| 5.3+ | 2.17+ | API-ключ (`Authorization: Bearer …` / `X-API-Key`); `torrents/add` без `skip_checking` с 2.16 |
Минимальная поддерживаемая версия — **qBittorrent 4.1 / WebAPI 2.0**.
Версию определять через `/app/webapiVersion` при проверке соединения.
### 3.2. Авторизация
`POST /api/v2/auth/login`
| Параметр | Тип | Описание |
| --- | --- | --- |
| `username` | string | логин WebUI |
| `password` | string | пароль WebUI |
Заголовки:
- `Referer: {baseUrl}` и `Origin: {baseUrl}` обязательны — иначе qB отклоняет
запрос. Хост и порт должны совпадать с `Host`.
- `Content-Type: application/x-www-form-urlencoded`.
Ответы:
| Код | Значение |
| --- | --- |
| `200` | до 5.2: успех/неудача в теле (`Ok.` / `Fails.`) |
| `204` | 5.2+: успех, тела нет |
| `401` | 5.2+: неверные учётные данные |
| `403` | IP забанен после N неудачных попыток |
Cookie: имя брать из `Set-Cookie` (`SID` или `QBT_SID_<port>`), не хардкодить.
Сессия живёт `web_ui_session_timeout` (по умолчанию 3600 с); при `401/403`
нужно один раз повторить логин и запрос.
API-ключ (WebAPI 2.17+): заголовок `Authorization: Bearer <key>`; логин не
нужен. В настройках qB ключ создаётся в «WebUI → API».
`POST /api/v2/auth/logout` — завершение сессии (использовать при смене
настроек/выходе).
### 3.3. Служебные методы
| Метод | Параметры | Ответ |
| --- | --- | --- |
| `GET /app/version` | — | строка, например `v5.0.3` |
| `GET /app/webapiVersion` | — | строка, например `2.11` |
| `GET /app/defaultSavePath` | — | путь по умолчанию |
| `GET /app/preferences` | — | объект; нужны `save_path`, `auto_tmm_enabled` |
| `POST /app/setPreferences` | `json` | не используется в этом этапе |
### 3.4. Категории
| Метод | Параметры | Ответ |
| --- | --- | --- |
| `GET /torrents/categories` | — | объект `{ "movies": { "name": "movies", "savePath": "D:/Media/Movies", "downloadPath": … } }` |
| `POST /torrents/createCategory` | `category`, `savePath` | `200` / `409` (уже есть) |
| `POST /torrents/editCategory` | `category`, `savePath` | `200` |
| `POST /torrents/removeCategories` | `categories` (по `\n`) | `200` |
`savePath` может быть пустым — тогда используется общий путь qB.
`downloadPath` в ответе может быть `null`.
В UI: выпадающий список из `GET /torrents/categories` + пункт «Без категории».
Под списком — подсказка с `savePath` выбранной категории. Создание категории
из Blink — опционально (фаза 4), с полем пути.
### 3.5. Добавление раздачи
`POST /api/v2/torrents/add` — **multipart/form-data** (обязательно; для магнита
тоже можно multipart с полем `urls`).
| Поле | Тип | Обязательное | Описание |
| --- | --- | --- | --- |
| `urls` | string | да для магнита | ссылки через `\n` (`magnet:`, `http(s)://…`) |
| `torrents` | file | да для файла | содержимое `.torrent`; поле можно повторять |
| `savepath` | string | нет | папка; при `autoTMM=true` игнорируется/переопределяется категорией |
| `category` | string | нет | имя категории |
| `tags` | string | нет | теги через запятую |
| `paused` | bool | нет | добавить на паузе |
| `autoTMM` | bool | нет | автоуправление категорией |
| `sequentialDownload` | bool | нет | последовательная загрузка |
| `firstLastPiecePrio` | bool | нет | приоритет первых/последних кусков |
| `skip_checking` | bool | нет | **удалён в WebAPI 2.16**; не отправлять при новых версиях |
| `root_folder` | bool | нет | создавать корневую папку |
| `rename` | string | нет | переименовать раздачу |
| `upLimit`, `dlLimit` | int | нет | лимиты, байт/с |
| `ratioLimit`, `seedingTimeLimit` | float/int | нет | лимиты раздачи |
Ответы:
| Код | Значение |
| --- | --- |
| `200` | успех (до 5.2 — все сценарии, тело `Ok.` / `Fails.`) |
| `202` | 5.2+: часть добавлена, часть в обработке (`pending_count > 0`) |
| `409` | 5.2+: ничего не добавлено (дубликаты/ошибки) |
| `415` | `.torrent` невалиден |
С WebAPI 2.14 тело ответа — JSON:
`{ "success_count": 1, "pending_count": 0, "failure_count": 0, "added_torrent_ids": ["…"] }`.
Для старых версий тело — текст; дубликат определяется по `Fails.` и/или
сравнением списка торрентов после добавления.
### 3.6. Список и прогресс
`GET /api/v2/torrents/info` — полный снимок.
Параметры: `filter` (`all`, `downloading`, `seeding`, `completed`, `stopped`,
`active`, `inactive`, `running`, `stalled`, `errored`), `category`, `tag`,
`sort`, `reverse`, `limit`, `offset`, `hashes` (через `|`).
Поля, которые нужны UI:
| Поле | Назначение |
| --- | --- |
| `hash` | ключ строки |
| `name` | название |
| `category` | категория |
| `size`, `completed`, `downloaded` | размер и прогресс |
| `progress` | 0..1 |
| `dlspeed`, `upspeed` | скорости, байт/с |
| `eta` | секунды (8640000 = бесконечно) |
| `state` | состояние (см. таблицу выше) |
| `save_path`, `content_path` | куда скачалось |
| `added_on`, `completion_on` | время |
| `ratio` | раздача |
| `num_seeds`, `num_leechs` | пиры |
| `error` | причина ошибки (WebAPI 2.17+) |
`GET /api/v2/sync/maindata?rid=N` — инкрементально, для опроса:
| Поле | Значение |
| --- | --- |
| `rid` | новый идентификатор; передавать в следующий запрос |
| `full_update` | `true` — заменить всё локальное состояние |
| `torrents` | изменения по хешам (те же поля, что в `torrents/info`) |
| `torrents_removed` | массив удалённых хешей |
| `categories` | новые/изменённые категории |
| `server_state` | общая скорость, свободное место и т.п. |
Алгоритм: хранить `rid` и `Map<hash, QbTorrent>`; при `full_update` очищать
Map; удалять `torrents_removed`; мержить `torrents`.
### 3.7. Управление
| Метод | Параметры | Примечание |
| --- | --- | --- |
| `POST /torrents/pause` | `hashes` (`all` или `a\|b`) | в 5.x остаётся |
| `POST /torrents/resume` | `hashes` | |
| `POST /torrents/delete` | `hashes`, `deleteFiles=true/false` | удаление с файлами — подтверждение |
| `POST /torrents/setCategory` | `hashes`, `category` | смена категории на лету |
| `GET /transfer/info` | — | глобальная скорость (для шапки) |
### 3.8. Ошибки и их разбор
| Ситуация | Признак | Что показать |
| --- | --- | --- |
| qB недоступен | connect timeout / connection refused | «qBittorrent недоступен» + адрес |
| Неверный логин | `401` / `Fails.` | «Проверьте логин и пароль» |
| Бан IP | `403` на логине | «qB заблокировал IP, подождите» |
| Нет категории | `409` при createCategory | «Категория уже существует» |
| Дубликат | `409` / `Fails.` | «Раздача уже добавлена» |
| Битый .torrent | `415` | «Файл не является торрентом» |
| Сессия истекла | `403` на обычном запросе | повторный логин один раз |
| Self-signed TLS | ошибка сертификата | подсказка включить «Разрешить самоподписанный TLS» |
## 4. Архитектура в Blink
### 4.1. Rust-бэкенд (почему не fetch из webview)
qBittorrent WebUI **не отдаёт CORS-заголовки**, а также требует совпадения
`Referer`/`Host`. Поэтому запросы делает Rust через `reqwest` с cookie-jar.
Webview вызывает только Tauri-команды.
Новый модуль: `src-tauri/src/qbittorrent/mod.rs` (+ `client.rs`, `types.rs`,
`commands.rs`). Зависимости в `Cargo.toml`:
- `reqwest` с `cookies`, `json`, `multipart`, `rustls-tls` (без OpenSSL — важно
для Linux-пакетов);
- `keyring` 3 с платформенными бэкендами (`windows-native`, `apple-native`,
`sync-secret-service`);
- `thiserror`/`serde` — уже есть в проекте;
- `tokio` — уже есть через Tauri.
Состояние: `QbState { client: Mutex<Option<Client>>, config_hash }` — клиент
пересоздаётся при изменении настроек.
Команды:
| Команда | Вход | Выход |
| --- | --- | --- |
| `qb_test_connection` | `{ baseUrl, auth }` | `{ appVersion, apiVersion, defaultSavePath }` |
| `qb_categories` | — | `QbCategory[]` |
| `qb_create_category` | `{ name, savePath }` | `()` |
| `qb_add_magnet` | `{ magnet, category?, paused?, autoTMM? }` | `QbAddResult` |
| `qb_add_torrent_file` | `{ fileName, bytesBase64, category?, … }` | `QbAddResult` |
| `qb_torrents` | — | `QbTorrent[]` (полный снимок) |
| `qb_sync` | `{ rid }` | `QbSyncResponse` (diff) |
| `qb_pause` / `qb_resume` | `{ hashes }` | `()` |
| `qb_delete` | `{ hashes, deleteFiles }` | `()` |
| `qb_set_category` | `{ hashes, category }` | `()` |
Типы (TS/Rust):
```ts
type QbCategory = { name: string; savePath: string };
type QbTorrent = {
hash: string; name: string; category: string;
size: number; completed: number; progress: number;
dlspeed: number; upspeed: number; eta: number;
state: string; savePath: string; addedOn: number;
ratio: number; numSeeds: number; numLeeches: number;
error?: string;
};
type QbAddResult = {
status: "added" | "pending" | "duplicate" | "invalid";
addedHashes: string[];
message?: string;
};
```
Ошибки: единый `QbError { kind: "unreachable" | "auth" | "banned" | "api" |
"torrent" | "duplicate" | "tls" | "http"; message: string; status?: number }`.
Таймауты: connect 5 с, чтение 15 с; добавление файла — 60 с.
### 4.2. Хранение настроек и секретов (все ОС)
- Не секреты (`baseUrl`, категория по умолчанию, флаги, таймаут) — через
`tauri-plugin-store` (как `.user.dat`), файл `qbittorrent.json` в app-data
каталоге ОС (Windows `%APPDATA%`, macOS `~/Library/Application Support`,
Linux `~/.local/share`).
- Пароль и API-ключ — через `keyring` 3 в системное хранилище:
- **Windows** — Credential Manager (DPAPI);
- **macOS** — Keychain (при первом обращении система покажет свой запрос —
это нормально);
- **Linux** — Secret Service через DBus (GNOME Keyring / KWallet).
`service = "blink-qbittorrent"`, `user = baseUrl`.
- **Linux без Secret Service** (сервер, минимальный дистрибутив, нет
keyring-демона): `keyring` вернёт ошибку. Приложение **не** пишет пароль в
открытый файл. По умолчанию пароль запрашивается при запуске (session-only).
Опционально, с явным предупреждением, — шифрованный vault (age/scrypt) в
app-data; решение принять на этапе 1.
- В store хранится только флаг «секрет сохранён» и способ входа.
- Никогда не логировать пароль, cookie и `Authorization`.
### 4.3. Фронтенд
Новые файлы (ориентировочно):
- `src/routes/_api/downloads.tsx` и `downloads.scss` — страница списка.
- `src/components/downloads/addTorrentDialog.tsx` — магнит/файл + категория.
- `src/components/downloads/torrentRow.tsx` — строка списка.
- `src/components/downloads/downloadsEmpty.tsx`.
- `src/utils/store/qbittorrent.ts` — настройки и локальный список добавленных
хешей (zustand + tauri store).
- `src/utils/queries/qbittorrent.ts` — React Query хуки.
- Настройки: секция в `src/routes/_api/settings/preferences.tsx` или отдельный
маршрут `settings/downloads.tsx`.
Доступ к странице: иконка `download` в верхней панели и пункт в боковом меню
(рядом с «Пультом»).
Опрос: React Query с `refetchInterval: 2000`, `refetchIntervalInBackground:
false`; внутри — `qb_sync` с `rid`, а не полный `torrents/info`.
Мутации инвалидируют запрос и показывают тост.
### 4.4. Локальная память добавленного
qB не хранит «кто добавил». Чтобы показать «Добавленные из Blink»:
- после успешного `qb_add_*` сохранить хеши в store;
- для старых qB (без `added_torrent_ids`) — найти торрент по имени/магниту
после первого sync и сохранить его хеш;
- список хешей чистить при удалении и по кнопке «Забыть».
Альтернатива (проще): показывать все торренты qB — это и есть «статус каждой
добавленной позиции», а фильтр «из Blink» сделать опционально в фазе 5.
### 4.5. Кроссплатформенность
Функционал обязан работать на **Windows, macOS и Linux**. qBittorrent при этом
может быть установлен на любой ОС и даже на другой машине — Blink общается с
ним только по HTTP(S).
| Слой | Требование |
| --- | --- |
| HTTP/TLS | `reqwest` + `rustls`, без OpenSSL; поддержка IPv4/IPv6/localhost; флаг «самоподписанный сертификат» |
| Секреты | `keyring` (Credential Manager / Keychain / Secret Service); при недоступности — session-only, без plaintext |
| Пути | `savePath`/`contentPath` из qB — непрозрачные строки в ОС **сервера qB**; показывать как есть, не склеивать с локальными путями и не проверять их существование |
| Файлы | нативный диалог `tauri-plugin-dialog` с фильтром `.torrent`; без shell-команд `open`/`explorer` |
| Уведомления | `tauri-plugin-notification`; на macOS запросить разрешение, на Linux — libnotify (если нет — тихо пропустить) |
| Заголовок окна | страница использует общий titlebar приложения: macOS — отступ под traffic lights, Windows/Linux — штатные кнопки окна; своих кнопок не рисовать |
| Адаптивность | следовать мобильным правилам из `feat(mobile)`: ≤900 px — одна колонка, ≤640 px — компактные строки, крупные touch-цели |
| Хранение | `tauri-plugin-store` в app-data каждой ОС; никаких путей, зашитых под Windows |
| Сборка | Windows NSIS/MSI, macOS dmg/app (arm64 и x86_64), Linux AppImage/deb; без новых системных зависимостей, кроме Secret Service на Linux |
Отдельно: категория в qB может иметь путь вида `D:/Media/Movies` (Windows) или
`/mnt/media/movies` (Linux) — это путь на машине qB. UI только показывает его
и при создании категории подсказывает, что путь вводится для сервера qB.
## 5. Макеты экранов
### 5.1. Страница «Загрузки»
```
┌──────────────────────────────────────────────────────────────┐
│ Загрузки [Обновить] [+ Добавить] │
│ ▼ 12 ГБ/с ▲ 3 ГБ/с Свободно: 120 ГБ │
├──────────────────────────────────────────────────────────────┤
│ [Все] [Скачиваются] [Завершённые] [Из Blink] │
│ │
│ 🎬 Interstellar.2014.1080p Скачивается │
│ movies · 8.4 ГБ из 14 ГБ · 72% · 6.2 МБ/с · 18 мин │
│ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░ [⏸] [🗑] │
│ │
│ 📺 Series.S01.1080p Завершено │
│ series · 22 ГБ · 100% · раздаётся 1.4× [⏸] [🗑] │
└──────────────────────────────────────────────────────────────┘
```
### 5.2. Диалог «Добавить»
- Табы: **Магнит** | **Файл**.
- Магнит: textarea, вставка из буфера, валидация `magnet:?xt=urn:btih:`.
- Файл: кнопка выбора `.torrent`, имя файла, размер.
- Категория: select из qB + «Без категории»; подсказка `savePath`.
- Дополнительно (свернуть): «на паузе», «autoTMM», «последовательная
загрузка».
- Кнопки: «Отмена», «Добавить».
### 5.3. Пустые и ошибочные состояния
- Не настроено подключение → карточка «Подключите qBittorrent» + кнопка в
настройки.
- qB недоступен → «qBittorrent не отвечает» + «Повторить».
- Нет раздач → «Пока ничего не скачивается» + «Добавить раздачу».
### 5.4. Адаптивность
- ≥1200 px: список во всю ширину, панель итогов сверху.
- 900–1200 px: те же строки, меньше второстепенных данных (сиды/раздача
скрываются в «…»).
- ≤900 px: одна колонка, диалог добавления на всю ширину, действия строки —
иконки в ряд.
- ≤640 px: компактные строки в две линии (имя + состояние; прогресс + размер),
крупные touch-цели ≥40 px, фильтры — горизонтальный скролл.
- Учитывать titlebar каждой ОС: на macOS — отступ под traffic lights, на
Windows/Linux — место под кнопки окна (общий заголовок приложения, не свой).
Правила — как в мобильном коммите `2e099ec`.
## 6. Полинг и производительность
- Пока страница открыта — `sync/maindata` каждые 2 с; при скрытом окне — стоп.
- После действия (добавление/пауза) — внеочередной sync через 300 мс.
- Ошибки сети — экспоненциальный backoff до 15 с, без спама тостами.
- Полный снимок `torrents/info` — только при первом открытии и `full_update`.
- Не держать больше одного запроса в полёте; отменять предыдущий при уходе
со страницы.
## 7. Краевые случаи
1. **Дубликат**: `409`/`Fails.` → не ошибка, а «Уже добавлено»; подсветить
существующую строку.
2. **Категория удалена в qB**, пока Blink открыт → при добавлении `409`;
обновить категории и предложить другую.
3. **Категория без savePath** и `autoTMM=false` → скачается в общий путь;
показать предупреждение.
4. **magnet без `dn`** — имя появится после метаданных; строка «Получение
метаданных».
5. **qB 4.x**: нет JSON-ответа на add, cookie `SID`, `skip_checking` допустим.
6. **qB 5.2+**: `202` значит «в процессе»; `409` — отказ; `skip_checking`
убран с 2.16.
7. **HTTPS self-signed**: отдельный флаг «Разрешить самоподписанный TLS»;
по умолчанию выключен.
8. **Пароль изменён в qB** → `401`; сбросить сессию, показать настройки.
9. **Удаление с файлами** — только после подтверждения; по умолчанию
`deleteFiles=false`.
10. **Большой .torrent** — ограничить 10 МБ, ошибка до отправки.
11. **Переименование/перемещение** торрента в qB — статус `moving`;
UI не ломается.
12. **Остановка qB** — статус «недоступен», список сохраняется до следующего
успешного sync.
## 8. Безопасность
- Пароль/ключ — только в системном keyring (Windows/macOS/Linux) или
session-only; в конфиге и логах их нет, plaintext-файла нет.
- qB WebUI не должен быть открыт в интернет; интеграция рассчитана на LAN/VPN.
- TLS: предпочтителен `https`; самоподписанный сертификат — осознанный флаг.
- В логах — метод, URL без query-секретов, код ответа; без тел с кредами.
- Никаких прямых запросов из webview (обходим CORS и Referer-проверку в Rust).
- Учётные данные не передаются в Jellyfin и обратно.
## 9. Jellyfin: обновление библиотеки (опционально)
После перехода торрента в `pausedUP`/`stoppedUP` (или `progress === 1`):
- `POST {jellyfin}/Library/Refresh` с токеном текущего пользователя
(`Authorization: MediaBrowser Token="…"`);
- только если пользователь админ (иначе `403`) — показать подсказку;
- дебаунс: не чаще одного раза в 30 с;
- альтернатива без кода: qB «Run external program on torrent finished» с
`curl` на Jellyfin — описать в документации.
## 10. Тестирование
### Rust
- Юнит-тесты клиента на mock-сервере (`wiremock`): логин, категории, add
(магнит и файл), 202/409/415, sync-diff, истёкшая сессия.
- Тест сборки multipart для файла.
- Тест парсинга состояний и ETA.
### UI
- Пустое состояние, ошибка подключения, успешное добавление, дубликат.
- Список: скачивание, пауза, завершение, ошибка, удаление.
- Смена категории и удаление с файлами (подтверждение).
- Опрос останавливается при скрытом окне.
### Ручной чек-лист
- qB 4.6 и qB 5.x (если доступны);
- магнит и .torrent;
- категория с путём и без;
- неверный пароль, остановленный qB, self-signed HTTPS;
- перезапуск Blink при активной загрузке.
### Кроссплатформенная матрица
| Проверка | Windows 10/11 | macOS (arm64) | Linux (AppImage/deb) |
| --- | --- | --- | --- |
| Логин и категории | + | + | + |
| Добавление магнита | + | + | + |
| Добавление `.torrent` через диалог | + | + | + |
| Список, прогресс, действия | + | + | + |
| Сохранение пароля в keyring | Credential Manager | Keychain | Secret Service |
| Работа без keyring (Linux) | — | — | пароль спрашивается при запуске |
| Self-signed HTTPS | + | + | + |
| Уведомление о завершении | + | + (разрешение) | + (libnotify) |
| Мобильная ширина окна | + | + | + |
Проверять минимум одну сборку на каждой ОС; Linux — GNOME и KDE (Secret
Service), а также окружение без keyring-демона.
## 11. Этапы
| Этап | Что входит | Результат |
| --- | --- | --- |
| 1. Rust-клиент | login, версия, категории, тест соединения, ошибки | настройки сохраняются, «Проверить» работает |
| 2. Добавление магнита | диалог, категории, `torrents/add`, тосты | магнит добавляется, дубликат обрабатывается |
| 3. Список и статус | страница, sync-поллинг, строки, действия | прогресс/скорость/ETA по каждой позиции |
| 4. Файл и опции | `.torrent` через диалог, пауза/autoTMM/sequential, создание категории | полный сценарий из ТЗ |
| 5. Полировка | уведомления о завершении, Jellyfin refresh, фильтр «из Blink» | готово к использованию |
| 6. Тесты | mock-сервер, ручной чек-лист, совместимость | приёмка |
Оценка после получения нового кода: этап 1 — 0.5–1 день (включая keyring на
трёх ОС и fallback), этап 2 — 1 день, этап 3 — 1–1.5 дня, этап 4 — 0.5–1 день,
этап 5–6 — 1–1.5 дня (сборка и проверка на Windows/macOS/Linux). Итого ~5–6
рабочих дней без учёта незнакомых изменений в новом коде.
## 12. Критерии приёмки
1. Магнит добавляется в qB с выбранной категорией; категория видна в qB.
2. `.torrent` добавляется тем же способом.
3. Дубликат не создаёт вторую раздачу и понятно объясняется.
4. На странице загрузок у каждой позиции есть имя, категория, размер,
прогресс, скорость, ETA и состояние.
5. Пауза/продолжить/удаление работают и отражаются в qB.
6. Ошибки qB (недоступен, неверный пароль, бан) показываются человеческим
текстом.
7. Пароль не хранится в открытом виде.
8. Опрос не нагружает qB при скрытом окне.
9. Работает на Windows, macOS и Linux; на Linux без keyring-демона пароль
запрашивается при запуске, plaintext-файла не появляется.
10. Страница корректна на мобильной ширине и не конфликтует с кнопками окна
каждой ОС.
## 13. Открытые вопросы
- Показывать все торренты qB или только добавленные из Blink? (план:
все + фильтр).
- Нужны ли уведомления о завершении в системный трей?
- Нужен ли автозапуск Jellyfin-скана или достаточно real-time monitoring?
- Создавать категории из Blink или только выбирать существующие?
- Поддержка API-ключа qB 5.3+ — включать сразу или во втором релизе?
- Linux без Secret Service: session-only по умолчанию (план) или шифрованный
vault с паролем-мастером?
## 14. Ссылки
- [qBittorrent WebUI API 4.1](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1))
- [qBittorrent WebUI API 5.0](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-5.0))
- [WebAPI changelog](https://github.com/qbittorrent/qBittorrent/blob/master/WebAPI_Changelog.md)
- [qBittorrent: Run external program](https://github.com/qbittorrent/qBittorrent/wiki/How-to-use-the-external-program-feature)
- [Tauri store plugin](https://v2.tauri.app/plugin/store/)
- [Tauri dialog plugin](https://v2.tauri.app/plugin/dialog/)
-79
View File
@@ -1,79 +0,0 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<!-- <script src="http://localhost:8097"></script> -->
<title>Blink</title>
<style>
html,
body {
background: #08001f;
margin: 0;
}
.app-loading {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 100000;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
transition: opacity 0.2s ease;
}
.app-loading.hidden {
opacity: 0;
}
.app-loading-logo {
display: block;
width: min(230px, 62vw);
height: auto;
filter: drop-shadow(0 10px 30px rgb(0 0 0 / 0.35));
animation: splashPulse 1.4s ease-in-out infinite;
}
@keyframes splashPulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.62;
}
}
@media (prefers-reduced-motion: reduce) {
.app-loading-logo {
animation: none;
}
}
</style>
</head>
<body>
<div class="app-loading" role="status" aria-label="Загрузка Blink">
<img
class="app-loading-logo"
src="data:image/png;base64,iVBORw0KGgo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bTyKx2iZ+qjyZYUsl41cayPIlnLUJHbgvGjrDgNyl9ND6Fwn3KQrtg9mJ/1Gujtm3wa9n7mUVibb0LT+aEFRPxieYA2vgoarWis1XW08VeMMVPBFSX4W0/0Pof1N6bygGEmGodeB88whKyF+oiTfWoTCnas5bSW7UmvwSd52vi+Z7m0xZ4kY1En3NPaEPO5eyDECrvT3dWwKWF5s3ppRMBchoKreRVuXOhknqbjG1+2v4Id+r68lmvpNwQdiE2F/KcO2K52tLux0Rdg7xuemArOoUire7QZx+cfyYTSKeIG9gBtXHNIGqGwpFcBa9uilLYHf4y37vV/Aua5ljXUCouGoZn6y+ClWuX1vH4DwSa3bd8eOmq4R8M+VjQOoCzfYbrPSpEEnGOoi8cS0mNSZ3tA3xuz3tNxFm3JdTFDZ3iZoDkQ/hy2pFDDLolOR3H90+YLLA2ow9ImsbkShRckEf0urdM562mmNc8Inwb+JKsSCeUfJ816RVpBajGq0cgD1Lm+N6Yd9Zakb1/N0UhmHunt7vnvgZFaFmlJZ1uCpcD6A3l+mCKfb5aD6B3o9bCQRAOeDcU2MVbu+Cx4+OtTyl+YBSOh7Aek7Qh2HO5JcE6HJ+2AfTMZ2ziCtvS6MWY54Agak8LWmyWeytN69N8XDklX5WmPjyLine truncated
alt="Blink"
width="383"
height="170"
/>
</div>
<div id="root"></div>
<svg style="width: 0; height: 0; position: absolute" aria-hidden="true" focusable="false">
<linearGradient id="clr-gradient-default" x2="1" y2="1">
<stop offset="0%" stop-color="hsl(337, 96%, 56%)" />
<stop offset="100%" stop-color="hsl(273, 100%, 36%)" />
</linearGradient>
</svg>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
-19
View File
@@ -1,19 +0,0 @@
{
"version": "0.0.7-dev",
"notes": "![Banner](https://i.imgur.com/rnhjwsl.png)\n- chore(deps): update dependencies\n- refactor: change UI of login/list and fix Api not being defined in context\n- fix: player/audio route not able to interact with audioPlayer\n- fix: audio player info not visible\n- fix: audio player not playing audio\n- fix: toggling ssubtitles not working\n- fix: subtitles not being rendered #401\n- fix: hero carousel indicators not scrolling\n- fix: vite build error for safari13\n- fix: blink not launching or rendering on opening\n- Merge branch 'main' of https://github.com/prayag17/JellyPlayer\n- chore(deps): update dependencies\n- Merge pull request #410 from prayag17/renovate/tauri-plugin-notification-2.x-lockfile\n- Merge pull request #409 from Blackspirits/patch-1\n- chore(deps): update dependencies\n- fix(deps): update rust crate tauri-plugin-notification to v2.0.1\n- feat: allow downloading images from ImageViewer\n- Update index.tsx\n- feat: implement basic image viewer #338 #240\n- fix: react infinite depth error\n- fix: vite config\n- refactor: remove @million/js and @million/lint\n- refactor: remove Cargo.lock from .gitignore #400\n- chore(deps): update dependencies\n- refactor: code cleanup\n- fix: bug_report showing extra fields\n- refactor: remove redundant calls for getCurrentUser\n- feat: show queue item from currently playing item in queueButton\n- chore(deps): update dependencies\n- feat: remember library filters #192\n- Merge pull request #370 from prayag17/renovate/tauri-apps-plugin-clipboard-manager-2.x\n- fix(deps): update dependency @tauri-apps/plugin-clipboard-manager to v2.1.0-beta.6\n- Merge pull request #381 from prayag17/renovate/wavesurfer.js-7.x-lockfile\n- Merge pull request #342 from prayag17/renovate/tanstack-router-monorepo\n- Merge pull request #368 from prayag17/renovate/tauri-monorepo\n- chore(release): update latest.json",
"pub_date": "2024-11-20T07:04:53.965Z",
"platforms": {
"darwin-aarch64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVSNkxEL1dFMElZL2RHaC9wc3VMQzJxeFRYaHVVN0xEZW91WWgwZkluYkYrdW5hUWl2UFlSeEUyRk93dm13WUdmQVZETWhmNW9MZ2lPUFdOdERzbGFibkpPNHJWMU1BYlFrPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzMyMDg1ODYyCWZpbGU6QmxpbmsuYXBwLnRhci5negpjK0VIaW9oVzlrUU92UWZudzcvRGlZNExwM0NOdmpHVGd1QUc2WWZ0bnRkU2NsWkdqQUJrR01ucVVRTktvR0RaV0l0L09KQ2luZHNUdjMvTGVlM2RCUT09Cg==",
"url": "https://github.com/prayag17/Blink/releases/download/v0.0.7-dev/Blink_aarch64.app.tar.gz"
},
"linux-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVSNkxEL1dFMElZL1hKZGoxZFUvZzl5SmNnUEFRTGQ2TmFNMlphK25lTU9MTjJEM0JYQWt0Sy91Um9yRmk4QTl6dEtUSmRuRmFNODRwajJ2YW4rTGJzYVZjcmhFb1IxZkFnPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzMyMDg2MTQxCWZpbGU6QmxpbmtfMC4wLjctZGV2X2FtZDY0LkFwcEltYWdlCndKZURUdjF0bkNna1VCVDNEMFNodEZBZGkzZFBKVWx2cThSNE5najBmd2U5Rzh5SDFIbUxqRHlKOWdxMnY2QU9NdTRiQmtWY2VVaVlhNjRrNDVHMUFRPT0K",
"url": "https://github.com/prayag17/Blink/releases/download/v0.0.7-dev/Blink_0.0.7-dev_amd64.AppImage"
},
"windows-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVSNkxEL1dFMElZL1MwRVJ0UXBUUEYvd01JbXhBalFwQ0w5bEdkZkdlblZNeW1EMXQxajhYeVd0cERWcnhWOWFOaXV4Q0hDU1VRTEhabXF1ekFIbzB0KzRmL0pxdEIzMEFrPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzMyMDg2Mjg5CWZpbGU6QmxpbmtfMC4wLjctZGV2X3g2NC1zZXR1cC5uc2lzLnppcApJMmRORUFhV3NKV3BCTTliQkIwcWtSZStKTzEwY002QndCWmxKb0ZRd2p2K0cvek90dmdsbmQ0MHhNOVJsWnE3Y29qQmNDckdxdUNabWpTWjJ3d0xBUT09Cg==",
"url": "https://github.com/prayag17/Blink/releases/download/v0.0.7-dev/Blink_0.0.7-dev_x64-setup.nsis.zip"
}
}
}
+5293
View File
File diff suppressed because it is too large. Load diff
+71 -99
View File
@@ -1,101 +1,73 @@
{
"name": "blink",
"private": true,
"version": "1.0.0-alpha.4",
"type": "module",
"scripts": {
"dev": "vite && tsr watch",
"build": "vite build",
"preview": "vite preview",
"tauri": "tauri",
"tauri:dev:mcp": "tauri dev -c src-tauri/tauri.mcp.conf.json -- --features mcp-bridge",
"lint": "biome check src/**/*",
"lint:fix": "biome check --apply src/**/*",
"tanstack-router-dev": "tsr watch"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@fontsource-variable/caveat": "^5.3.0",
"@fontsource-variable/jetbrains-mono": "^5.3.0",
"@fontsource-variable/noto-sans": "^5.3.0",
"@fontsource-variable/plus-jakarta-sans": "^5.3.0",
"@fontsource-variable/space-grotesk": "^5.3.0",
"@jellyfin/sdk": "1.0.1",
"@mui/lab": "9.0.0-beta.10",
"@mui/material": "9.5.0",
"@popperjs/core": "^2.11.8",
"@react-spring/web": "^10.1.2",
"@tanem/react-nprogress": "^7.1.7",
"@tanstack/react-form": "^1.33.5",
"@tanstack/react-query": "^5.104.4",
"@tanstack/react-router": "^1.170.45",
"@tanstack/react-virtual": "^3.14.21",
"@tauri-apps/api": "2.12.4",
"@tauri-apps/plugin-clipboard-manager": "2.5.0",
"@tauri-apps/plugin-deep-link": "2.6.3",
"@tauri-apps/plugin-dialog": "2.8.3",
"@tauri-apps/plugin-global-shortcut": "~2.4.1",
"@tauri-apps/plugin-notification": "2.7.0",
"@tauri-apps/plugin-process": "2.4.0",
"@tauri-apps/plugin-shell": "~2.5.0",
"@tauri-apps/plugin-store": "github:tauri-apps/tauri-plugin-store#v2",
"@tauri-apps/plugin-updater": "2.14.0",
"@tauri-apps/plugin-upload": "2.5.0",
"@tauri-apps/plugin-websocket": "2.5.0",
"@tauri-apps/plugin-window-state": "~2.5.0",
"@types/node": "^26.6.5",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"axios": "^1.20.0",
"axios-tauri-api-adapter": "^2.0.6",
"blurhash": "^2.0.5",
"blurhash-wasm": "^0.2.0",
"immer": "^11.1.21",
"jassub": "^2.5.22",
"libpgs": "^0.9.0",
"lodash": "^4.18.1",
"material-symbols": "^0.48.0",
"motion": "^14.4.0",
"notistack": "^3.0.2",
"qrcode": "^1.5.4",
"react": "^19.3.1",
"react-blurhash": "^0.3.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^19.3.1",
"react-error-boundary": "^6.1.6",
"react-intersection-observer": "^11.0.1",
"react-markdown": "^10.1.0",
"react-multi-carousel": "^2.8.6",
"react-player": "^3.4.0",
"remark-gfm": "^4.0.1",
"typescript": "^7.0.2",
"vite-plugin-svgr": "^5.2.0",
"vite-plugin-top-level-await": "^1.6.0",
"wavesurfer.js": "^8.0.3",
"zod": "^4.6.7",
"zustand": "5.0.15"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining-assign": "^8.0.1",
"@biomejs/biome": "^2.5.15",
"@tanstack/router-cli": "^1.167.45",
"@tanstack/router-vite-plugin": "^1.167.47",
"@tauri-apps/cli": "2.12.3",
"@types/lodash": "^4.17.26",
"@types/qrcode": "^1.5.6",
"@vitejs/plugin-react": "^6.1.2",
"babel-plugin-react-compiler": "19.1.0-rc.3",
"eslint-plugin-react-hooks": "7.1.1",
"prop-types": "^15.8.1",
"sass": "^1.105.2",
"vite": "^8.3.4",
"vite-plugin-wasm": "^3.6.0"
},
"license": "GPL-3.0-only"
"name": "jellyplayer",
"productName": "jellyplayer",
"version": "1.0.0",
"description": "Modern Jellyfin Client",
"main": "./src/index.js",
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish",
"lint": "echo \"No linting configured\""
},
"keywords": [],
"author": {
"name": "Prayag",
"email": "prayagprajapati.17@gmail.com"
},
"license": "MIT",
"config": {
"forge": {
"packagerConfig": {
"icon": "./src/assets/icon.ico"
},
"makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "jellyplayer"
}
},
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-deb",
"config": {}
},
{
"name": "@electron-forge/maker-rpm",
"config": {}
}
]
}
},
"dependencies": {
"@rive-app/webgl": "^1.0.23",
"@thornbill/jellyfin-sdk": "^0.4.1",
"electron-squirrel-startup": "^1.0.0",
"electron-store": "^8.0.1",
"events": "^3.3.0",
"got": "^11.8.3",
"got-fetch": "^4.0.3",
"jquery.scrollto": "^2.1.3"
},
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.63",
"@electron-forge/maker-deb": "^6.0.0-beta.63",
"@electron-forge/maker-rpm": "^6.0.0-beta.63",
"@electron-forge/maker-squirrel": "^6.0.0-beta.63",
"@electron-forge/maker-zip": "^6.0.0-beta.63",
"electron": "^17.1.2",
"electron-packager": "^15.4.0",
"eslint": "^8.11.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.5.1"
}
}
-6395
View File
File diff suppressed because it is too large. Load diff
-5
View File
@@ -1,5 +0,0 @@
allowBuilds:
'@parcel/watcher': true
'@swc/core': true
core-js: true
lfa-ponyfill: true
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 519 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

-22
View File
@@ -1,22 +0,0 @@
<svg width="1302" height="522" viewBox="0 0 1302 522" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect width="1301.68" height="522" fill="white"/>
<rect width="322" height="322" transform="translate(100 100)" fill="white"/>
<mask id="mask0_1155_288" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="121" y="180" width="140" height="162">
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.939 261L121.509 180.5V341.5L260.939 261Z" fill="#D9D9D9"/>
</mask>
<g mask="url(#mask0_1155_288)">
<rect x="90.6289" y="180.5" width="170.37" height="161" fill="url(#pattern0_1155_288)"/>
</g>
<path d="M400.369 180.5L260.939 100L121.509 180.5L260.939 261L121.509 341.5L260.939 422L400.369 341.5V180.5Z" fill="#222222"/>
<path d="M694.794 368.28V161.366H729.652V368.28H694.794Z" fill="#222222"/>
<path d="M775.402 368.28V219.369H810.26V368.28H775.402ZM792.97 194.829C786.464 194.829 781.072 192.784 776.796 188.694C772.707 184.604 770.662 179.678 770.662 173.914C770.662 167.965 772.707 163.039 776.796 159.135C781.072 155.045 786.464 153 792.97 153C799.477 153 804.775 154.952 808.865 158.856C813.141 162.574 815.279 167.315 815.279 173.078C815.279 179.213 813.234 184.418 809.144 188.694C805.054 192.784 799.663 194.829 792.97 194.829Z" fill="#222222"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M486 368.28V173.078H577.466C600.89 173.078 618.737 177.726 631.007 187.021C643.277 196.13 649.412 208.4 649.412 223.83C649.412 234.241 646.995 243.165 642.162 250.601C637.625 257.407 631.613 262.82 624.128 266.841C626.493 267.616 628.786 268.524 631.007 269.563C639.745 273.468 646.623 279.231 651.643 286.853C656.848 294.475 659.451 303.956 659.451 315.297C659.451 332.028 653.037 345.042 640.21 354.337C627.382 363.632 608.327 368.28 583.043 368.28H486ZM580.812 339.836H522.252V283.506H580.812C594.384 283.506 604.794 285.83 612.045 290.478C619.295 294.94 622.92 302.004 622.92 311.671C622.92 321.524 619.295 328.682 612.045 333.144C604.794 337.605 594.384 339.836 580.812 339.836ZM602.563 248.649C595.871 253.111 586.204 255.342 573.562 255.342H522.252V201.522H573.562C586.204 201.522 595.871 203.753 602.563 208.214C609.442 212.676 612.881 219.462 612.881 228.571C612.881 237.495 609.442 244.187 602.563 248.649Z" fill="#222222"/>
<path d="M940.505 217.696C952.403 217.696 962.999 220.019 972.295 224.667C981.776 229.315 989.212 236.472 994.604 246.139C999.995 255.62 1002.69 267.89 1002.69 282.949V368.28H967.833V287.411C967.833 274.211 964.673 264.358 958.352 257.851C952.217 251.345 943.572 248.091 932.418 248.091C924.238 248.091 916.988 249.764 910.667 253.111C904.346 256.457 899.419 261.477 895.887 268.169C892.541 274.676 890.868 282.949 890.868 292.988V368.28H856.01V219.369H889.194V238.664C893.72 233.268 899.297 228.881 905.926 225.504C915.965 220.298 927.491 217.696 940.505 217.696Z" fill="#222222"/>
<path d="M1153.99 219.369H1195.82L1133.68 281.767L1201.68 368.28H1159.29L1107.69 304.511L1081.77 329.03V368.28H1046.91V161.366H1081.77V286.157L1153.99 219.369Z" fill="#222222"/>
<defs>
<pattern id="pattern0_1155_288" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_1155_288" transform="matrix(0.000572484 0 0 0.000580984 -0.735848 -0.442641)"/>
</pattern>
<image id="image0_1155_288" width="4096" height="4096" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEAAAABAACAYAAADyoyQXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUALN16SURBVHgB7H1ZluM4zyzwnd7XXdPd/wP/qpRlThgCHGQ5SzjdWTIBBAIgSNuyJfP/o/+f6I8wZWHrX7ZtJHsE++d4AHuUi8XJso/nycu4mHplzIujYrGjp7lY0ry7+GT3ix2LQz6df8BP1A3ErY4X+If4BvwhLI5zt/3Z95HwWyUaX3rMQXsvFo9jeXjTWM3gEjwHc9nYVAy+IEZgjCd8jTFxnH2fy3R34lIMro5n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MQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

-22
View File
@@ -1,22 +0,0 @@
<svg width="1302" height="522" viewBox="0 0 1302 522" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect width="1302" height="522" fill="#222222"/>
<rect width="322" height="322" transform="translate(100 100)" fill="#222222"/>
<mask id="mask0_1178_275" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="121" y="180" width="140" height="162">
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.939 261L121.509 180.5V341.5L260.939 261Z" fill="#D9D9D9"/>
</mask>
<g mask="url(#mask0_1178_275)">
<rect x="90.6289" y="180.5" width="170.37" height="161" fill="url(#pattern0_1178_275)"/>
</g>
<path d="M400.369 180.5L260.939 100L121.509 180.5L260.939 261L121.509 341.5L260.939 422L400.369 341.5V180.5Z" fill="white"/>
<path d="M694.794 368.64V161.726H729.652V368.64H694.794Z" fill="white"/>
<path d="M775.402 368.64V219.729H810.26V368.64H775.402ZM792.97 195.189C786.464 195.189 781.072 193.144 776.796 189.054C772.707 184.964 770.662 180.037 770.662 174.274C770.662 168.325 772.707 163.399 776.796 159.495C781.072 155.405 786.464 153.36 792.97 153.36C799.477 153.36 804.775 155.312 808.865 159.216C813.141 162.934 815.279 167.675 815.279 173.438C815.279 179.573 813.234 184.778 809.144 189.054C805.054 193.144 799.663 195.189 792.97 195.189Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M486 368.64V173.438H577.466C600.89 173.438 618.737 178.085 631.007 187.381C643.277 196.49 649.412 208.76 649.412 224.19C649.412 234.601 646.995 243.525 642.162 250.961C637.625 257.766 631.613 263.18 624.128 267.201C626.493 267.976 628.786 268.884 631.007 269.923C639.745 273.827 646.623 279.59 651.643 287.213C656.848 294.835 659.451 304.316 659.451 315.656C659.451 332.388 653.037 345.401 640.21 354.697C627.382 363.992 608.327 368.64 583.043 368.64H486ZM580.812 340.196H522.252V283.866H580.812C594.384 283.866 604.794 286.19 612.045 290.838C619.295 295.3 622.92 302.364 622.92 312.031C622.92 321.884 619.295 329.042 612.045 333.503C604.794 337.965 594.384 340.196 580.812 340.196ZM602.563 249.009C595.871 253.471 586.204 255.701 573.562 255.701H522.252V201.881H573.562C586.204 201.881 595.871 204.112 602.563 208.574C609.442 213.036 612.881 219.821 612.881 228.931C612.881 237.854 609.442 244.547 602.563 249.009Z" fill="white"/>
<path d="M940.505 218.055C952.403 218.055 962.999 220.379 972.295 225.027C981.776 229.675 989.212 236.832 994.604 246.499C999.995 255.98 1002.69 268.25 1002.69 283.309V368.64H967.833V287.77C967.833 274.571 964.673 264.718 958.352 258.211C952.217 251.704 943.572 248.451 932.418 248.451C924.238 248.451 916.988 250.124 910.667 253.471C904.346 256.817 899.419 261.836 895.887 268.529C892.541 275.036 890.868 283.309 890.868 293.348V368.64H856.01V219.729H889.194V239.024C893.72 233.627 899.297 229.241 905.926 225.863C915.965 220.658 927.491 218.055 940.505 218.055Z" fill="white"/>
<path d="M1153.99 219.729H1195.82L1133.68 282.127L1201.68 368.64H1159.29L1107.69 304.871L1081.77 329.39V368.64H1046.91V161.726H1081.77V286.517L1153.99 219.729Z" fill="white"/>
<defs>
<pattern id="pattern0_1178_275" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_1178_275" transform="matrix(0.000572484 0 0 0.000580984 -0.735848 -0.442641)"/>
</pattern>
<image id="image0_1178_275" width="4096" height="4096" xlink:href="data:image/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bItdcK/1OAsRNE4E80dvAkBEk5ySyY5cFLlW9s7hrSOvm7w+ZkJ3QJ2J5x+7zUit9T7B9XYUZLWhK7K0LQXxwzAzk3WYWcYx611iDWZGljAjc3InYVot6xG/V76zFs8MYlLXKdEnK/eZyH3OMR7Rmo3EG5kX3YeXTbQPEw0SJyX98nw0hlmrEBfplQWJAbQ+wKcmetMGxdIBqV8Z2Deel6CkPNtXG5LPj+VLedpIfhpWpW9wcK62j8QB9aGGm2Rbjf05aK9V93K3eLY3KOikDEzyzRmybxFBuKCeCO1W/QL+0qZkU8enRpM5JdYxWgbt2s038Mi6RP1Yh/gqMnrzhArzdeMQ8cJ/yvVMRT5JG381Wn2Tt/KswbmH/nnEGT81K/+N/K5nHm+PW/4t5vv4p0RyLIl/Od8l/7LeebyscqL/7BZsHTDB2jqK+hkZzWVHXe8q3B3Uct+51l5yrED6nMy+OJ7N5fpa7Iv4yXn1Yl/J7VN1WB13Nd7qmszgMTj2yCOefMvrs0ceuaucJxjuICKXu5BbJGlQ9/tkdefdqZNlGWM4m5fmj4/rDCQNwnflXFLine truncated
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

-5
View File
@@ -1,5 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base", ":disableDependencyDashboard"],
"labels": ["dependencies"]
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 503 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

-3
View File
@@ -1,3 +0,0 @@
# Generated by Cargo
# will have compiled files and executables
/target/
-7567
View File
File diff suppressed because it is too large. Load diff
-74
View File
@@ -1,74 +0,0 @@
[package]
name = "blink"
version = "1.0.0-alpha.4"
description = "A Modern Jellyfin Client"
authors = ["prayag17", "Blink contributors (https://github.com/prayag17/Blink/graphs/contributors)"]
license = "GPL-3.0-only"
repository = "https://github.com/prayag17/Blink/"
default-run = "blink"
edition = "2021"
rust-version = "1.59"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
tauri-build = { version = "2.5.4", features = [] }
[lib]
name = "blink_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[dependencies]
log = "^0.4.21"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "2.10.1", features = [ "devtools"] }
tauri-plugin-localhost = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2", features = ["colored"] }
portpicker = "0.1" # used in the example to pick a random free port
tauri-plugin-process = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-updater = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-clipboard-manager = "2.1.0-beta.6"
tauri-plugin-notification = "2.0.0-rc.1"
tauri-plugin-upload = "2.0.0"
tauri-plugin-dialog = "2.0.0"
tauri-plugin-shell = "2.3.5"
tauri-plugin-websocket = "2.5.0"
tauri-plugin-deep-link = "2.6.3"
tauri-plugin-mcp-bridge = { version = "0.13.2", optional = true }
[features]
# by default Tauri runs in production mode
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
default = [ "custom-protocol" ]
# Dev-only MCP bridge for UI automation: `pnpm tauri dev -- --features mcp-bridge`
mcp-bridge = ["dep:tauri-plugin-mcp-bridge"]
# this feature is used for production builds where `devPath` points to the filesystem
# DO NOT remove this
custom-protocol = [ "tauri/custom-protocol" ]
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-global-shortcut = "2"
tauri-plugin-window-state = "2"
reqwest = { version = "0.12", default-features = false, features = [
"cookies",
"json",
"multipart",
"gzip",
"rustls-tls",
] }
# Keep each OS on its native secret store without pulling the others' system
# libraries into every build.
[target.'cfg(target_os = "windows")'.dependencies]
keyring = { version = "3", default-features = false, features = ["windows-native"] }
[target.'cfg(target_os = "macos")'.dependencies]
keyring = { version = "3", default-features = false, features = ["apple-native"] }
[target.'cfg(target_os = "linux")'.dependencies]
keyring = { version = "3", default-features = false, features = [
"sync-secret-service",
"crypto-rust",
] }
-3
View File
@@ -1,3 +0,0 @@
fn main() {
tauri_build::build()
}
-20
View File
@@ -1,20 +0,0 @@
{
"identifier": "desktop-capability",
"platforms": [
"macOS",
"windows",
"linux"
],
"windows": [
"main"
],
"permissions": [
"window-state:default",
"global-shortcut:default",
"global-shortcut:allow-is-registered",
"global-shortcut:allow-register",
"global-shortcut:allow-unregister",
"websocket:default",
"shell:default"
]
}
-36
View File
@@ -1,36 +0,0 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "main-capabilities",
"description": "Capability for desktop window",
"windows": ["main"],
"permissions": [
"store:allow-get",
"store:allow-set",
"store:allow-save",
"store:allow-clear",
"store:allow-delete",
"store:allow-keys",
"store:allow-load",
"updater:allow-check",
"updater:allow-download-and-install",
"updater:allow-download",
"updater:allow-install",
"notification:default",
"core:webview:allow-internal-toggle-devtools",
"core:window:allow-start-dragging",
"core:window:allow-start-resize-dragging",
"core:window:allow-minimize",
"core:window:allow-maximize",
"core:window:allow-unmaximize",
"core:window:allow-toggle-maximize",
"core:window:allow-close",
"core:window:allow-is-maximized",
"dialog:default",
"upload:allow-download",
"clipboard-manager:allow-write-text",
"websocket:default",
"deep-link:default",
"shell:default",
"shell:allow-open"
]
}
-7
View File
@@ -1,7 +0,0 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "mcp-bridge-capability",
"description": "Dev-only permissions for the Tauri MCP bridge (AI debugging). Enabled only by tauri.mcp.conf.json.",
"windows": ["main"],
"permissions": ["mcp-bridge:default"]
}
-20
View File
@@ -1,20 +0,0 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "migrated",
"description": "permissions that were migrated from v1",
"local": true,
"windows": [
"main"
],
"permissions": [
"core:path:default",
"core:event:default",
"core:window:default",
"core:app:default",
"core:resources:default",
"core:menu:default",
"core:tray:default",
"core:window:allow-set-fullscreen",
"shell:default"
]
}
-12
View File
@@ -1,12 +0,0 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
-20
View File
@@ -1,20 +0,0 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
build
/captures
.externalNativeBuild
.cxx
local.properties
key.properties
keystore.properties
/.tauri
/tauri.settings.gradle
-6
View File
@@ -1,6 +0,0 @@
/src/main/**/generated
/src/main/jniLibs/**/*.so
/src/main/assets/tauri.conf.json
/tauri.build.gradle.kts
/proguard-tauri.pro
/tauri.properties
-105
View File
@@ -1,105 +0,0 @@
import java.util.Properties
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("rust")
}
val tauriProperties = Properties().apply {
val propFile = file("tauri.properties")
if (propFile.exists()) {
propFile.inputStream().use { load(it) }
}
}
val keystoreProperties = Properties().apply {
val propFile = rootProject.file("keystore.properties")
if (propFile.exists()) {
propFile.inputStream().use { load(it) }
}
}
android {
compileSdk = 37
namespace = "com.blink.prayag17"
signingConfigs {
if (keystoreProperties.getProperty("storeFile") != null) {
create("release") {
storeFile = file(keystoreProperties.getProperty("storeFile"))
storePassword = keystoreProperties.getProperty("storePassword")
keyAlias = keystoreProperties.getProperty("keyAlias")
keyPassword = keystoreProperties.getProperty("keyPassword")
}
}
}
defaultConfig {
manifestPlaceholders["usesCleartextTraffic"] = "false"
applicationId = "com.blink.prayag17"
minSdk = 24
targetSdk = 37
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
}
buildTypes {
getByName("debug") {
manifestPlaceholders["usesCleartextTraffic"] = "true"
isDebuggable = true
isJniDebuggable = true
isMinifyEnabled = false
packaging {
jniLibs.keepDebugSymbols.add("*/arm64-v8a/*.so")
jniLibs.keepDebugSymbols.add("*/armeabi-v7a/*.so")
jniLibs.keepDebugSymbols.add("*/x86/*.so")
jniLibs.keepDebugSymbols.add("*/x86_64/*.so")
}
}
getByName("release") {
signingConfig = if (keystoreProperties.getProperty("storeFile") != null) {
signingConfigs.getByName("release")
} else {
signingConfigs.getByName("debug")
}
optimization {
enable = true
}
proguardFiles(
*fileTree(".") {
include("**/*.pro")
exclude("build/**")
}.files.toTypedArray()
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
buildFeatures {
buildConfig = true
}
}
kotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_1_8
}
}
rust {
rootDirRel = "../../../"
}
dependencies {
implementation("androidx.webkit:webkit:1.14.0")
implementation("androidx.appcompat:appcompat:1.7.1")
implementation("androidx.activity:activity-ktx:1.10.1")
implementation("com.google.android.material:material:1.12.0")
implementation("androidx.lifecycle:lifecycle-process:2.10.0")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.4")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0")
}
apply(from = file("tauri.build.gradle.kts"))
-21
View File
@@ -1,21 +0,0 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
@@ -1,40 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<!-- AndroidTV support -->
<uses-feature android:name="android.software.leanback" android:required="false" />
<application
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.blink"
android:usesCleartextTraffic="${usesCleartextTraffic}">
<activity
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
android:launchMode="singleTask"
android:label="@string/main_activity_title"
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<!-- AndroidTV support -->
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
<!-- DEEP LINK PLUGIN. AUTO-GENERATED. DO NOT REMOVE. -->
<!-- DEEP LINK PLUGIN. AUTO-GENERATED. DO NOT REMOVE. -->
</activity>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
</application>
</manifest>
@@ -1,11 +0,0 @@
package com.blink.prayag17
import android.os.Bundle
import androidx.activity.enableEdgeToEdge
class MainActivity : TauriActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
enableEdgeToEdge()
super.onCreate(savedInstanceState)
}
}
@@ -1,30 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="85.84757"
android:endY="92.4963"
android:startX="42.9492"
android:startY="49.59793"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
@@ -1,170 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>
@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

@@ -1,6 +0,0 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.blink" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your theme here. -->
</style>
</resources>
@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
</resources>
@@ -1,4 +0,0 @@
<resources>
<string name="app_name">"Blink"</string>
<string name="main_activity_title">"Blink"</string>
</resources>
@@ -1,6 +0,0 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.blink" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your theme here. -->
</style>
</resources>
@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path name="my_images" path="." />
<cache-path name="my_cache_images" path="." />
</paths>
-22
View File
@@ -1,22 +0,0 @@
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:9.3.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.10")
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
tasks.register("clean").configure {
delete("build")
}
@@ -1,23 +0,0 @@
plugins {
`kotlin-dsl`
}
gradlePlugin {
plugins {
create("pluginsForCoolKids") {
id = "rust"
implementationClass = "RustPlugin"
}
}
}
repositories {
google()
mavenCentral()
}
dependencies {
compileOnly(gradleApi())
implementation("com.android.tools.build:gradle:9.3.1")
}
@@ -1,75 +0,0 @@
import java.io.File
import org.apache.tools.ant.taskdefs.condition.Os
import org.gradle.api.DefaultTask
import org.gradle.api.GradleException
import org.gradle.api.logging.LogLevel
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.TaskAction
import javax.inject.Inject
import org.gradle.process.ExecOperations
abstract class BuildTask : DefaultTask() {
@get:Inject
abstract val execOperations: ExecOperations
@Input
var rootDirRel: String? = null
@Input
var projectDir: String? = null
@Input
var target: String? = null
@Input
var release: Boolean? = null
@TaskAction
fun assemble() {
val executable = """pnpm""";
try {
runTauriCli(executable)
} catch (e: Exception) {
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
// Try different Windows-specific extensions
val fallbacks = listOf(
"$executable.exe",
"$executable.cmd",
"$executable.bat",
)
var lastException: Exception = e
for (fallback in fallbacks) {
try {
runTauriCli(fallback)
return
} catch (fallbackException: Exception) {
lastException = fallbackException
}
}
throw lastException
} else {
throw e;
}
}
}
fun runTauriCli(executable: String) {
val rootDirRel = rootDirRel ?: throw GradleException("rootDirRel cannot be null")
val target = target ?: throw GradleException("target cannot be null")
val release = release ?: throw GradleException("release cannot be null")
val args = listOf("tauri", "android", "android-studio-script");
execOperations.exec {
workingDir(File(projectDir, rootDirRel))
executable(executable)
args(args)
if (logger.isEnabled(LogLevel.DEBUG)) {
args("-vv")
} else if (logger.isEnabled(LogLevel.INFO)) {
args("-v")
}
if (release) {
args("--release")
}
args(listOf("--target", target))
}.assertNormalExitValue()
}
}
@@ -1,86 +0,0 @@
import com.android.build.api.dsl.ApplicationExtension
import org.gradle.api.DefaultTask
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.configure
import org.gradle.kotlin.dsl.get
const val TASK_GROUP = "rust"
open class Config {
lateinit var rootDirRel: String
}
open class RustPlugin : Plugin<Project> {
private lateinit var config: Config
override fun apply(project: Project) = with(project) {
config = extensions.create("rust", Config::class.java)
val defaultAbiList = listOf("arm64-v8a", "armeabi-v7a", "x86", "x86_64");
val abiList = (findProperty("abiList") as? String)?.split(',') ?: defaultAbiList
val defaultArchList = listOf("arm64", "arm", "x86", "x86_64");
val archList = (findProperty("archList") as? String)?.split(',') ?: defaultArchList
val targetsList = (findProperty("targetList") as? String)?.split(',') ?: listOf("aarch64", "armv7", "i686", "x86_64")
extensions.configure<ApplicationExtension> {
@Suppress("UnstableApiUsage")
flavorDimensions.add("abi")
productFlavors {
create("universal") {
dimension = "abi"
ndk {
abiFilters += abiList
}
}
defaultArchList.forEachIndexed { index, arch ->
create(arch) {
dimension = "abi"
ndk {
abiFilters.add(defaultAbiList[index])
}
}
}
}
}
afterEvaluate {
for (profile in listOf("debug", "release")) {
val profileCapitalized = profile.replaceFirstChar { it.uppercase() }
val buildTask = tasks.maybeCreate(
"rustBuildUniversal$profileCapitalized",
DefaultTask::class.java
).apply {
group = TASK_GROUP
description = "Build dynamic library in $profile mode for all targets"
}
tasks["mergeUniversal${profileCapitalized}JniLibFolders"].dependsOn(buildTask)
for (targetPair in targetsList.withIndex()) {
val targetName = targetPair.value
val targetArch = archList[targetPair.index]
val targetArchCapitalized = targetArch.replaceFirstChar { it.uppercase() }
val targetBuildTask = project.tasks.register(
"rustBuild$targetArchCapitalized$profileCapitalized",
BuildTask::class.java
) {
group = TASK_GROUP
description = "Build dynamic library in $profile mode for $targetArch"
rootDirRel = config.rootDirRel
projectDir = project.projectDir.path
target = targetName
release = profile == "release"
}
buildTask.dependsOn(targetBuildTask)
tasks["merge$targetArchCapitalized${profileCapitalized}JniLibFolders"].dependsOn(
targetBuildTask
)
}
}
}
}
}
-26
View File
@@ -1,26 +0,0 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.configuration-cache=true
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# Our old plugin template had a bug that caused missing `consumer-rules.pro` files
# so we have to disable it for now.
# See https://github.com/tauri-apps/tauri/pull/15828#issuecomment-5199937796
android.proguard.failOnMissingFiles=false
# Keeping Gradle 9 compatible with current plugins
# TODO: Remove this in v3
android.builtInKotlin=false
android.newDsl=false
Binary file not shown.
@@ -1,6 +0,0 @@
#Tue May 10 19:22:52 CST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
-248
View File
@@ -1,248 +0,0 @@
#!/bin/sh
#
# Copyright © 2015 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
##############################################################################
#
# gradlew start up script for POSIX generated by Gradle.
#
# Important for running:
#
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
# noncompliant, but you have some other compliant shell such as ksh or
# bash, then to run this script, type that shell name before the whole
# command line, like:
#
# ksh gradlew
#
# Busybox and similar reduced shells will NOT work, because this script
# requires all of these POSIX shell features:
# * functions;
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
# * compound commands having a testable exit status, especially «case»;
# * various built-in commands including «command», «set», and «ulimit».
#
# Important for patching:
#
# (2) This script targets any POSIX shell, so it avoids extensions provided
# by Bash, Ksh, etc; in particular arrays are avoided.
#
# The "traditional" practice of packing multiple parameters into a
# space-separated string is a well documented source of bugs and security
# problems, so this is (mostly) avoided, by progressively accumulating
# options in "$@", and eventually passing that to Java.
#
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
# see the in-line comments for details.
#
# There are tweaks for specific operating systems such as AIX, CygWin,
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/3d91ce3b8caaf77ad09f381f43615b715b53f72c/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
#
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
app_path=$0
# Need this for daisy-chained symlinks.
while
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
[ -h "$app_path" ]
do
ls=$( ls -ld "$app_path" )
link=${ls#*' -> '}
case $link in #(
/*) app_path=$link ;; #(
*) app_path=$APP_HOME$link ;;
esac
done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
warn () {
echo "$*"
} >&2
die () {
echo
echo "$*"
echo
exit 1
} >&2
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "$( uname )" in #(
CYGWIN* ) cygwin=true ;; #(
Darwin* ) darwin=true ;; #(
MSYS* | MINGW* ) msys=true ;; #(
NONSTOP* ) nonstop=true ;;
esac
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD=$JAVA_HOME/jre/sh/java
else
JAVACMD=$JAVA_HOME/bin/java
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD=java
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi
# Increase the maximum file descriptors if we can.
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
fi
# Collect all arguments for the java command, stacking in reverse order:
# * args from the command line
# * the main class name
# * -classpath
# * -D...appname settings
# * --module-path (only if needed)
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
# For Cygwin or MSYS, switch paths to Windows format before running java
if "$cygwin" || "$msys" ; then
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
JAVACMD=$( cygpath --unix "$JAVACMD" )
# Now convert the arguments - kludge to limit ourselves to /bin/sh
for arg do
if
case $arg in #(
-*) false ;; # don't mess with options #(
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
[ -e "$t" ] ;; #(
*) false ;;
esac
then
arg=$( cygpath --path --ignore --mixed "$arg" )
fi
# Roll the args list around exactly as many times as the number of
# args, so each arg winds up back in the position where it started, but
# possibly modified.
#
# NB: a `for` loop captures its iteration list before it begins, so
# changing the positional parameters here affects neither the number of
# iterations, nor the values presented in `arg`.
shift # remove old arg
set -- "$@" "$arg" # push replacement arg
done
fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@"
# Stop when "xargs" is not available.
if ! command -v xargs >/dev/null 2>&1
then
die "xargs is not available"
fi
# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
#
# In Bash we could simply go:
#
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
# set -- "${ARGS[@]}" "$@"
#
# but POSIX shell has neither arrays nor command substitution, so instead we
# post-process each arg (as a line of input to sed) to backslash-escape any
# character that might be a shell metacharacter, then use eval to reverse
# that process (while maintaining the separation between arguments), and wrap
# the whole thing up as a single "set" statement.
#
# This will of course break if any of these variables contains a newline or
# an unmatched quote.
#
eval "set -- $(
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
xargs -n1 |
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
tr '\n' ' '
)" '"$@"'
exec "$JAVACMD" "$@"
-82
View File
@@ -1,82 +0,0 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem gradlew startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables, and ensure extensions are enabled
setlocal EnableExtensions
set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
"%COMSPEC%" /c exit 1
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
"%COMSPEC%" /c exit 1
:execute
@rem Setup the command line
@rem Execute gradlew
@rem endlocal doesn't take effect until after the line is parsed and variables are expanded
@rem which allows us to clear the local environment before executing the java command
endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel
:exitWithErrorLevel
@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts
"%COMSPEC%" /c exit %ERRORLEVEL%
-3
View File
@@ -1,3 +0,0 @@
include ':app'
apply from: 'tauri.settings.gradle'
-1
View File
@@ -1 +0,0 @@
{"clipboard-manager":{"default_permission":{"identifier":"default","description":"No features are enabled by default, as we believe\nthe clipboard can be inherently dangerous and it is \napplication specific if read and/or write access is needed.\n\nClipboard interaction needs to be explicitly enabled.\n","permissions":[]},"permissions":{"allow-clear":{"identifier":"allow-clear","description":"Enables the clear command without any pre-configured scope.","commands":{"allow":["clear"],"deny":[]}},"allow-read-image":{"identifier":"allow-read-image","description":"Enables the read_image command without any pre-configured scope.","commands":{"allow":["read_image"],"deny":[]}},"allow-read-text":{"identifier":"allow-read-text","description":"Enables the read_text command without any pre-configured scope.","commands":{"allow":["read_text"],"deny":[]}},"allow-write-html":{"identifier":"allow-write-html","description":"Enables the write_html command without any pre-configured scope.","commands":{"allow":["write_html"],"deny":[]}},"allow-write-image":{"identifier":"allow-write-image","description":"Enables the write_image command without any pre-configured scope.","commands":{"allow":["write_image"],"deny":[]}},"allow-write-secret":{"identifier":"allow-write-secret","description":"Enables the write_secret command without any pre-configured scope.","commands":{"allow":["write_secret"],"deny":[]}},"allow-write-text":{"identifier":"allow-write-text","description":"Enables the write_text command without any pre-configured scope.","commands":{"allow":["write_text"],"deny":[]}},"deny-clear":{"identifier":"deny-clear","description":"Denies the clear command without any pre-configured scope.","commands":{"allow":[],"deny":["clear"]}},"deny-read-image":{"identifier":"deny-read-image","description":"Denies the read_image command without any pre-configured scope.","commands":{"allow":[],"deny":["read_image"]}},"deny-read-text":{"identifier":"deny-read-text","description":"Denies the read_text command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text"]}},"deny-write-html":{"identifier":"deny-write-html","description":"Denies the write_html command without any pre-configured scope.","commands":{"allow":[],"deny":["write_html"]}},"deny-write-image":{"identifier":"deny-write-image","description":"Denies the write_image command without any pre-configured scope.","commands":{"allow":[],"deny":["write_image"]}},"deny-write-secret":{"identifier":"deny-write-secret","description":"Denies the write_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["write_secret"]}},"deny-write-text":{"identifier":"deny-write-text","description":"Denies the write_text command without any pre-configured scope.","commands":{"allow":[],"deny":["write_text"]}}},"permission_sets":{},"global_scope_schema":null},"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener","allow-supports-multiple-windows"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-exit":{"identifier":"allow-exit","description":"Enables the exit command without any pre-configured scope.","commands":{"allow":["exit"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","coLine truncated
File diff suppressed because it is too large. Load diff
-1
View File
@@ -1 +0,0 @@
{"desktop-capability":{"identifier":"desktop-capability","description":"","local":true,"windows":["main"],"permissions":["window-state:default","global-shortcut:default","global-shortcut:allow-is-registered","global-shortcut:allow-register","global-shortcut:allow-unregister","websocket:default","shell:default"],"platforms":["macOS","windows","linux"]},"main-capabilities":{"identifier":"main-capabilities","description":"Capability for desktop window","local":true,"windows":["main"],"permissions":["store:allow-get","store:allow-set","store:allow-save","store:allow-clear","store:allow-delete","store:allow-keys","store:allow-load","updater:allow-check","updater:allow-download-and-install","updater:allow-download","updater:allow-install","notification:default","core:webview:allow-internal-toggle-devtools","core:window:allow-start-dragging","core:window:allow-start-resize-dragging","core:window:allow-minimize","core:window:allow-maximize","core:window:allow-unmaximize","core:window:allow-toggle-maximize","core:window:allow-close","core:window:allow-is-maximized","dialog:default","upload:allow-download","clipboard-manager:allow-write-text","websocket:default","deep-link:default","shell:default","shell:allow-open"]},"mcp-bridge-capability":{"identifier":"mcp-bridge-capability","description":"Dev-only permissions for the Tauri MCP bridge (AI debugging). Enabled only by tauri.mcp.conf.json.","local":true,"windows":["main"],"permissions":["mcp-bridge:default"]},"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":true,"windows":["main"],"permissions":["core:path:default","core:event:default","core:window:default","core:app:default","core:resources:default","core:menu:default","core:tray:default","core:window:allow-set-fullscreen","shell:default"]}}
File diff suppressed because it is too large. Load diff
Loaded 100 of 510 files, more files were not shown because too many files have changed in this diff. Show more