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

oblecto

v1.0.1

Published

Oblecto is a frontend agnostic media butler bringing high performance high quality media streaming to the home

Readme

npmjs CI DeepSource DeepSource

Oblecto logo

Oblecto

Oblecto is a self-hosted media server for the movies and TV shows you already own. It indexes your folders, fetches metadata and artwork, and streams to its own web app and to Jellyfin apps.

Features

  • Movie and TV libraries, identified and kept up to date in the background.
  • Metadata and artwork from TMDb, TVDB and fanart.tv. Oblecto ships with the project's API keys; you can use your own.
  • A web app with browsing, search, continue watching, a full player and remote control of other devices.
  • Direct play, and on-the-fly conversion to HLS with FFmpeg when a device needs it.
  • A Jellyfin-compatible API on port 8096, so Jellyfin apps on phones, TVs and desktops can sign in and play.
  • Accounts with groups and permissions, per-user preferences and avatars, and an optional profile picker on the local network.
  • A problem files page for anything that could not be identified or read, with retry.
  • Optional federation between Oblecto servers and seedbox import.

Planned for later releases: watchlists, favourites and ratings, editing metadata by hand, and music.

Install

Oblecto needs Node.js 24 or newer, FFmpeg, and guessit (python3-guessit on Debian and Ubuntu, or pip install guessit).

With npm

npm install -g oblecto
oblecto init            # writes /etc/oblecto/config.json with a random secret
oblecto adduser USERNAME - "Your Name" [email protected] Administrators
oblecto start

oblecto adduser asks for the password when you pass -. Then open http://localhost:8080 and sign in. Add your library folders under Settings.

With SQLite, Oblecto uses the native sqlite3 module when its binary is installed, and Node's built-in node:sqlite otherwise. The native module keeps the server responsive during long queries, which matters for large libraries. npm 12 skips the step that installs its binary, so to get it, allow that step:

npm install -g --allow-scripts=sqlite3 oblecto

The startup log says which one is in use. Installs from a checkout and the Docker image get the native module on their own.

To keep your data somewhere else, run oblecto init --config-dir DIR and set OBLECTO_CONFIG_PATH=DIR/config.json for every later command.

As a service

contrib/oblecto.service runs Oblecto as its own user under systemd. The install steps are at the top of that file.

With Docker

docker run -d --name oblecto \
  -p 8080:8080 -p 8096:8096 \
  -v oblecto-data:/etc/oblecto \
  -v /path/to/movies:/movies:ro \
  -v /path/to/shows:/shows:ro \
  ghcr.io/robinp7720/oblecto
docker exec -it oblecto oblecto adduser USERNAME - "Your Name" [email protected] Administrators

The first start writes a config into the /etc/oblecto volume. Everything Oblecto keeps lives there: config, SQLite database, artwork and logs.

Configuration

Oblecto reads OBLECTO_CONFIG_PATH, or /etc/oblecto/config.json. Anything the file leaves out takes its default from res/config.json. Most settings can be changed in the web app under Settings.

| Setting | What it does | |---|---| | server.port | Web app and API port (8080) | | jellyfin.enabled, jellyfin.port, jellyfin.host | The Jellyfin-compatible API (on, 8096, all interfaces) | | database | sqlite with storage for the file, or mariadb/mysql with host, username, password and database | | database.migrateOnStart | Update the database schema when Oblecto starts (on) | | movies.directories, tvshows.directories | Library folders | | themoviedb.key, tvdb.key, fanart.tv.key | Metadata and artwork API keys (the project's, unless you set your own) | | authentication.secret | Signs sign-ins; oblecto init generates it | | authentication.tokenLifetimeDays | How long a web sign-in lasts (30) | | authentication.profilePicker, localPasswordlessLogin, allowPasswordlessLogin | Sign-in without typing a username or password on the local network (all off) | | authentication.localSubnets, trustProxy | What counts as the local network, and whether to trust X-Forwarded-For | | server.corsOrigins | Other web origins allowed to call the APIs from a browser (none) | | logging | Log directory (beside the config file), level, maxSizeMB, maxFiles | | indexer.runAtBoot, cleaner.runAtBoot | Scan the libraries, or clean up missing files, at every start (off) |

Oblecto refuses to start without a config file or a signing secret, and says why.

Groups and permissions

The first start creates two groups. Administrators may change settings, manage users and libraries, and run maintenance. Users may watch. Put people in groups on the Users settings page, or from the command line:

oblecto usergroup USERNAME Administrators

Oblecto will not delete or demote the last administrator.

Command line

oblecto start | start-tui            Run the server, or with a terminal dashboard
oblecto init [--config-dir DIR]      Write a config, artwork folders and federation keys
oblecto migrate [--status]           Update the database (also runs at start)
oblecto adduser USERNAME - NAME EMAIL [GROUP]
oblecto changepassword USERNAME
oblecto removepassword USERNAME
oblecto usergroup USERNAME GROUP
oblecto deluser USERNAME

Upgrading

Back up your database, install the new version and start it. See docs/UPGRADING.md for what changes and what to check.

Development

git clone --recurse-submodules https://github.com/robinp7720/Oblecto.git
cd Oblecto
npm ci
npm run build:web
OBLECTO_CONFIG_PATH=/path/to/dev-config.json npm run dev
npm run verify           # lint, typecheck and tests, as CI runs them

npm run build builds both web apps and the server into dist/. npm run test:network runs the tests that call the real metadata services. The Playwright suites run with npm run test:player:ui and npm run test:playback:browser.

To run the web app from Vite's dev server against a local Oblecto, add its origin to server.corsOrigins.

API references: REST, realtime, streaming, and Jellyfin compatibility.

Security

See SECURITY.md for what Oblecto protects, what it leaves public on purpose, and how to report a problem.

License

AGPL-3.0-or-later. The bundled Jellyfin web client is GPL-2.0, from jellyfin-web.

Powered by