Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,8 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: actions/configure-pages@v5
- uses: actions/setup-node@v4
with:
node-version: '24'
- name: Build and check site
working-directory: web
env:
SITE_URL: https://teamkrope.github.io/linuxplayer/
run: |
npm run build
npm run check
- uses: actions/upload-pages-artifact@v4
with:
path: web/dist
path: web
- id: deployment
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Follow the [build instructions](docs/BUILDING.md). For a quick QML startup check

If a problem occurs only under Wayland, X11, GNOME, KDE, or a particular GPU, say so. A short reproducible sample is more useful than a large film file.

For website changes, work in [`web/`](web/README.md), run `npm run build && npm run check` there, and check the result on desktop and a narrow screen. Keep download links pointed at the latest release assets, and distinguish app screenshots from illustrations.
The [website](https://linuxplayer-website.vercel.app/) is deployed separately from the LinuxPlayer application repository. Report website issues here; maintainers can coordinate changes to its private source repository.

## Pull requests

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A clean, modern video player for Linux.

[Website](https://teamkrope.github.io/linuxplayer/) · [Contact](mailto:contact@teamkrope.com)
[Website](https://linuxplayer-website.vercel.app/) · [Contact](mailto:contact@teamkrope.com)

## Download

Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion docs/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Check the launcher, file manager **Open With**, install and uninstall behavior,
- For other distribution and architecture packages, first add tested build jobs and distinct asset names.
- Include supported systems, known limitations, source/build instructions, and any available demo or screenshots in the release notes.
- Run the README installer against the published download on each supported Ubuntu version to catch download or packaging mistakes.
- Website changes in `web/` deploy through the Website workflow on `main`. Check its GitHub Pages result and both download links after merging.
- The website deploys separately on Vercel. After publishing a release, check its download links for both package architectures.

Later, Flatpak/Flathub can be added as a separate distribution path after `.deb` releases are reliable.

Expand Down
4 changes: 1 addition & 3 deletions scripts/build-icon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -euo pipefail
root=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
source_icon="$root/assets/linuxplayer-bird-source.png"
app_icon="$root/assets/io.github.teamkrope.LinuxPlayer.png"
web_icon="$root/web/assets/linuxplayer-bird.png"

command -v ffmpeg >/dev/null || { echo 'ffmpeg is required to regenerate the icon' >&2; exit 1; }
test -f "$source_icon"
Expand All @@ -17,5 +16,4 @@ ffmpeg -hide_banner -loglevel error -y \
-filter_complex "[0:v]format=rgba,geq=r='255':g='255':b='255':a='if(gt(between(X,164,859)+between(Y,164,859),0),255,if(lte(pow(164-min(X,1023-X),2)+pow(164-min(Y,1023-Y),2),26896),255,0))'[bg];[1:v]scale=860:860:force_original_aspect_ratio=decrease[logo];[bg][logo]overlay=(W-w)/2:(H-h)/2:format=auto,format=rgba[out]" \
-map '[out]' -frames:v 1 "$app_icon"

cp "$app_icon" "$web_icon"
echo 'Updated app and website icons.'
echo 'Updated the app icon. Sync it to the website repository when the design changes.'
9 changes: 3 additions & 6 deletions scripts/capture-screenshots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT
video="$work/Coastal Evening.mp4"
ffmpeg -hide_banner -loglevel error -y -loop 1 \
-i "$root/web/assets/ratio-source.webp" \
-i "$root/assets/ratio-source.webp" \
-vf 'scale=1100:680:force_original_aspect_ratio=increase,crop=1100:680' \
-t 12 -c:v libx264 -pix_fmt yuv420p -r 24 "$video"

mkdir -p "$root/docs/screenshots" "$root/web/assets/screenshots"
mkdir -p "$root/docs/screenshots"
linuxplayer --capture-ui "$root/docs/screenshots/playback-v1-coast.png" "$video"
linuxplayer --capture-options "$root/docs/screenshots/options-v1-coast.png" "$video"
linuxplayer --capture-hidden "$root/docs/screenshots/hidden-v1-coast.png" "$video"
linuxplayer --capture-mini "$root/docs/screenshots/mini-player-v1-coast.png" "$video"
linuxplayer --capture-ui "$root/docs/screenshots/empty-v1-coast.png"
for view in playback options hidden mini-player; do
cp "$root/docs/screenshots/$view-v1-coast.png" "$root/web/assets/screenshots/"
done
echo 'Captured the current desktop interface for the repository and website.'
echo 'Captured the current desktop interface in docs/screenshots/. Sync reviewed images to the website repository.'
3 changes: 0 additions & 3 deletions web/.gitignore

This file was deleted.

Loading