Skip to content

motlab 0.3.0

Latest

Choose a tag to compare

@staryone staryone released this 18 Nov 14:02
· 5 commits to main since this release
9a44f75

A player bar for full screen, notes you can move and resize, a phone layout for the viewer, Hermes Agent and Muse Code in setup, and two fixes: rendering as root, and WebM footage that came a frame late.

Install

npm install -g @motlab/cli
npx @motlab/cli setup

To update from 0.2.x:

npm install -g @motlab/cli@latest
motlab setup --update

Then run motlab restart if the viewer is running.

Added

  • A player bar in full screen. A white card along the bottom with a scrub bar split into scenes, the notes' numbers above it, the time and scene on the left, previous, play and next in the middle and the exit button on the right. It stays hidden so it covers nothing, and comes up when the pointer is near the bottom edge, after Space or an arrow key, or with a tap near the bottom on a touch screen. F opens and closes full screen, and the arrows step a frame.
  • Move and resize a note's box. Open the note, then drag inside the box to move it or a corner or an edge to resize it. A point can be dragged too.
  • Delete all done notes in one go, under the unfolded done notes.
  • A phone layout. Held upright, the viewer is one column: the preview across the top, the toolbar, the timeline, then the notes, scenes and audio. Held sideways, the side panel starts closed. Menus open across the width, and the note card sits above the keyboard.
  • Hermes Agent and Muse Code. --skill hermes puts the skills in Hermes's own folder, and --skill muse in ~/.agents/skills, which Muse Code reads.

Fixed

  • Rendering as root, in a container or on a VPS, failed at the first scene because Chrome refuses to start as root without --no-sandbox. motlab now passes it when it runs as root, and only then. Thanks to @Rifkiend for #2.
  • Footage in WebM or MKV showed every third frame one frame late at 30 fps, because these containers store timestamps in whole milliseconds. Every frame is now right for VP9 in WebM and MP4 and for H.264 in MKV, MP4 and MOV, at 24 to 60 fps.
  • In full screen, Space pressed the full-screen button again instead of playing.

Tested

On Windows 11: the test suite, the package packed and installed into a separate npm folder (setup for Hermes and Muse, the launcher, motlab update, a render of the example), the viewer in Chrome at desktop size, and a phone emulated in Chrome at 390, 360, 844 and 740 px wide. Rendering as root was checked on Ubuntu 24.04 by @Rifkiend and on a Linux VPS. Not tried: a real phone, Hermes and Muse loading the skills, and macOS.

The full list is in CHANGELOG.md.