GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hybes/liltfold: A native macOS media browser. Explore nested folders, find exact duplicates, and safely copy or convert media. Rust + SwiftUI/AppKit.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
assets
assets
 
 
docs/screenshots
docs/screenshots
 
 
native
native
 
 
src
src
 
 
tests
tests
 
 
tools
tools
 
 
verification
verification
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
DESIGN.md
DESIGN.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
THIRD_PARTY.md
THIRD_PARTY.md
 
 
VERIFICATION.md
VERIFICATION.md
 
 

Repository files navigation

Liltfold icon

Liltfold

A native macOS media browser for the files already on your Mac. Drop in a folder, explore media across its subfolders, then copy or convert the files you choose.

CI Licence: MIT

Liltfold browsing a collection in dark appearance

Rust handles discovery, selection, duplicate checks and exports. SwiftUI and AppKit provide the native interface; ImageIO and AVKit handle image previews and playback. There is no web view, account, telemetry or cloud processing.

What it does

  • Browse multiple folder trees together, with recursive discovery, a virtualised grid, filename search, sorting and image/video/audio filters.
  • Preview images, play video and audio, and resize the contact sheet. Original files stay where they are; opening a folder does not import them.
  • Find exact duplicates by hashing and byte comparison. Choose a representative without deleting or changing any copy.
  • Copy originals unchanged, or choose image, video and audio conversion settings independently. Exclude a media type or keep its originals in a mixed export.
  • Review the scope, destination, naming and conflicts before starting. Unique filenames are the default. Cancellation discards the unfinished destination file and keeps completed files.

Build and run

Early release: build from source. There is no public prebuilt app release yet. The GUI targets Apple Silicon and macOS 14+. The Rust toolchain or bundled codecs can require a newer macOS version; the build reads their targets and sets the app's minimum accordingly. The original local build was tested on macOS 27.0.1.

Install Xcode/Command Line Tools, Python 3, Rust 1.88+ and the native codec tools. For a Mac using Homebrew and an existing Rust installation:

brew install ffmpeg webp
git clone https://github.com/hybes/liltfold.git
cd liltfold
python3 tools/build.py
open dist/Liltfold.app

The build bundles ffmpeg, ffprobe, cwebp and their non-system libraries. The resulting app runs without Homebrew or developer tools. It is ad-hoc signed for local use, not notarised or submitted to the App Store. See third-party notices before distributing a compiled bundle.

python3 tools/build.py --ui-only reuses bundled codecs during UI development. Use a full build after changing the artwork. Build outputs are excluded from Git.

Using Liltfold

Drop folders into the window or press ⌘O. All subfolders are included. Command-click toggles selection, Shift-click selects a range, arrow keys navigate, Space opens a preview and ⌘A selects every matching file, including those offscreen. Escape closes previews. ⌘R refreshes the collection.

The footer shows selected files hidden by filters. Right-click an exact duplicate to inspect its locations or choose another representative. Duplicate checking runs below visible-preview work and shows when it is incomplete.

Copy originals preserves file contents byte for byte. Copy as… offers Keep original, conversion formats and Exclude for each media type:

Media Conversion outputs
Images WebP, JPEG, PNG
Video MP4/H.264, WebM/VP9
Audio MP3, M4A/AAC, WAV, FLAC

Exports can preserve source paths or flatten folders, retain filenames or use a prefix and sequence, and skip, rename or replace existing destination files. Original source files are protected. Deduplicated exports finish content checks before writing.

Tests

The core tests run on macOS and Linux. They require no sample media or codecs.

cargo fmt --all -- --check
cargo clippy --locked --all-targets -- -D warnings
cargo test --locked
python3 -m unittest discover -s tests -p 'test_*.py'

On macOS, the integration test uses the actual ImageIO bridge and bundled codecs. Generate the fixtures locally; no photographs or downloads are required:

python3 tools/make_fixtures.py
xcrun swiftc -O -swift-version 5 -parse-as-library \
  -import-objc-header native/Liltfold.h \
  tests/NativeSmoke.swift native/MediaBridge.swift target/release/libliltfold.a \
  -framework AppKit -framework ImageIO -framework UniformTypeIdentifiers \
  -o .build/native-smoke
.build/native-smoke dist/Liltfold.app '.build/fixtures/Field collection' .build/native-smoke-output

This checks 40 conversions, fully decodes their outputs, verifies dimensions, duration and audio, rejects corrupt input and checks unchanged original hashes. The generator refuses to overwrite a non-empty output folder; use --output to choose another location. Add --large for a synthetic 5,000-file collection.

For native UI checks on a Mac with an active desktop and Screen Recording access:

python3 tools/build.py --ui-test
LILTFOLD_CACHE="$PWD/.build/ui-test-cache" \
LILTFOLD_UI_TEST_OUTPUT="$PWD/screenshots" \
dist/Liltfold.app/Contents/MacOS/Liltfold "$PWD/.build/fixtures/Field collection"

Optionally set LILTFOLD_UI_TEST_LARGE to the generated Large collection path. Rebuild without --ui-test for normal use. CI runs Rust checks on Linux and builds and tests the native codecs on an Apple Silicon macOS runner. UI automation stays a local desktop check. Verification and measured performance records the original test conditions and remaining gaps.

Limits and data

  • Image previews and conversions use the first frame of animated/multipage files. Preview images are capped at 4096 pixels; full-size exports are available. Conversion uses 8-bit output and can discard HDR, animation and metadata.
  • Non-native playback containers such as WebM prepare a local compatibility preview first. Large files can take time. RAW support depends on the camera formats or embedded previews understood by ImageIO on the current Mac.
  • Refresh discovers new files. Visible source changes invalidate previews automatically. Export destinations within a source tree are excluded from subsequent scans in that collection. Exporting into a source root or its ancestor is refused.
  • Thumbnails, preview cache and preferences live in ~/Library/Caches/com.hybes.liltfold/. The thumbnail memory-cache target is 96 MiB/180 images; disk-cache pruning targets 768 MiB. Nothing is uploaded.

Contributing and licence

See CONTRIBUTING.md for the code layout and development checks, or open an issue. Report vulnerabilities privately using SECURITY.md.

Liltfold's code and project artwork are provided under the MIT licence. The raster logo was generated with ImageGen; its source prompt is included. Codec dependencies and the photographs shown in documentation retain their own licences; see THIRD_PARTY.md.

About

A native macOS media browser. Explore nested folders, find exact duplicates, and safely copy or convert media. Rust + SwiftUI/AppKit.

Topics

appkitapple-siliconffmpegmacosmedia-browserofflinerustswiftui

Resources

Readme
MIT license

Contributing

Contributing

Security policy

Security policy
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.