npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@theaiinc/realm-ubuntu

v0.1.2

Published

Ubuntu Desktop engine for Realm — provides a full XFCE4 desktop environment in Docker with VNC, Chromium, and embedded Yggdrasil Ratatoskr for AI agent computer-use tasks

Readme

@theaiinc/realm-ubuntu

Realm

Ubuntu Desktop engine for Realm.

Provides a full XFCE4 desktop environment inside a Docker container, with VNC remote access, Chromium browser, and an embedded Yggdrasil Ratatoskr daemon — purpose-built for AI agent computer-use tasks.

Features

  • Full Ubuntu Desktop — XFCE4 with panel, terminal, and window manager
  • Virtual display — Xvfb framebuffer at configurable resolution (default: 1920×1080)
  • VNC access — Connect via any VNC client to observe and interact
  • xdotool input — Mouse, keyboard, and scroll simulation
  • ImageMagick screenshots — Fast, lightweight screen capture
  • Chromium browser — Bundled via Playwright (arm64-compatible). Firefox ESR also included.
  • Oasis Chrome Bridge — Pre-installed extension connects to the dev-agent WebSocket for computer-use automation
  • Embedded Ratatoskr — Yggdrasil runner daemon starts automatically when YGGDRASIL_URL is configured
  • Pre-installed tooling — Node.js 22, Python 3 (with pyautogui), Git, GitHub CLI, and more

Installation

pnpm add @theaiinc/realm-ubuntu

Quick Start

# Step 1: Build the Docker image
cd packages/realm-ubuntu
pnpm build:docker

# Step 2: Run with Ratatoskr for Yggdrasil orchestration
docker run -d \
  --name my-ubuntu-realm \
  -p 5901:5901 \
  -e YGGDRASIL_URL=http://host.docker.internal:3000 \
  -e CAPABILITIES=agent,code \
  realm-ubuntu

# Step 3: Connect via VNC
open vnc://localhost:5901

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | YGGDRASIL_URL | — | Yggdrasil server URL (enables Ratatoskr) | | CAPABILITIES | agent,code | Ratatoskr capability presets | | API_KEY | — | Yggdrasil API key | | RUNNER_NAME | realm-ubuntu | Ratatoskr runner name | | LLM_MODEL | google/gemma-4-26b-a4b-qat | LLM model for agent tasks | | LLM_BASE_URL | http://host.docker.internal:1234/v1 | LLM API base URL | | VNC_PORT | 5901 | VNC server port | | DEV_AGENT_WS_HOST | host.docker.internal | Oasis Chrome Bridge WebSocket host | | DEV_AGENT_WS_PORT | 8008 | Oasis Chrome Bridge WebSocket port |

Docker Image

The Dockerfile builds an image with:

  • OS: Ubuntu 24.04 (Noble)
  • Desktop: XFCE4 + Xvfb + x11vnc
  • Browsers: Chromium (Playwright) + Firefox ESR
  • Input/Display: xdotool + ImageMagick
  • Languages: Node.js 22, Python 3.12
  • Dev tools: Git, GitHub CLI, jq, ripgrep, build-essential, SQLite, PostgreSQL client, Redis tools
  • Ratatoskr: @theaiinc/yggdrasil-ratatoskr v0.2.x (global)

Architecture

graph TD
    subgraph Container[realm-ubuntu Container]
        XVFB[Xvfb] --> XFCE[XFCE4] --> VNC[x11vnc :5901]
        XFCE --> CHROMIUM[Chromium + Oasis Bridge Extension]
        CHROMIUM --> WS[WebSocket ── host:8008]
        XFCE --> RAT[Ratatoskr]
        RAT --> HTTP[HTTP ── host.docker:3000]
    end

License

MIT