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

nodebb-plugin-facebook-post

v1.0.53

Published

Auto-post new NodeBB topics to a fixed Facebook Page (text + NodeBB uploads).

Readme

nodebb-plugin-facebook-post

Plugin NodeBB 4.x : publie automatiquement les nouveaux topics sur une Page Facebook fixe (association), avec images (uploads du forum) et tag de lieu (Facebook Place ID).

Fonctionnement

  • L’utilisateur (si autorisé) voit dans le composer :
    • une checkbox : “Publier ce nouveau topic sur Facebook”
    • un champ optionnel : “Lieu (Facebook Place ID)”
  • Le plugin ne publie que le 1er post d’un topic (pas les réponses).
  • Les images sont extraites du contenu (Markdown/HTML) et filtrées sur le domaine du forum (uploads NodeBB).
  • Publication Facebook :
    • upload des photos en published=false
    • création du post /feed avec attached_media[]
    • ajout du paramètre place si un Place ID est fourni

Variables d’environnement (OBLIGATOIRES)

  • NODEBB_FB_PAGE_ID : l’ID de la Page Facebook (celle de l’association)
  • NODEBB_FB_PAGE_ACCESS_TOKEN : token d’accès de la Page
  • NODEBB_FB_GRAPH_VERSION : optionnel (défaut v25.0)
  • NODEBB_FB_ALLOWED_GROUPS : liste de groupes NodeBB autorisés (séparés par virgules)
    • ex: Staff,Communication

Exemple :

export NODEBB_FB_PAGE_ID="1234567890"
export NODEBB_FB_PAGE_ACCESS_TOKEN="EAAB..."
export NODEBB_FB_GRAPH_VERSION="v25.0"
export NODEBB_FB_ALLOWED_GROUPS="Staff,Communication"

⚠️ Après modification des variables d’environnement, redémarre NodeBB.

Installation

  1. Copier le dossier du plugin dans node_modules/nodebb-plugin-facebook-post (ou publier via git/npm, au choix).
  2. Rebuild & restart :
./nodebb build
./nodebb restart
  1. ACP → Plugins → activer “Facebook Post”.
  2. ACP → Plugins → Facebook Post : activer + régler options.

Notes

  • Le plugin enregistre fbPostedId et fbPostedAt dans le post pour éviter les doubles publications.
  • Si une image n’est pas accessible publiquement (permissions/catégorie privée), Facebook ne pourra pas la récupérer via url=.