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

deovr-server

v1.5.0

Published

A folder browser web app with support for deovr next and back in videos

Readme

Features

  • Automatic DeoVR browser detection
  • Video metadata extraction (resolution, duration, codec, fps)
  • Next/Previous video navigation
  • Direct file serving for non-DeoVR clients
  • Support for MP4, M4V and WebM formats
  • In-memory file list caching for improved performance
  • 3-hour HTML page caching for super fast navigation
  • Auto-advancing random media cards

Command Line Usage

Install globally to use the CLI:

npm install -g deovr-server

CLI Options

  • --port, -p: Set server port (default: 3000)
  • --timeout, -t: Set filesystem operation timeout in milliseconds (default: 10000)
  • Video directory path

Serve a video directory on port 3000:

deovr-server

Serve the video directory /media/videos on port 8080:

deovr-server -p 8080 /media/videos

Serve a directory with a longer timeout (30 seconds) for slow drives:

deovr-server -t 30000 /media/slow-drive/videos

Environment Variables

The following environment variables can be used to configure the server instead of CLI arguments:

| Variable | Description | Default | |----------|-------------|---------| | DEOVR_LIST_PORT | Server port | 3000 | | DEOVR_LIST_PATH | Video directory path | . | | DEOVR_FS_TIMEOUT | Filesystem operation timeout in milliseconds | 10000 |

Environment variables take precedence over CLI arguments and config file settings. Example usage:

DEOVR_LIST_PORT=8080 DEOVR_LIST_PATH=/videos deovr-server

Caching

The server implements several caching mechanisms to improve performance:

  1. In-memory file list cache: File listings are cached in memory for 5 minutes to reduce filesystem operations.
  2. File details cache: Metadata for files (size, duration, etc.) is cached for 1 hour.
  3. HTML page cache: Rendered HTML pages are cached for 3 hours for super fast navigation.

Cache is automatically invalidated when files are modified (moved to/from the remove folder).

You can manually clear all caches by clicking the "Clear Cache" button in the UI or by making a POST request to /api/clear-cache.

Handling Slow or Sleeping Drives

The server includes timeout handling for filesystem operations, which is particularly useful when working with:

  • External hard drives that may be in sleep mode
  • Network attached storage (NAS) with slow response times
  • Drives with very large directories containing many video files

If a filesystem operation times out, the server will:

  1. Return a user-friendly error message
  2. Continue functioning for other requests
  3. Attempt to provide partial results when possible

You can adjust the timeout duration using the --timeout command line option or the DEOVR_FS_TIMEOUT environment variable. The default timeout is 10 seconds (10000ms).

API Endpoints

  • GET /api/files?path=<path> - Get file list for a directory
  • GET /api/file-details?path=<path> - Get detailed information about a file
  • POST /api/remove-file?path=<path> - Move a file to the remove folder
  • POST /api/restore-file?path=<path> - Restore a file from the remove folder
  • GET /api/cache-status - Get information about the cache
  • POST /api/clear-cache - Clear all caches