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.
Skjalf comes in two flavours: a desktop app for folders on your own computer, and a Nextcloud app (early preview) that brings the same search to the photos in your Nextcloud account.
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.
- Nextcloud App (preview): Search the photos in your own Nextcloud folders from inside Nextcloud. Indexing is started manually per folder and the number of results is configurable.
Technology Stack
- Language: Python 3.12+
- UI Framework: PySide6
- Embedding Model: Hugging Face Transformers (
kakaobrain/align-base) - Vector Storage: ChromaDB
- Filesystem Monitoring:
watchdog - Nextcloud App: FastAPI backend behind Nextcloud AppAPI, Vue 2 frontend, SQLite for folder and job state
Installation & Usage
The steps below install the desktop app. For the Nextcloud app, see Nextcloud app.
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.
Nextcloud App
The nextcloud/ folder contains Skjalf as a Nextcloud External App (Nextcloud 34, AppAPI). It runs as its own Docker container, reads photos only through the signed-in user's Nextcloud access, and keeps its index in the app's own storage. Your original files stay in Nextcloud.
The full guide is in nextcloud/README.md. It covers a local test setup with Docker Compose, installing into an existing Nextcloud, updating and troubleshooting.
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
- Nextcloud app as a first browser-based version (preview)
- Browser-based interface for remote access
- Server-client architecture
- All current features available in the web version
- Multi-user support and sharing
License
Metadata
Release files for skjalf 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| skjalf-1.2.0.tar.gz | 43.2 kB | With provenance | Details for skjalf-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skjalf-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for skjalf-1.2.0-py3-none-any.whl |
Total release size: 87.8 kB
Release files / skjalf-1.2.0.tar.gz
| Download URL | skjalf-1.2.0.tar.gz |
|---|---|
| Size | 43.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ca27390a46497e524f8c28444644a00cb5271747fe57c523fa8317fdc1575d4
|
|
BLAKE2b-256 checksum How to use checksums |
880dc3317eb89335becff12f96a80d1efbe490ac0e62440e64c830255d7a14d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / skjalf-1.2.0-py3-none-any.whl
| Download URL | skjalf-1.2.0-py3-none-any.whl |
|---|---|
| Size | 44.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89a3ed350b0eb5da0a1f416aa1c00f0f4c57e78d4234d991b66ceae18cba7067
|
|
BLAKE2b-256 checksum How to use checksums |
66e8e27f7810f4dd52943089827811fc3a151ed145be0ddc2ab7fb7088209ee4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for skjalf 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for skjalf-1.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.