explaingit

dakumisu/tampermonkey-cosmos-collection-downloader

Analysis updated 2026-05-18

0Audience · generalComplexity · 1/5Setup · easy

TLDR

A Tampermonkey userscript that auto-scrolls a cosmos.so collection and downloads every original-resolution image into your Downloads folder.

Mindmap

mindmap
  root((Cosmos Collection Downloader))
    What it does
      Auto-scrolls collection
      Downloads originals
      Dedups by UUID
    Tech stack
      JavaScript
      Tampermonkey
    Use cases
      Bulk download collections
      Skip duplicate images
      Organize by subfolder
    Audience
      Cosmos.so users
      Browser script users
    Limits
      Cosmos-specific only
      Downloads folder only
      Manual trigger required

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Download an entire cosmos.so collection at full resolution in one run instead of saving images one by one.

USE CASE 2

Automatically skip duplicate images across a large collection using UUID tracking.

USE CASE 3

Keep downloaded collections organized in separate subfolders inside your Downloads folder.

What is it built with?

JavaScriptTampermonkey

How does it compare?

dakumisu/tampermonkey-cosmos-collection-downloader00kaku/gallery-slider-block04amanrajj/netwatch
Stars00
LanguageJavaScriptRust
Last pushed2021-05-19
MaintenanceDormant
Setup difficultyeasyeasymoderate
Complexity1/52/53/5
Audiencegeneralgeneralops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires configuring Tampermonkey and the browser to skip download save-location prompts.

The README does not state a license.

In plain English

This is a small browser script for downloading images from cosmos.so, a website used for building visual mood boards and image collections. It runs through Tampermonkey, a browser extension that lets you inject custom scripts into web pages you visit. Once installed, it does nothing on its own until you manually trigger it, so there is no risk of it running in the background without you knowing. When you open a collection page on cosmos.so and run the script from your browser's developer console, it automatically scrolls down the page to load every image in that collection, keeps track of which images it has already seen so it never downloads the same one twice, and saves each one to a subfolder inside your normal Downloads folder named after the collection. It specifically fetches the original, full resolution version of each image rather than a resized preview. Setting it up requires two one-time steps beyond installing Tampermonkey itself: telling Tampermonkey to use the browser's own download system instead of showing a save prompt for every file, and telling your browser to stop asking where to save each download. After that, using it is as simple as pasting the script once into Tampermonkey and running a single command in the console whenever you want to grab a collection. This tool is narrowly built for cosmos.so specifically and will not work on other sites. It cannot save files outside the browser's Downloads folder due to normal browser security limits. The README asks that you only download content you actually have the right to save.

Copy-paste prompts

Prompt 1
Walk me through installing Tampermonkey and adding this cosmos.so downloader script.
Prompt 2
Help me configure Chrome and Tampermonkey so downloads happen automatically without prompts.
Prompt 3
Explain what the window.__TM_COSMOS_DOWNLOAD_COLLECTION function does in this script.
Prompt 4
Show me how this script avoids downloading the same cosmos.so image twice.

Frequently asked questions

What is tampermonkey-cosmos-collection-downloader?

A Tampermonkey userscript that auto-scrolls a cosmos.so collection and downloads every original-resolution image into your Downloads folder.

What license does tampermonkey-cosmos-collection-downloader use?

The README does not state a license.

How hard is tampermonkey-cosmos-collection-downloader to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is tampermonkey-cosmos-collection-downloader for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.