Skip to content

Conversation

@tushar1977
Copy link
Contributor

@tushar1977 tushar1977 commented Jan 1, 2026

Issue - #871

This PR implements a AppImage for release

Summary by CodeRabbit

  • Chores
    • Added Linux AppImage bundle support to expand distribution options for Linux users.
    • Enabled media framework support for AppImage builds to improve multimedia handling and compatibility.

✏️ Tip: You can customize this high-level summary in your review settings.

@github-actions github-actions bot added CI/CD build enhancement New feature or request labels Jan 1, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 1, 2026

📝 Walkthrough

Walkthrough

Added AppImage as a Linux bundle target in the Tauri configuration and introduced an appimage configuration block with bundleMediaFramework: true.

Changes

Cohort / File(s) Summary
Tauri Build Configuration
frontend/src-tauri/tauri.conf.json
Added "appimage" to the bundle.targets array; introduced a new linux.appimage block with bundleMediaFramework: true and an empty files object.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰
A little hare hops to pack the app,
AppImage tucked into the map,
Media frameworks snuggle in tight,
Targets updated, ready for flight,
Hops, build, and off into the night.

Pre-merge checks

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Feat: AppImage Release for Linux' directly and clearly summarizes the main change: adding AppImage support for Linux distribution, which aligns perfectly with the changeset modifications to tauri.conf.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4043751 and 87f22e7.

📒 Files selected for processing (1)
  • frontend/src-tauri/tauri.conf.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: Tauri Build Check (ubuntu-22.04)
  • GitHub Check: Tauri Build Check (windows-latest)
  • GitHub Check: Tauri Build Check (macos-latest, --target aarch64-apple-darwin)
  • GitHub Check: Backend Tests
🔇 Additional comments (1)
frontend/src-tauri/tauri.conf.json (1)

10-10: AppImage target successfully added to build configuration.

The addition of "appimage" to the targets array correctly enables AppImage bundle generation for Linux distributions.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 87f22e7 and 79a160a.

📒 Files selected for processing (1)
  • frontend/src-tauri/tauri.conf.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: Tauri Build Check (ubuntu-22.04)
  • GitHub Check: Tauri Build Check (windows-latest)
  • GitHub Check: Tauri Build Check (macos-latest, --target aarch64-apple-darwin)
  • GitHub Check: Backend Tests
🔇 Additional comments (1)
frontend/src-tauri/tauri.conf.json (1)

10-10: LGTM! AppImage target added correctly.

The addition of "appimage" to the bundle targets array enables AppImage distribution for Linux alongside the existing deb package format.

Comment on lines +16 to +18
"appimage": {
"bundleMediaFramework": true,
"files": {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

# Check for CI/CD workflow files
fd -type f -e yml -e yaml .github/workflows 2>/dev/null || echo "No .github/workflows found"

Repository: AOSSIE-Org/PictoPy

Length of output: 88


🏁 Script executed:

# Search for any references to audio/video, media processing, or GStreamer
rg -i "audio|video|gstreamer|media|ffmpeg" --type rust --type json --type toml --type yaml --type yml

Repository: AOSSIE-Org/PictoPy

Length of output: 89


🏁 Script executed:

# Check the repository structure and look for README or documentation
git ls-files | head -20

Repository: AOSSIE-Org/PictoPy

Length of output: 622


🏁 Script executed:

# Examine the tauri.conf.json file more broadly
cat -n frontend/src-tauri/tauri.conf.json | head -50

Repository: AOSSIE-Org/PictoPy

Length of output: 1744


🏁 Script executed:

cat -n .github/workflows/build-and-release.yml

Repository: AOSSIE-Org/PictoPy

Length of output: 12605


🏁 Script executed:

cat -n README.md | head -100

Repository: AOSSIE-Org/PictoPy

Length of output: 3075


🏁 Script executed:

# Search for any media/audio/video dependencies or references in backend configuration
rg -i "audio|video|media|gstreamer|ffmpeg" --max-count 20

Repository: AOSSIE-Org/PictoPy

Length of output: 50375


🏁 Script executed:

# Check if Videos page is a stub/coming soon
cat frontend/src/pages/VideosPage/Videos.tsx

Repository: AOSSIE-Org/PictoPy

Length of output: 319


🏁 Script executed:

# Check the ComingSoon component
rg -A 5 "ComingSoon" frontend/src --type tsx

Repository: AOSSIE-Org/PictoPy

Length of output: 89


🏁 Script executed:

# Check AppRoutes to see if Videos uses ComingSoon
rg -B 2 -A 2 "VIDEOS|ComingSoon" frontend/src/routes

Repository: AOSSIE-Org/PictoPy

Length of output: 1353


🏁 Script executed:

# Search for where ComingSoon is used
rg "ComingSoon" frontend/src

Repository: AOSSIE-Org/PictoPy

Length of output: 530


Consider deferring bundleMediaFramework until video playback is implemented.

The AppImage configuration currently bundles GStreamer with bundleMediaFramework: true, adding 15–35 MB unnecessarily. Video support in PictoPy is planned (Videos, Albums, and Memories routes show "ComingSoon" placeholders), but is not yet implemented. The application currently provides image-only features (gallery, object detection with YOLO, face recognition with FaceNet, image analysis).

The CI/CD pipeline correctly uses Ubuntu (ubuntu-22.04 in build-and-release.yml), so that requirement is met. To optimize the current bundle size, disable bundleMediaFramework now and re-enable it when video playback functionality is ready.

🤖 Prompt for AI Agents
In frontend/src-tauri/tauri.conf.json around lines 16 to 18, the AppImage config
currently sets "bundleMediaFramework": true; change that value to false (or
remove the key) to stop bundling the media framework/GStreamer in current
builds, and add a TODO comment to re-enable "bundleMediaFramework": true when
video playback features are implemented and tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build CI/CD enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant