Skip to main content

Managing Resources

Resources are files of any type: images, documents, videos, or anything else you want to store and organize.

Resource detail view

Uploading Resources

File Upload

Create resource upload form

  1. Navigate to Resources in the top menu
  2. Click the Create button
  3. Use the file picker to select one or more files
  4. Fill in optional metadata:
    • Name - Display name (defaults to filename if left empty)
    • Description - Text description of the resource. Type @ to mention and link to notes, groups, or tags (see Mentions)
    • Tags - Labels for organization
    • Groups - Associate with groups
    • Notes - Link to existing notes
    • Owner - The group that owns this resource
    • Resource Category - Classify the resource type
    • Series - Group related resources into a series
    • Meta - Custom key-value metadata
  5. Click Save to upload

You can upload multiple files at once by selecting them in the file picker.

URL Import

Import resources directly from web URLs:

  1. Navigate to Resources > Create
  2. Instead of using the file picker, paste a URL into the URL field
  3. Optionally check Download in background for large files
  4. Fill in metadata as desired
  5. Click Save

The URL field accepts multiple URLs (one per line) for batch imports.

Background Downloads

For large files or slow connections, enable Download in background:

  • The download starts immediately but you can navigate away
  • Progress is tracked in the Download Cockpit (a floating button in the bottom-right corner of the screen)
  • Failed downloads can be retried from the cockpit

Paste Upload

Paste images or files from the clipboard to create resources:

  1. Copy an image or file to the clipboard (e.g., screenshot, copied image from a webpage)
  2. Navigate to a group or note detail page, or a list view filtered by a single owner
  3. Press Ctrl+V / Cmd+V -- a modal appears showing a preview of the pasted content
  4. Set optional fields: tags, resource category, series
  5. Click Upload

The paste upload modal supports:

  • Batch uploads -- paste multiple items and upload them together
  • Duplicate detection -- if a file with the same hash already exists, the modal shows the existing resource ID
  • Context awareness -- when pasting on a group or note detail page, or a list view filtered by a single owner, the uploaded resource is associated with that entity automatically
  • Auto-close -- the modal closes and the page refreshes after a successful upload

Viewing Resources

Resource List

Resources display as cards. Each card shows:

  • Thumbnail preview (click to open in lightbox)
  • Resource name (click for detail page)
  • File size, owner, category with avatar
  • Expandable description
  • Tags with inline edit button
  • Checkbox for bulk selection

Resource Detail Page

Resource detail page with tags, groups, and metadata

Click a resource name to view its detail page, showing:

Main Content

  • Full description
  • Metadata panel (name, original name, dimensions, timestamps) with collapsible technical details (ID, hash, location, storage location)
  • Related notes
  • Related groups
  • Series siblings (if the resource belongs to a series)
  • Similar resources (when the hash worker is running)

Sidebar

  • File size
  • Preview thumbnail
  • Tags (with inline editing)
  • Image operations (for image files)
  • Custom metadata

Previewing Files

Click a resource thumbnail to open images in the lightbox, view PDFs in the browser, or download other file types. The lightbox supports arrow-key navigation across all visible resources.

Press T to open the Edit Tags panel in the lightbox. This panel lets you add/remove tags quickly using two methods:

Tag Search: Type in the search field at the top (press 0 to focus it) to find and add tags by name.

Quick Slots: The 3x3 grid below provides instant keyboard-driven tag toggling:

  • Tabs: Four customizable tabs (QUICK 1-4) and a RECENT tab. Switch with Z/X/C/V/B keys.
  • Assigning tags: Click an empty slot, then search for a tag to assign it. Slots can hold one or multiple tags.
  • Toggling: Press 1-9 (matching the numpad layout: 7-8-9 top row, 4-5-6 middle, 1-2-3 bottom) to toggle the tags in that slot on/off for the current resource.

Color indicators show each slot's state:

  • Green: All tags in the slot are on the resource (click/press to remove)
  • Amber: Some tags are on the resource (click/press to add the missing ones)
  • Gray: No tags from the slot are on the resource (click/press to add all)

Expanding Multi-Tag Slots

When a slot contains multiple tags, you can drill into it to toggle tags individually:

  1. Keyboard: Hold a number key (1-9) for 400ms on a multi-tag slot. A progress bar at the bottom of the slot shows the hold duration.
  2. Mouse: Click and hold a multi-tag slot card for 400ms.
  3. A short press (tap) still toggles all tags in the slot as a batch.

In expanded mode:

  • The tab bar is replaced with a Back button and "Slot N tags" label
  • Each tag from the slot appears as its own card in the 3x3 grid
  • Press 1-9 to toggle individual tags
  • Tags show green (on resource, press to remove) or gray (not on resource, press to add)

Exiting expanded mode:

  • Press Escape, 0, Z, X, C, V, or B
  • Click the Back button
  • Click outside the quick tag panel
  • Click any tab button (also switches to that tab)
Keyboard shortcuts summary
KeyAction
TToggle Edit Tags panel
1-9Toggle slot (tap) or expand slot (hold)
0Focus tag search (or exit expanded mode)
Z/X/C/VSwitch to QUICK 1-4 (or exit expanded mode)
BSwitch to RECENT tab (or exit expanded mode)
EscapeExit expanded mode, or close lightbox

Editing Resources

Edit Page

  1. Click Edit on any resource detail page
  2. Modify fields as needed:
    • Name
    • Description
    • Tags
    • Groups
    • Notes
    • Owner
    • Resource Category
    • Series
    • Custom metadata
  3. Click Save to apply changes

Note: You cannot replace the file itself when editing. To update a file, upload a new version and use the versioning system.

Inline Name Editing

On the resource detail page, click the resource name in the header to edit it directly. Changes save automatically when you click away or press Enter.

Tag Management

Manage tags directly from the resource detail page:

  1. Click the + button in the Tags section
  2. Search for and select tags
  3. Tags are added immediately

To remove a tag, click the x on the tag label.

Image Operations

Image resources have additional operations available in the sidebar:

Rotate

Rotate an image by a specified number of degrees. The UI provides a Rotate 90 Degrees button in the sidebar; the API accepts any integer angle:

  1. Navigate to the image resource
  2. In the sidebar, find Rotate 90 Degrees
  3. Click Rotate

Rotation creates a new version with the rotated content and clears cached thumbnails.

Recalculate Dimensions

If image dimensions appear incorrect:

  1. Navigate to the image resource
  2. In the sidebar, find Update Dimensions
  3. Click Recalculate Dimensions

This re-reads the image file and updates the stored width/height values.

Finding Similar Resources

Perceptual hashing finds visually similar images. On any image resource's detail page, the Similar Resources section shows matches as thumbnail cards sorted by similarity. Click Merge Others To This to combine duplicates into one resource.

This requires the background hash worker (enabled by default).

Deleting Resources

Single Resource

  1. Navigate to the resource detail page
  2. Click the Delete button in the header
  3. Confirm the deletion

Bulk Deletion

  1. In the resource list, select multiple resources using checkboxes
  2. Click the Delete Selected button in the bulk editor
  3. Confirm the deletion
warning

Deleted files are backed up to the /deleted/ directory before the database record is removed. Files are only physically deleted from primary storage if no other Resources or versions reference the same hash. The backup naming format is {hash}__{id}__{ownerId}___{basename}.

Resource Metadata

Automatic Metadata

Automatically captured on upload:

  • Original Name - The filename at upload
  • Original Location - Source URL for imports
  • Content Type - MIME type
  • File Size - Size in bytes
  • Hash - Content hash for deduplication
  • Dimensions - Width/height for images
  • Created/Updated - Timestamps

Custom Metadata

Add custom key-value pairs using the Meta Data section:

  1. In the create/edit form, find the Meta Data section
  2. Enter a key name
  3. Enter a value (supports text, numbers, JSON)
  4. Click + to add more fields
  5. Save the resource

Custom metadata is searchable and can be used in filters.

Free-Form Metadata Fields

The metadata editor renders dynamic key-value input rows. Each row has a key name field and a value field. Values are automatically coerced to typed JSON values:

InputStored As
true / falseBoolean
nullNull
42, 3.14Number
2026-03-05Date string
{"key": "val"}JSON object
anything elseString

Existing keys from other entities of the same type appear as autocomplete suggestions in the key name field, helping maintain consistent naming across resources.

Thumbnails

Thumbnails are generated automatically for supported file types:

File TypeRequirements
ImagesBuilt-in (HEIC/AVIF require ImageMagick)
SVGsBuilt-in (oksvg rasterizer)
VideosRequires FFmpeg
Office documentsRequires LibreOffice

Thumbnails are generated on demand when first requested and cached in the database. For video files, the background thumbnail worker can pre-generate thumbnails.

Download Cockpit

The Download Cockpit manages background URL downloads and plugin action jobs:

  • Access it via the floating button in the bottom-right corner, or press Cmd/Ctrl+Shift+D
  • View active, pending, and completed downloads
  • Pause pending or downloading jobs, and resume paused ones
  • Retry failed or cancelled downloads
  • Cancel pending or downloading jobs

Each download shows:

  • Source URL
  • Progress percentage
  • Download speed