Skip to content

Shadow1363/DownloadRouter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download Router

A free, open-source Chrome extension that automatically routes your downloads into organized folders based on custom priority rules — by domain, file type, or filename pattern.

Sort downloads Save Images

Features

  • Priority-based rules — define which rules take precedence when multiple match a download
  • Three match types — route by domain (e.g. gameassets.com), file extension (e.g. .png), or regex pattern
  • Right-click to route — use "Save Image with Router" on any image to bypass the native save dialog and apply your rules
  • Drag to reorder — visually reprioritize rules by dragging cards
  • Toggle rules on/off — disable rules without deleting them
  • All local — rules are stored in Chrome sync storage, no server involved

How It Works

Downloads are intercepted before the filename is determined. The extension checks each enabled rule in priority order and reroutes the file into the matching folder inside your default Downloads directory.

Example:

Priority Match Folder
1 gameassets.com (domain) /gameassets
2 .png (extension) /pictures

A .png downloaded from gameassets.com lands in Downloads/gameassets — P1 wins.

Installation

  1. Clone or download this repo
  2. Open Chrome and go to chrome://extensions
  3. Enable Developer Mode (top-right toggle)
  4. Click Load unpacked and select the project folder

Build

  1. Run node build.js
  2. The extension will be built in the build folder

Roadmap

  • Support saving outside the default Downloads folder
  • Light & Dark mode
  • UI improvements
  • Export Rules to JSON
  • More file options to download with Router (.pdf, .docx, .xlsx, etc.)
  • Other browsers support
    • Firefox
    • Safari

Credits

  • Lucide Icons
  • MacOsIcons.com (Reason I made the extension in the first place)

Releases

No releases published

Packages

 
 
 

Contributors