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

@helyx/module-starboard

v1.0.9

Published

Highlight messages a Discord community values.

Readme

@helyx/module-starboard

Starboard highlights messages that receive a configured community reaction, creates one managed Discord card, and keeps that card aligned through bounded reaction and source-message lifecycle work.

Availability and deployment

Starboard is Live and supports Hosted Helyx and Helyx Self-Hosted. It uses only Helyx runtime services and Discord capabilities available in both deployment modes. Every server starts with the module disabled; an enabled server without saved settings remains safely idle.

What it does

Managers choose one destination, reaction emoji, threshold, public source-channel rule, presentation mode, tracking window, and card lifecycle policy. Starboard deduplicates simultaneous promotions, coalesces rapid count changes, archives tracked entries at the configured deadline, and compensates when Discord publishing succeeds but durable state cannot be completed.

It does not store source-message content, attachment bodies, or reactor lists. It does not support private or role-gated sources, forum posts, multiple boards, weighted reactions, force-add, or message imports.

Commands and interactions

Starboard has no slash command. Discord reaction-add/remove/clear and source-message update/delete events drive automatic work. Managers inspect and operate retained entries through the dashboard actions below.

| Dashboard action | Default access | Purpose | | ---------------- | -------------------------------- | ---------------------------------------------------------- | | Remove entry | Members with Manage Messages | Delete the managed card and suppress automatic recreation. | | Restore entry | Members with Manage Messages | Restore an eligible suppressed or below-threshold entry. | | Refresh entry | Members with Manage Messages | Re-read the source and reconcile the saved count and card. |

Entry list and detail access uses the starboard.status manager policy. Action identities remain starboard.remove, starboard.restore, and starboard.refresh.

Dashboard configuration

Settings define the destination, emoji, threshold, Preview or link-only mode, channel inclusion rule, self-star and bot-message policy, below-threshold and source-deletion behavior, edit synchronization, attachment limits, tracking window, capacity archival, and bounded retention windows.

The Entries resource provides bounded search, status filtering, graphical detail, an on-demand source-message relation, and revision-aware actions. Existing entries retain their snapshotted rules when settings change.

Discord requirements

Starboard needs View Channel, Read Message History, Send Messages, Embed Links, and Manage Messages in the applicable channels. Reaction and guild-message events are required. Preview mode additionally requires the privileged Message Content intent; link-only mode does not.

The destination and every source must remain safely accessible. Private or role-restricted sources are rejected, and age-restricted content is never copied into a non-age-restricted destination.

Data, privacy and retention

The entries collection retains bounded server, source-channel, source-message, destination, managed-card, author and manager identifiers; snapshotted rules; derived counts; lifecycle state; and timestamps. It never stores message bodies, attachments, usernames, avatars, or reactor identities.

The versioned privacy provider covers source_author_user_id and removed_by_user_id, including while Starboard is disabled. Suppressed, terminal, and archived mappings use the configured retention windows; fixed deletion is scheduled through the platform boundary.

Operations and failure behavior

PostgreSQL-backed records are authoritative. Exact source/card lookups use bounded positive and negative caches with concurrent-load coalescing; caches are discarded on stop and correctness survives a cold restart. Promotion uses a unique source-message claim and an idempotent Discord send. A failed post-send state transition deletes the untracked card or records cleanup_pending for durable retry.

Count refreshes are coalesced, while expiry and cleanup use bounded at-least-once scheduled tasks. Task handlers re-read current state and use status/count fences so duplicate or stale delivery converges without recreating side effects. Required service loss or a recent primary failure reports unhealthy; recoverable cleanup, scheduling, or reaction-removal trouble reports degraded with fixed safe text. Optional customer Logging failure never reverses committed Starboard work.

Documentation and support

See the Starboard guide, settings, entries, permissions, logging, and FAQ.