Skip to main content

Image file browser with semantic search

Project description

Skjalf

Ever tried to find "the photo of my cat sleeping on the couch" but couldn't remember the filename or folder?

Skjalf lets you search your local photo collection using natural language instead of filenames or tags. It uses AI to understand the content of your images and your search queries, helping you find exactly what you're looking for - while keeping everything on your machine.

Why is it called Skjalf? The name is inspired by Hlidskjalf, Odin's high seat in Norse mythology, which allowed him to see and observe the world from above. Similarly, Skjalf helps you gain a new perspective on your own image collection - making it easier to discover what you are looking for.

This project is still in an early stage, so bugs are to be expected. If you run into any issues, please open a ticket. It would be greatly appreciated!

Watch Skjalf in action below!

https://github.com/user-attachments/assets/db17e439-2173-4ff1-84cd-6da0fde0446e

Features

  • Semantic Search: Find images by describing their content (e.g., "a cat sleeping on a sofa").
  • Local & Private: All processing happens locally on your machine. Your images never leave your computer.
  • Folder Watching: Register folders to automatically scan and embed new images.
  • Drag & Drop: Easily register folders or move files via drag and drop.
  • Multi-Select & File Operations: Select multiple files and perform batch operations (copy, move, delete).
  • GPU Acceleration: Toggle GPU processing for faster embedding generation.

Technology Stack

  • Language: Python 3.12+
  • UI Framework: PySide6
  • Embedding Model: Hugging Face Transformers (kakaobrain/align-base)
  • Vector Storage: ChromaDB
  • Filesystem Monitoring: watchdog

Installation & Usage

Prerequisites

  • Python 3.12 or higher

1. Install Skjalf

From PyPI (recommended):

pip install skjalf

From Source:

git clone https://github.com/viktor-haag/skjalf.git
cd skjalf
conda create -n skjalf python=3.12 # feel free to use your favorite python environment manager
conda activate skjalf
pip install -e .

2. Run the App

Once installed, you can launch Skjalf from your terminal. If you use skjalf for the first time, it will download the kakaobrain/align-base from Huggning Face at startup.

skjalf

3. Use the App

  • Add root folders by dragging and dropping them into the left sidebar or via the context menu. The application will automatically index the selected folders and prepare everything needed for semantic search.
  • Select a root folder to explore its contents. Images can be opened in your default image viewer with a double-click.
  • Use the right mouse button to access file operations such as moving, copying, or deleting items. Multiple files can be selected using Ctrl-click, Shift-click, or box selection.
  • To search, simply enter a query in the search bar. Searches are always limited to the currently selected root folder.

Roadmap

Milestone 0: Initial Prototype <-- we are here

  • Semantic image search using ALIGN model
  • Folder registration and recursive scanning
  • Local ChromaDB vector storage per folder
  • GPU/CPU toggle for embedding
  • Multi-file selection and batch operations
  • Progress tracking for embeddings and file operations

Milestone 1: Consolidation & Distribution

  • More control over the ingestion process of registered folders
  • Automatic model download at first launch
  • Drag & drop support (folders & files)
  • Light/Dark mode toggle
  • Codebase refactoring and UI design update
  • Test cases
  • Performance improvements
  • Dedicated multi-platform installer (Windows & Linux, maybe macOS)
  • PyPI release for easier installation

Milestone 2: People & Search-By-Example

  • Face detection and recognition
  • Person-based search and grouping
  • Privacy-preserving local face embeddings
  • Retrieval by example image

Milestone 3: Web Platform

  • Browser-based interface for remote access
  • Server-client architecture
  • All current features available in the web version
  • Multi-user support and sharing

License

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skjalf-1.1.0.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skjalf-1.1.0-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file skjalf-1.1.0.tar.gz.

File metadata

  • Download URL: skjalf-1.1.0.tar.gz
  • Upload date:
  • Size: 41.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for skjalf-1.1.0.tar.gz
Algorithm Hash digest
SHA256 bdef1e1b177c117fbb6ac0c65a11f47f0f3dbfb4e9dcabaf641702c197eb54cc
MD5 eeabdfd830e281a57b9f36b0baf9e0e1
BLAKE2b-256 ef275c195b94b0544ec4ae86554de05b01931fa4f8858d0bd6a6bb6bc3a5639b

See more details on using hashes here.

Provenance

The following attestation bundles were made for skjalf-1.1.0.tar.gz:

Publisher: release.yml on viktor-haag/skjalf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skjalf-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: skjalf-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for skjalf-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41bc51c5b987cfbebdd4bdeec41782491b65b258c8597c6b4a42dcf3332f252c
MD5 78eb79a8fb0038072d643c7549171b63
BLAKE2b-256 5646f3134cb45e91311bd0281f7554b8e976b76cb616b9cb5169b7f3204fec02

See more details on using hashes here.

Provenance

The following attestation bundles were made for skjalf-1.1.0-py3-none-any.whl:

Publisher: release.yml on viktor-haag/skjalf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page