viewer

package
v0.22.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package viewer is the Viewer module: look at an artifact (a picture, a video, a recording, a PDF, an HTML mock) and point at what you mean. Drag a box on it, or click for a pin, and say what about it; a mark on a video or a recording remembers the moment. The bytes come from the Files module (its places and its checks); the marks are the app's own (Host.Marks), on the ref viewer:<place>:<path>, so the agent reads them with the rest.

Ported from Basalisk's Viewer (frontend/src/apps/viewer), which kept the marks in Caster.

Index

Constants

This section is empty.

Variables

View Source
var Reviewable = regexp.MustCompile(`(?i)\.(png|jpe?g|gif|webp|avif|svg|mp4|webm|mov|m4v|mp3|wav|m4a|ogg|pdf|html?)$`)

Reviewable are the files the Viewer shows.

Functions

func Ref

func Ref(place, rel string) string

Ref is the marks ref of a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL