Skip to content

Linux port (x86_64): portable digup CLI + engine #5

Closed

Description

@ik0zy

Proposal

Port the digup CLI and its engine (DigUpKit + LlamaRuntime) to Linux x86_64, leaving the menubar app macOS-only. Binary releases (tarball/.deb/.rpm, AUR -bin) via GitHub Actions so nobody compiles from source.

Scope

  • In: estimate / index / search / status / eval / index-service / worker on Linux; text, code, HTML; PDFs via poppler; ppt/pptx/odp decks via LibreOffice; llama.cpp CPU build.
  • Out: DigUpApp (AppKit/SwiftUI/Sparkle stay macOS-only); images/audio/video backends (honest per-file stubs, no crashes); CUDA/Vulkan; aarch64 (second job later).

Verified on Arch Linux x86_64 (Swift 6.4)

  • swift build --product digup + full swift test: 64 DigUpKitTests + 6 LlamaRuntimeTests green.
  • vectorsMatchTheReference passes on the Linux build: vectors match macOS at >=0.999, so indexes stay cross-platform (vectors v1).
  • End-to-end on real folders: indexed ~400 pages/slides (PDFs + decks + code), hybrid meaning+keyword search verified.
  • New Linux CI workflow builds, tests, and packages on PRs and releases.

Ask

  1. Is a Linux CLI port something you want upstream?
  2. Can you (or CI) run swift build && swift test on macOS against the branch? I changed shared files (Package manifest, CLlama links, a pure refactor of PDF prepare, index ordering append) and have no Mac to check regressions. Happy to rework to fit.

Activity

  1. ptfarina commented on Oct 12, 2026

    @ptfarina

    yes please

  2. ik0zy commented on Oct 15, 2026

    @ik0zy
    Author

    Update: PR #6 closed as superseded by the official Windows/Linux port -- thank you, it's a fuller job than mine in every way (vendored backends, shell UI, updates). One gap I verified on my own course folders that upstream still lacks: presentation decks (.pptx/.ppt/.odp). My branch indexed them by converting through LibreOffice (soffice --headless --convert-to pdf) and reading the result as PDF pages, with slide counts from the .pptx zip directory for estimates. Happy to rework that one piece against the new Platform architecture if you want it -- say the word and I'll open a focused PR.

  3. ARahim3 commented on Oct 19, 2026

    @ARahim3
    Owner

    Linux support is out as a beta, built a different way (a separate app on top of the same engine): https://github.com/ARahim3/DigUp/releases/tag/v0.7.0-beta.2, as a .deb and an AppImage. Thanks for pushing on this early. Closing this one.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions