Skip to content
monbooruPublic

About

Browser extension for monloader

Topics

Resources

Contributing

Stars

8 stars

Watchers

1 watching

Forks

Repository files navigation

monsender

A small firefox or chrome extension for monloader. It sends the page you are looking at, a right-clicked image or video, or images you pick from a page scan to your monloader download queue, which pushes them into monbooru.

Features

  • Send the current page to monloader (via toolbar or via Ctrl+Shift+L shortcut).
  • Right-click an image or video and "Send to monloader".
  • Scan a page for images and pick which to send from a docked side panel.
  • Watch and manage the monloader queue

Related applications

monsender is a companion browser extension for monloader. It hands the page you're viewing to monloader's download queue :

flowchart LR
    web["`- Any booru or gallery supported by gallery-dl
- Direct image URL`"]
    ptr["`Hydrus
Public Tag Repository`"]
    sender(["`**monsender**
browser extension`"])
    loader["`**monloader**
downloader`"]
    booru["`**monbooru**
Your self-hosted booru`"]

    web -->|browse| sender
    sender -->|send URL| loader
    web -->|paste URL| loader
    loader -->|push images, tags, source| booru

    booru -.->|lookup by hash| loader
    loader -.->|reverse lookup: md5 + similarity| web
    ptr <-.->|"`sync: sha256 tags + aliases + implications
contribute back (planned)`"| loader

    classDef hub  fill:#5c6bc0,stroke:#9fa8da,stroke-width:3px,color:#ffffff;
    classDef tool fill:#16161c,stroke:#5c6bc0,stroke-width:1.5px,color:#c8c8c8;
    classDef src  fill:#16161c,stroke:#8888a0,stroke-width:1px,color:#8888a0;

    class sender hub;
    class loader,booru tool;
    class web,ptr src;
Loading
  • monsender : this application; sends the URL of the page you're currently browsing to monloader.
  • monloader : downloader; fetches files and per-post metadata (via gallery-dl) and pushes them into a monbooru gallery over the REST API; also answers monbooru's reverse lookups (boorus, IQDB/SauceNAO, Hydrus PTR) and source refetches.
  • monbooru : self-hosted booru; organizes, tags, and serves your collection.

Permissions

Required permissions are minimal : activeTab, scripting, storage, contextMenus (and sidePanel on Chrome). It reads a page only on an explicit click. The single host it sends anything to is the monloader URL you configure; with previews on, the scan chooser's thumbnails load from the sites hosting the images.

Install

Get the Add-on

Open the extension's options, set your monloader URL, and click connect to monloader; approve the pairing request in monloader under Settings -> pairing, in the monsender extension block.

See the monsender documentation for help, and PRIVACY.md.

Build

Build the per-browser bundles:

node build.js        # writes dist/chrome and dist/firefox

Acknowledgements

See monbooru's acknowledgements.

About

Browser extension for monloader

Topics

Resources

Contributing

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages