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-gemach-directory

v1.0.4

Published

Server-side storage + admin approval queue for a community gemach directory, filterable by city and category.

Readme

nodebb-plugin-gemach-directory

רשימה מסודרת של גמ"חים בפורום - מסוננת לפי עיר וקטגוריה, עם טופס הוספה ותור אישור למנהל (שום גמ"ח לא מוצג עד שמאשרים אותו).

מה זה כולל

  • בשרת (library.js, מותקן כפלאגין) - אחסון הגמ"חים, תור אישור, התראה למנהלים כשמוצע גמ"ח חדש.
  • בדפדפן (static/lib/gemach-directory-client.js, מודבק ב-Custom JS) - הצגת הרשימה, טופס ההוספה, ופאנל האישור שרואים רק מנהלים.

התקנה - שלב 1: הפלאגין בשרת

  1. פרסמו את התיקייה הזו ל-npm (npm publish --access public מתוך תיקיית הפלאגין - כמו שכבר עשיתם לפלאגין הביטוח).
  2. ב-ACP → הרחבות → תוספים → מציאת תוספים - חפשו gemach-directory, התקינו, הפעילו, ואז "בניה מחדש והפעלה מחדש".

התקנה - שלב 2: קוד הלקוח

מדביקים את כל התוכן של static/lib/gemach-directory-client.js ב-ACP → מראה חיצוני → תוכן מותאם אישית → Custom JavaScript - מתחת לקוד הקיים (אשף הרכב, ביטוח וכו'), לא במקומם.

התקנה - שלב 3: יצירת נושא "רשימת גמחים"

הווידג'ט לא זקוק לעמוד/כתובת מיוחדת - הוא מזהה לפי כותרת הנושא. פשוט פותחים נושא חדש בקטגוריה המתאימה (למשל קטגוריה ייעודית "גמ"חים"), עם כותרת שמכילה את המילים "רשימת גמחים" (עם או בלי גרשיים - למשל "רשימת גמ״חים - לחצו כאן להוספה"), ובגוף הנושא כותבים כל טקסט הסבר שרוצים (למשל "כאן תמצאו את כל הגמ"חים הפעילים בקהילה"). הווידג'ט המלא (סינון + רשימה + כפתור הוספה) יופיע אוטומטית מתחת לטקסט הזה - בלי לגעת בו.

איך זה עובד בפועל

  1. כל משתמש מחובר לוחץ "+ הוספת גמ"ח", ממלא שם/עיר/קטגוריה/איש קשר/תיאור.
  2. ההצעה נשמרת כ"ממתינה" - לא מוצגת לאף אחד, כולל למי ששלח אותה.
  3. כל חברי קבוצת "administrators" מקבלים התראת פעמון על ההצעה החדשה.
  4. מנהל שנכנס לעמוד הרשימה רואה מעל הרשימה הציבורית פאנל "ממתינים לאישור" עם כפתורי אשר/דחה לכל הצעה. אישור מעביר מיידית לרשימה הציבורית, דחייה מוחקת לגמרי - אין הצטברות "זבל".
  5. עיר וקטגוריה: יש רשימה קבועה של ערים נפוצות, עם אפשרות "עיר אחרת..." שפותחת שדה חופשי - כך שאף אחד לא "נתקע" אם העיר שלו לא ברשימה.

התאמה אישית

רשימת הערים והקטגוריות מוגדרת בתחילת gemach-directory-client.js (המשתנים CITIES ו-CATEGORIES) - אפשר להוסיף/להחליף לפי הצורך, ולפרסם מחדש את קוד ה-Custom JS.