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

@vicacha-devs/strapi-plugin-resources

v1.1.1

Published

Generic Strapi v5 Digital Library Publications, Media Library Folder-Synced Photo Galleries & Multilingual A-Z Glossary Plugin powered by @strapi/upload and @vicacha-devs/strapi-plugin-calendar

Readme

@vicacha-devs/strapi-plugin-resources

Reusable Strapi v5 Media Library, Digital Publications, Photo Galleries & Glossary Plugin (plugin::resources) built natively on top of Strapi v5's @strapi/upload (plugin::upload.file & plugin::upload.folder) and @vicacha-devs/strapi-plugin-calendar.

Features

  • Native Strapi v5 Media Library Integration:
    • Uses plugin::upload.file for PDFs, eBooks, cover artwork, multi-photo gallery albums, and glossary pronunciation audio.
    • Uses plugin::upload.folder for authenticated admin folder-to-album synchronization (POST /resources/galleries/:documentId/sync-media-folder).
    • Automatic Cloudinary f_auto,q_auto responsive URL optimization when @strapi/provider-upload-cloudinary is active.
  • 3 Localized Content-Types (i18n & Draft/Publish Ready):
    • plugin::resources.publication: Digital library guides, books, pamphlets, and press kits with HMAC-SHA256 signed download tickets, atomic downloadCount tracking, and extension/MIME allow-list enforcement (active-script types such as .svg, .html, .js, and .exe are unconditionally blocked).
    • plugin::resources.gallery-album: Curated photo & video albums with photoCount, photographer credit, internal framing notes (redacted from public Content-API responses), and secondary calendar dates.
    • plugin::resources.glossary-term: Structured A–Z terminology index with native script, transliteration, definition, and optional audio pronunciation.
  • Role-Based Access Control (RBAC):
    • plugin::resources.read: View catalog hub, media folders, and media files in Strapi Admin.
    • plugin::resources.manage: Create, update, delete, and folder-sync publications, gallery albums, and glossary terms.
    • plugin::resources.settings: Read and update plugin settings (/admin/settings/resources).
  • Public Content-API Endpoints (/api/resources/*, status: "published" enforced):
    • GET /api/resources/hub
    • GET /api/resources/publications & GET /api/resources/publications/:slug
    • POST /api/resources/publications/:slug/download (returns application/json signed ticket { data: { documentId, slug, downloadUrl, expiresAt, signature, recommendedHeaders, ... } })
    • GET /api/resources/galleries & GET /api/resources/galleries/:slug
    • GET /api/resources/glossary
  • Multi-Calendar Secondary Dates:
    • Powered by @vicacha-devs/strapi-plugin-calendar (islamic-umalqura, islamic-civil, hebrew, persian, buddhist, coptic, ethiopic, or none).
  • 3-Tab Admin Settings Panel (/admin/settings/resources):
    • Tab 1 — Media Library Folders & Organization: Configure organizationName, defaultPublicationsFolderPath (default /publications), defaultGalleriesFolderPath (default /galleries), secondaryCalendar, defaultLocale (default "es"), and supportedLocales (default ["es", "en", "ar", "tr"]).
    • Tab 2 — CDN Optimization & Folder Sync: Toggle enableCloudinaryOptimization (f_auto,q_auto), autoSyncMediaFolders, and maxPhotosPerAlbum (1–500, default 60).
    • Tab 3 — Download Security & Allow-Lists: Configure allowedDownloadExtensions and allowedDownloadMimeTypes enforced on POST /api/resources/publications/:slug/download.
  • 10 Admin UI Locales: en, es, ar, tr, fr, de, it, pt, ru, zh.

Quick Installation & Configuration

pnpm add @vicacha-devs/strapi-plugin-resources @vicacha-devs/strapi-plugin-calendar

Set RESOURCES_DOWNLOAD_SECRET in production (minimum 32 random characters recommended) and configure the plugin in config/plugins.ts:

export default ({ env }) => ({
  resources: {
    enabled: true,
    config: {
      downloadSecret: env("RESOURCES_DOWNLOAD_SECRET"),
      organizationName: env(
        "RESOURCES_ORG_NAME",
        "Community Center & Digital Library"
      ),
      defaultPublicationsFolderPath: "/publications",
      defaultGalleriesFolderPath: "/galleries",
      secondaryCalendar: "islamic-umalqura",
      defaultLocale: "es",
      supportedLocales: ["es", "en", "ar", "tr"],
      enableCloudinaryOptimization: true,
      autoSyncMediaFolders: true,
      maxPhotosPerAlbum: 60,
      allowedDownloadExtensions: [
        ".pdf",
        ".epub",
        ".png",
        ".jpg",
        ".jpeg",
        ".webp",
        ".mp3",
        ".m4a",
        ".zip",
      ],
      allowedDownloadMimeTypes: [
        "application/pdf",
        "application/epub+zip",
        "image/png",
        "image/jpeg",
        "image/webp",
        "audio/mpeg",
        "audio/mp4",
        "application/zip",
      ],
    },
  },
});