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

joplin-plugin-shared-attachments

v1.0.0

Published

Automatically moves attachments to a shared folder and updates links.

Downloads

1,199

Readme

Joplin Shared Attachments Plugin

This plugin automatically moves file attachments to a shared network folder (or any local folder) and updates the links in your notes to point to that shared location. This is useful for teams sharing a notebook where everyone has access to the same network drive.

Features

  • Automatic Interception: Detects when you attach a file to a note.
  • Shared Storage: Copies the file to a configured Shared Path.
  • Link Update: Replaces the internal (:/resource_id) link with a file:// link to the shared location.
  • Subfolders: Optionally organizes files into YYYY/MM folders.
  • Conflict Handling: Renames files if a file with the same name already exists.

Installation

Development / Testing

  1. Open Joplin.
  2. Go to Tools > Options > Plugins (Windows/Linux) or Joplin > Settings > Plugins (macOS).
  3. Click Manage your plugins.
  4. Check Enable development plugins.
  5. Click Load unpacked plugin and select the dist folder in this project.

Production

To create a .jpl file for distribution:

  1. Run npm run dist.
  2. Zip the contents of the dist folder into a file named joplin-shared-attachments.jpl.
  3. Install via Install from file.

Configuration

After installation:

  1. Go to Tools > Options > Shared Attachments.
  2. Shared Folder Path: Enter the path where attachments should be stored.
    • Windows UNC: \\Server\Share\Attachments
    • Local: C:\Users\Public\Documents
    • macOS/Linux: /mnt/server/attachments
  3. Use Subfolders: Check to organize by date (default: true).

Development

Building

  1. Install Dependencies:

    npm install
  2. Build:

    npm run dist

    This creates a .jpl file in the publish directory (or dist depending on config).

Architecture

  • src/index.ts: Entry point. Listens for onNoteChange, scans for resource links, extracts files, and updates links.
  • src/utils/files.ts: Handles file system operations (copying, ensuring directories, generated file URLs).