Meguri User Guide

Everything you need to browse, search, and rediscover your local videos, photos, and audio.

Contents

Getting started

Install Meguri from the download page, then launch it. On first launch the library is empty, and a screen prompts you to add a folder.

macOS: allow the first launch. Meguri is not notarized by Apple (that requires a paid developer account), so macOS blocks the first launch with an "Apple could not verify…" dialog. Dismiss it, open System Settings → Privacy & Security, scroll down, and click Open Anyway next to the Meguri entry. This is only needed once. If macOS instead says the app "is damaged and can't be opened", you have a build from v0.1.0 or earlier — download the latest release and try again.
  1. Click the + button in the left sidebar (or the prompt on the empty screen) and pick a folder that contains your videos or photos.
  2. Meguri scans the folder recursively and starts generating thumbnails in the background. Progress is shown while it works — you can start browsing right away as items appear.
  3. That's it. The folder is remembered, and every later launch re-checks it automatically for new, changed, moved, or deleted files.

On first launch the pet also offers a short tour of the main screen, starting with a choice of language. Skip it with Esc, or replay it any time from Settings → App → Tutorial.

Your files are safe. Meguri reads the folders you add. It never modifies, moves, or deletes your media files; the one thing it writes is the new file a command makes when you run one (such as a conversion for editing software), next to the original or in the folder the command names; see Running commands. Everything it creates (thumbnails, tags, its database) is stored separately in its own app-data folder — see Where your data lives.

Browsing your library

Meguri browsing a media library in grid view

The main screen shows your library as an endless, scrollable wall of thumbnails. Four layouts are available from the header, so you can switch between visual browsing, a detail-oriented list, a walk through time, and a map of how your files relate:

The grid and the list can also be shown by folder instead of as one flat library.

The contribution graph button in the filter bar opens a panel over any view with a year of days as a heatmap, shaded by how many files you played, captured, created, or added on each. Click a day, or drag across several, to narrow the list to them.

To hand files to another app — a chat, an editor, a file manager — hover a file in the grid or the list and drag the arrow beside its checkbox. Drag from a selected file's arrow to carry the whole selection.

Scrolling is infinite — items load as you go, even in very large libraries. Use Ctrl + mouse wheel (or Ctrl + +/-) to make everything larger or smaller at any time.

Hover to peek inside a video. Move the mouse across a video thumbnail and it previews the scene under the cursor — left edge is the start, right edge is the end, like scrubbing a seek bar. It works in both layouts, so you can check what a video contains without opening it. If you prefer static thumbnails, turn it off in Settings → Hover preview.

Browsing by folder

The library shown by folder — opening a folder, going back up, and jumping to another from the breadcrumb menu

The Show by folder button in the header, next to the layout switch, turns the grid or the list into your folder tree. Each folder is a card with a preview of what is inside and a count of its items; click one to step into it. It is available while a single workspace is open (not in All, a collection, or the graph).

Playing videos and viewing photos

The detail view docked beside the library as a side peek, with a video playing

Click any thumbnail to open the detail view. It opens over the library, so closing it (or pressing Esc) drops you right back where you were.

Prefer to keep the library in reach? The button in the detail view's header opens it as a side peek instead: a sheet docked to the right edge, with the grid, search, and player bar still usable beside it. Drag the sheet's left edge (or focus the grip and use the arrow keys) to change its width. Meguri remembers whether you last used the modal or the side peek, along with the size of each, and opens the next file the same way; the peek's header has a button back to the modal.

The detail view is also where you edit a file's tags and rating, mark it as a favorite, and add scene bookmarks.

For SDR video, open Video adjustments at the upper right of the detail player. During playback, move the pointer over the player to show the button and playback bar. Both are visible while paused. Exposure is measured in stops and rolls highlights toward white. Contrast shapes a smooth curve around the adjustable pivot. The graph shows the combined exposure and contrast response. Use subtractive saturation, temperature, and tint to adjust the color.

Video adjustments opens a panel beside the player. In its Color section, use On / Off to compare the whole adjustment. Hold an individual control name to preview its neutral value, or focus the name and hold Space or Enter. Double-click a slider to reset just that control. Reset all returns the settings to neutral. Adjustments affect only this visit to the detail player. Source files, exported stills, and saved thumbnails are unaffected.

Listening to audio

A track playing in the bottom player bar while the library is browsed above it

Music and other audio files (mp3, m4a, flac, ogg, opus, wav) sit in the library next to your videos and photos, with any embedded cover art as their thumbnail. Clicking one starts it in a player bar along the bottom of the window rather than opening it: the bar shows the cover, the title, a seek bar and the volume, and it keeps playing while you scroll, search, or open other files. Close it with the × at its right end.

To edit a track's tags and rating, open its detail view from the name on its card, or from the title in the player bar. The detail view shows the cover art large with the same transport underneath, and closing it hands playback straight back to the bar without a gap.

Starting a video pauses the track, and the other way round, so the two never play over each other.

The detail view of a track with a live spectrum of bars filling the stage

While a track plays, the detail view, the side peek and the playlist player show a live spectrum of it: over the cover art, or filling the stage when the track has none. There are twelve patterns to choose from — bars, a ring, an LED meter, mirrored bars, an oscilloscope, a filled area, particles, strings, a ridgeline, ripples, orbs and a barcode — picked in Settings under Spectrum pattern, or stepped through with V (and Shift+V for the one before) while audio is on screen. The Audio spectrum switch in Settings, and the button on the detail view, turn the display off altogether; it also stays off while your OS is set to reduce motion.

A contact sheet of the twelve spectrum patterns

The search bar in the middle of the title bar filters your whole library. Click it, or press / or Ctrl+F, and the command menu opens over it with the current search in its field; edit it there and press Enter. You can combine:

Every active condition appears as a badge under the search bar. Click a badge's × to remove just that condition. Sort order (name, date, size, rating, …) is chosen next to the search bar.

Tip: clicking a tag anywhere — on a thumbnail or in the detail view — instantly searches for that tag. A search you like can be saved as a smart collection.

Tags, ratings, and favorites

All of these stick to the file's content, not its location: if you later rename a file or move it to another folder inside the same workspace, your tags, rating, favorite mark, and history follow it automatically after the next scan.

Tags are shared across workspaces by name. Letter case, extra spaces and invisible characters do not matter when you search or tag, so Trip and trip are one tag. Typing a word in the search lists the tags from every workspace whose names contain it, the ones in the current view first, below a first row that searches for what you typed. That row is highlighted to begin with, so Enter searches as usual; pick a tag with the arrow keys and Enter, or click it, and the word becomes that tag's condition, with the menu still open to type more. Typing tag: lists the tags directly. Backspace at the start of the field steps back onto the conditions; press it again to remove one.

The Tags screen (the tag button in the header) lists every tag with how many files carry it. Rename, merge, or delete tags there. The change applies to the workspaces in view — every workspace in the All view and in collections, only the current one otherwise. A tag that a keyword or folder rule of auto tagging names is changed in every workspace, wherever you are. Each spelling (Trip, trip) is listed on its own row, and renaming or merging either changes both. Switch to Cloud to see the tags sized by how many files carry them, and click one to search for it.

The Tags screen as a cloud, each tag sized by how many files carry it

Auto tagging

The auto-tagging screen with the code-prefix rule open, listing the files it would tag

File names often already say what a file is. The Auto tagging button (the sparkles in the header) opens a screen of conditions that turn names and folders into tags. The conditions are shared by every workspace; a folder rule belongs to the workspace its folder is in. Each tab edits one kind of condition:

The Keywords tab with a keyword open, listing the files whose names hold its term The Suggestions tab listing words from the file names that no condition covers yet

With Apply when scanning on, the conditions run on the files each scan adds or changes. Apply to existing files runs them over the whole library once; that cannot be undone. Either way they only add ordinary tags, never take one away. Renaming, merging or deleting a tag in the Tags screen updates the keywords and folder rules that name it.

To tag a single file from its name, open it: under its tags, the detail view cuts the name into parts, and clicking one adds it as a tag.

Editing several files at once

Four files selected, then rated, favorited and tagged from the selection bar

Hover a file in the grid or the list and tick the checkbox in its corner to start a selection. A bar appears along the bottom with the number of files selected and everything you can do to them together:

One edit covers up to 5,000 files. The × at the end of the bar leaves selection mode.

Running commands

Right-click a file, or use the selection bar, and choose Run command to run a program on the selected files. Only the commands every selected file is a kind of are offered. Before anything runs, a confirmation shows where the new files will be written and what they will be called; Run starts them. While they run, a notice at the top right and the status bar show how many are left and how far a conversion with the bundled ffmpeg has got; the notice stays until they are all over, then says how they went. Click the status bar to stop one, show a new file in its folder, or read why one failed.

Meguri comes with conversions for editing software that does not read what phones and cameras record (DaVinci Resolve on Linux does not decode AAC audio): Convert audio to PCM (MOV), which keeps the video as it is, Convert to DNxHR HQ (MOV) and Convert to ProRes 422 (MOV). Each writes a new file next to the original. An existing file is never overwritten: the new one is called clip (1).mov and so on instead.

Convert audio to PCM (MOV) keeps the video as it is, which suits H.264 and H.265, what phones and cameras record. A video that is VP9 or AV1, as many downloaded from the web are, cannot go into a MOV unchanged, so that command fails on it; use Convert to DNxHR HQ (MOV) or Convert to ProRes 422 (MOV), which convert the video too.

Your own commands

Write your own commands in commands.json: Settings → Commands → Open file opens it (creating it first) in your editor, and Meguri reloads it whenever you save. The same page lists the commands it read and why it skipped any; a mistake in one command skips only that one. Copy to my commands adds a built-in command to the file, to change from there.

{
  "commands": [
    {
      "id": "gif",
      "name": "Make a GIF",
      "program": "{ffmpeg}",
      "args": ["-i", "{path}", "-vf", "fps=10,scale=480:-1", "{output:.gif}"],
      "outputDir": "converted",
      "run": "each",
      "kinds": ["video"]
    }
  ]
}

In args, these stand for the file:

A name that starts with - can be taken for an option by the program. {path} is safe, as is {name} on its own (Meguri puts ./ before it); {stem}, or {name} inside a longer argument, is not. Where the program allows it, put -- before the file arguments.

On Windows, .bat and .cmd files cannot be started without a shell, so they are refused. Run a PowerShell script instead: "program": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" with "args": ["-File", "C:\\scripts\\tool.ps1", "{path}"].

Examples

Each one is a command to paste into the commands list (put a comma between two of them). Change its id if you add a second copy.

With the bundled ffmpeg

A still of the first frame, as PNG, into a stills folder next to each file.

{
  "id": "still-png",
  "name": "Save the first frame as PNG",
  "program": "{ffmpeg}",
  "args": ["-hide_banner", "-i", "{path}", "-frames:v", "1", "{output:.png}"],
  "outputDir": "stills",
  "run": "each",
  "kinds": ["video"]
}

The audio alone, as WAV, which every editor reads.

{
  "id": "audio-wav",
  "name": "Extract the audio as WAV",
  "program": "{ffmpeg}",
  "args": ["-hide_banner", "-i", "{path}", "-vn", "-c:a", "pcm_s16le", "{output:.wav}"],
  "run": "each",
  "kinds": ["video", "audio"]
}

A smaller copy to send: 720p H.264 with AAC audio, into a shared folder.

{
  "id": "share-720p",
  "name": "Make a 720p copy to share",
  "program": "{ffmpeg}",
  "args": ["-hide_banner", "-i", "{path}", "-vf", "scale=-2:720", "-c:v", "libx264", "-preset", "veryfast", "-crf", "26", "-c:a", "aac", "-b:a", "128k", "{output:.mp4}"],
  "outputDir": "shared",
  "run": "each",
  "kinds": ["video"]
}

A clip turned a quarter clockwise (transpose=2 turns it the other way); the audio is kept as it is.

{
  "id": "rotate-cw",
  "name": "Rotate 90° clockwise",
  "program": "{ffmpeg}",
  "args": ["-hide_banner", "-i", "{path}", "-vf", "transpose=1", "-c:v", "libx264", "-crf", "18", "-c:a", "copy", "{output:.mp4}"],
  "run": "each",
  "kinds": ["video"]
}

A photo at most 1920 pixels wide, as JPEG, into one folder for all of them. A full path must exist: create the folder first.

{
  "id": "photo-1920",
  "name": "Resize to 1920 px wide (JPEG)",
  "program": "{ffmpeg}",
  "args": ["-hide_banner", "-i", "{path}", "-vf", "scale='min(1920,iw)':-2", "-q:v", "3", "{output:.jpg}"],
  "outputDir": "/home/you/Pictures/Resized",
  "run": "each",
  "kinds": ["image"]
}

With other programs

Change the program's path to where it is on your computer.

HandBrakeCLI with one of its presets.

{
  "id": "handbrake-fast-1080p",
  "name": "HandBrake: Fast 1080p30",
  "program": "/usr/bin/HandBrakeCLI",
  "args": ["-i", "{path}", "-o", "{output:.mp4}", "--preset", "Fast 1080p30"],
  "outputDir": "converted",
  "run": "each",
  "kinds": ["video"]
}

ImageMagick, making a photo at most 1600 pixels on its longer side (the > leaves smaller ones as they are).

{
  "id": "magick-1600",
  "name": "ImageMagick: fit in 1600 px",
  "program": "/usr/bin/magick",
  "args": ["{path}", "-resize", "1600x1600>", "{output:.jpg}"],
  "run": "each",
  "kinds": ["image"]
}

A script of your own, given every selected file at once ("run": "all"): a file with #!/bin/sh on its first line and made executable runs as it is. It writes what it likes, so Meguri shows its path before it runs.

{
  "id": "my-script",
  "name": "Send to my script",
  "program": "/home/you/bin/collect",
  "args": ["{paths}"],
  "run": "all",
  "kinds": ["video", "image", "audio"]
}

On Windows, a PowerShell script for each file. -ExecutionPolicy Bypass lets a script of your own run without changing the policy for the whole computer.

{
  "id": "ps-script",
  "name": "Run my PowerShell script",
  "program": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
  "args": ["-NoProfile", "-ExecutionPolicy", "Bypass", "-File", "C:\\Users\\you\\scripts\\tool.ps1", "{path}"],
  "run": "each",
  "kinds": ["video"]
}

A command of your own runs the program you name with your permissions, and that program can do whatever it does, including changing or deleting files. Only add commands you understand.

Comparing two images

This feature is experimental, marked with a beaker: it may change or be removed in a later version.

Select exactly two images and click Compare in the selection bar to see what differs between them: an edited copy, a re-export, two shots in a row. The first image you selected is A, the second B; Swap A and B (S) turns them around.

Meguri looks for where B sits in A, so a cropped or shifted copy lines up instead of showing as changed everywhere. It goes by the outlines in the pictures, so a copy that is brighter, darker or in another theme still lines up, and by distinctive points it finds in both, so a large shift does too. A copy at another size (a thumbnail, an enlarged crop, up to four times either way) is drawn at the size that lines it up, and the bottom right shows the scale; it cannot be rotated. The bottom right shows the offset it found and how well the two match as a percentage. The match compares the outlines only, not the colours: it says how well the shapes line up, not whether the pixels are the same. A low match is flagged and the view opens with Align off, both images laid at the top-left corner: the images may not be the same picture, or one may be rotated, which the search does not handle. Align turns the offset on or off either way.

The views compare the two where they overlap. What lies outside the overlap, in either image, is shown dimmed.

Four ways to look at the pair (1–4):

Scroll to zoom and drag to pan; both images move together. 0 or a double-click fits the pair back in the window, and Esc closes the view. The button beside the close button shrinks the view to a centred panel and back, as in Discover. Videos cannot be compared.

Timeline view

The third layout in the header lays your library out by date, newest first, in a section per day with the date and its number of files above it. The heading stays put at the top while you scroll through that day, so you always know when you are. Thumbnails look and work as they do in the grid: open, favorite, rate, select and edit files the same way, and step through them in the detail view across the days. It follows the same search and filters as the other layouts.

Graph view

The graph view — picking a tag from the search to light up its files, then orbiting the same graph in 3D

The fourth layout in the header draws your library as a network: files and tags are dots, and a line joins a file to each of its tags. Files that share tags gather around them, so clusters and odd ones out are easy to spot. It follows the same search and filters as the list, and it needs tags to have anything to connect. Up to 5,000 files are drawn at once; narrow the list down to see the rest.

Collections

Meguri has two ways to group files, for two different jobs:

CollectionsSmart collections
What they are Hand-picked sets of files, like playlists or albums. Can mix files from different workspaces, and each can have its own emoji icon. Saved searches. You name a set of search conditions and re-run it with one click.
How to build one Create a collection in the sidebar, then add files to it from the detail view or context menu. Set up a search you like, then save it from the search area.
What's inside Exactly the files you added, in the order you arrange them. Whatever currently matches the conditions — new files that match show up automatically.

One smart collection can be marked as the default with the star beside it in the saved-search menu. It is then the filter Meguri starts with on launch, and the one Clear all returns to.

Discovery

Discovery — immersive random picks with a scene-preview rail and reshuffle

The bigger a library grows, the more of it sinks out of sight. Discovery deals you a random hand from your library and presents each pick full-screen, one at a time — the video plays large in the middle, with a rail of scene previews along the bottom. Hover a scene to enlarge it, click it to jump straight to that moment, or scrub the main video by hovering it. One click reshuffles the deck. Great for rediscovering things you forgot you had.

Playlist playback

The playlist player — a full-screen player running a list hands-off, with shuffle and auto-advance

Any list you are looking at can play itself. Press the play button in the bottom-right corner (or open a collection and start it from there) and a full-screen player takes the list exactly as it is on screen — a collection, Watch Later, a workspace listing, or a search result, in whatever sort order you chose — and runs it without further input. Browsing by folder, it plays the whole folder instead of only the files shown in it: every subfolder included, by name unless you chose a sort.

Keyboard: Space play/pause, N next, P previous, S shuffle, F full screen, I to step out to the current file's detail view (coming back resumes where you left off), V / Shift+V to step through the spectrum patterns on an audio track, and Esc to leave the player and return to the list you started from.

Tip: Settings → Playlist playback sets how long each image is shown, whether images animate, the transition between items, and whether shuffle is on by default.

Scene bookmarks and history

The play-history view — a day-grouped timeline of everything you've played

The pet

The pixel-art zabuton pet picked up and dropped, fed a file, and bringing one back

A small pixel-art zabuton (a floor cushion) walks along the bottom of the window. It is there for company, and it doubles as a shortcut:

Put away in its menu hides it. Bring it back, or change its size, under Settings → General.

Workspaces

Each folder you add is a workspace with its own independent library — its own database, thumbnails, and scan schedule. The icon rail on the far left (Slack-style) lets you add, switch between, and remove workspaces.

Keeping files and folders out of scans

Some folders are not worth listing: thumbnail caches a NAS writes, proxies, private folders. Excluding them hides their files from the library at once and leaves them out of every later scan. Nothing is deleted from your disk, and if you take an exclusion away, the files come back at the next scan with their tags, ratings and history.

There are two ways to exclude something.

A folder, in one workspace

The confirmation for excluding the cache folder, showing where it is on disk and that its three files will be hidden The Edit workspace dialog listing two excluded folders, one marked to be included again on save

A pattern, in every workspace

Patterns live in Settings → Scan, under Exclude by pattern (marked Global), and apply to every workspace. Pick how a pattern is written, then type it:

Settings, Scan tab: the name pattern private being typed, with the two files it would hide listed below
KindExampleWhat it excludes
Name (the default) private, *.tmp, Thumbs.db Files and folders with that name, at any depth. A folder takes everything inside it. * stands for any text within a name; every other character, such as . or (, means itself.
Name with a / work/private, /private That path, counted from the workspace folder. /private is only the private folder at the top, not one deeper down.
Name ending in / private/ Folders with that name only, not files.
Contains temp Anything whose path contains the text, even in the middle of a name: temp also excludes attempt.mp4.
Regex (^|/)private/ A regular expression, for when the others are not enough. It is matched against the path from the workspace folder, where a folder's path ends with /.

Below the patterns, Exclude by folder lists each workspace with how many folders it excludes; Manage opens that workspace's list.

The tray icon and quitting

Meguri lives in your system tray. Closing the window hides it to the tray instead of quitting — the app keeps running so it can reopen instantly. Click the tray icon to bring the window back.

To exit completely, choose Quit from the tray icon's menu (on macOS, Cmd+Q also works).

Themes, language, and zoom

Meguri with the Cyberpunk sample CSS theme, dark variant Meguri with the Sky sample CSS theme, light variant

Where your data lives

Everything Meguri creates is kept in one place, separate from your media (locations shown for Linux; on Windows it's under %APPDATA%, on macOS under ~/Library/Application Support):

Privacy: Meguri works offline, and your media and library data stay on your device. There is no telemetry, no analytics, and no account. The only request to the internet is the update check, which asks GitHub for the latest release; to turn off automatic checks, open Settings → App → Updates and turn off Check automatically. Your files are streamed to the app window by a local server on your own machine.

Note: tags, ratings, and history stored in the database may be lost when Meguri's internal data format changes between versions. Your media files themselves are never at risk.

FAQ

A video won't play — what do I do?

Most formats play in-app, but a few codecs aren't supported by the built-in player. Use Open externally in the detail view to play the file with your system's default player.

I added files to my folder but they don't show up.

Click Scan in the header to re-scan the workspace. New files are also picked up automatically the next time the app starts.

I moved/renamed files — did I lose my tags?

No. Meguri identifies files by their content, so tags, ratings, favorites, and history follow a file across renames and moves within the same workspace. Just run a scan after reorganizing.

Does Meguri change my files in any way?

No. Meguri only reads the folders you add. Thumbnails and metadata are stored in its own app-data folder, never next to your media. The exception is a command you run on a file, such as Convert audio to PCM (MOV): it writes a new file next to the original (or in the folder the command names), leaves the original as it was, and never overwrites an existing file. A command you add yourself runs the program you name, which can do whatever that program does.

How do I uninstall cleanly?

Uninstall the app as usual for your OS, then delete Meguri's app-data folder (see Where your data lives) if you also want to remove thumbnails, tags, and settings. Your media files are unaffected.