A tampermonkey script that adds functionality to the midjourney.com website to make it easier to do things.

Overview

MidJourneyTools

A tampermonkey script that adds functionality to the midjourney.com website to make it easier to do things.

Setup Instructions

  1. Make sure to install the Tampermonkey plugin in Chrome in order to use this script.
  2. Then create a new script (using tampermonkey)

Create new script screenshot

  1. Then copy the ENTIRE contents of "TampermonkeyScriptForMidJourney.js" in this repo and paste it, overwriting the default text that appears in your new script. You must COMPLETELY replace all of the text in your new script (yes, all of it) - then press ctrl+s to save.
  2. Refresh the MidJourney.com page to ensure the script is activated, if you followed the above steps you will now notice a green bar at the top of the MidJourney.com page.

Usage

Once the script is installed, navigate to the MidJourney.com website. You should see a green bar at the top that is titled "MidJourney Tools". Sample of what the installed script looks like

  • If you hover over an AI generated image and press 'd' on your keyboard, it will immediatley download it from any page on the site. You can also do this in the "archive" section, however the technique we use for saving there is not as nice as in the "Home" section.
  • You can automatically save ALL image on the page by pressing the "Save All" button. This is a toggle, press it again to turn it off. When turned on, the save-all feature will immediately start saving all the images visible on your page. Slowly scroll down to save more. I recommend slowly scrolling down by pressing the middle button on your mouse and letting it scroll slowly (SLOWLY) down until it saves everything. You can save your entire library this way.

Note: Images that have been saved to your computer in the past will be surrounded by a green dotted box. Those images will not automatically save again.

TIP: You can use the web page's filter to only view upscales (or only view grids). I like using the upscales and only download upscales rather than downloading EVERYTHING.

You might also like...

Helps make it easier to utilize flyte from vs-code

Flyte-Wingman This is the repository for the Flyte-Wingman vscode extension. This extension can be used to easily create, serialize, and register pyth

Jun 13, 2022

A JavaScript Library To Make Your Work Work Easier/Faster

Functionality.js (beta) About ✍️ This Is A JavaScript Library To Make Your Work Easier/Faster, You Can See Functionalty.js Website From Here Project C

May 25, 2022

A custom element that aims to make it easier to embed Spring '83 boards

spring-board element A custom element that makes it simple to embed Spring '83 boards! Usage If you are using spring-board in a client-side framew

Jan 1, 2023

A JavaScript Library To Make Your Work Work Easier/Faster

A JavaScript Library To Make Your Work Work Easier/Faster

Functionality.js About ✍️ This Is A JavaScript Library To Make Your Work Easier/Faster, You Can See Functionalty.js Website From Here Project Created

Jun 23, 2022

The Easel Javascript library provides a full, hierarchical display list, a core interaction model, and helper classes to make working with the HTML5 Canvas element much easier.

EaselJS EaselJS is a library for building high-performance interactive 2D content in HTML5. It provides a feature-rich display list to allow you to ma

Dec 29, 2022

Functions and objects that make it easier to add fields to Portable Text editors for accessibility meta information, like language changes or abbreviations.

Porta11y Porta11y is a collection of accessibility-focused annotations, decorators and validators for Sanity’s Portable Text editor. Portable Text is

Aug 25, 2022

Github Actions and Workflows that make maintaining Magento2 projects and modules easier.

Magento 2 GitHub Actions Opinionated Github Actions and Workflows to make building, testing, and maintaining Magento 2 Modules easier. README if you a

Dec 21, 2022

A CLI tool to create a NodeJS project with TypeScript CTSP is a CLI tool to make easier to start a new NodeJS project and configure Typescript on it.

A CLI tool to create a NodeJS project with TypeScript CTSP is a CLI tool to make easier to start a new NodeJS project and configure Typescript on it.

CTSP- Create TS Project A CLI tool to create a NodeJS project with TypeScript CTSP is a CLI tool to make easier to start a new NodeJS project and conf

Sep 13, 2022

All in one is a CLI to make your journey in web development less painful (it makes your life way easier).

All In One CLI (Aio) The Ultimate CLI for all your needs in web development. Description This is a CLI that has all the commands you need to do anythi

Sep 25, 2022
Comments
  • Save more data in the filename

    Save more data in the filename

    It would be great if it would be possible to save the full prompt in the filename as well as the original date when the image was generated by MidJourney (prompt is available when you hover over the image, date AFAIK only when you click the image).

    Thanks for a great tool!

    opened by nozoku 6
  • Showcase page not working

    Showcase page not working

    Hi! Can you please make it work as well on https://www.midjourney.com/showcase/ ? Currently it seems only working on https://www.midjourney.com/app/*

    Perhaps you could also implement downloading upscaled images by fetching them from the api: https://www.midjourney.com/api/public-feed/?orderBy=hot https://www.midjourney.com/api/public-feed/?orderBy=top

    Thanks.

    opened by lmsutools 2
  • Save a txt file with the prompt

    Save a txt file with the prompt

    This is a huge hack and very brittle, but it's working for now! Not sure if its worth merging but posting here for visibility in case others find it useful.

    The idea is to save an additional .txt file with the prompt, with the same name as the image file, so that after downloading you could run a script like this to add the prompt to the Subject metadata, which works well on Mac since it shows up in the Inspector.

    #!/usr/bin/env bash
    
    for f in *.png; do
      base=${f%.*}
      if [[ -f "${base}.txt" ]]; then
        echo "Merging ${base}.txt"
        /opt/homebrew/bin/convert -quality 80 "${base}.png" "${base}.jpg"
        rm -f "${base}.png"
        /usr/local/bin/exiftool -overwrite_original "-Subject<=${base}.txt" "${base}.jpg"
        rm -f "${base}.txt"
      fi
    done
    

    I couldnt figure out how to get the filename off the page, so I patched console.log to grab a log message they print with the filename.

    opened by johnthethird 1
  • Script no longer downloading new images

    Script no longer downloading new images

    Script no longer downloading new images. But it shows the green 3 px dotted line around each "upscales". I have used the script for a couple of months, this is the 1st time this is happening. I think I have 5000+ images upscaled and downloaded. Not sure what to do. If I "factory reset" the script somehow, will that not forget what images have been downloaded before? Just looking for a solution. Will the script check in the directory to make sure it's not been saved before? At the moment, it says it's been saved before even though the files does not exist.

    There are also many errors as you can see in the left column of this screenshot. I am a novice, not a developer.

    MJToolsIssues_1

    I now have tried to delete the script and then reinstall it. But it still shows images downloaded, but they don't appear in the download folder selected in Chrome.

    opened by GitHubKitten 11
Releases(1.3.1)
Owner
Nikolas
Nikolas
MidJourney is an AI text-to-image service that generates images based on textual prompts. It is often used to create artistic or imaginative images, and is available on Discord and through a web interface here.

Midjourney MidJourney is an AI text-to-image service that generates images based on textual prompts. It is often used to create artistic or imaginativ

Andrew Tsegaye 8 May 1, 2023
A script that implements a GUI to make cheating on Blooket easier than ever.

BlooketUI What's BlooketUI? A script that implements a GUI to make cheating on Blooket easier than ever. How do i Use This? Copy the code of src.js by

null 66 Dec 24, 2022
⚡️📦 A Vite plugin to build Userscript for Tampermonkey, Greasemonkey and Violentmonkey.

vite-userscript-plugin ⚡️ Tampermonkey userscript developing and build plugin based on Vite. Features ?? Hot reloading after changing any files. ?? Co

Vitalij Ryndin 14 Dec 18, 2022
coc-pyright-tools is a coc-extension that adds its own functionality to coc-pyright for coc.nvim. Currently the "Inlay Hints", "CodeLens" and "Test Framework commands" feature is available.

coc-pyright-tools !!WARNING!! Inlay hints feature of coc-pyright-tools, have been ported to coc-pyright itself. https://github.com/fannheyward/coc-pyr

yaegassy 5 Aug 23, 2022
Automated testing for single-page applications (SPAs). Small, portable, and easy to use. Click on things, fill in values, await for things exist, etc.

SPA Check Automated testing for single-page applications (SPAs). Small, portable, and easy to use. Click on things, fill in values, await for things e

Cory Leigh Rahman 5 Dec 23, 2022
Make drag-and-drop easier using DropPoint. Drag content without having to open side-by-side windows

Make drag-and-drop easier using DropPoint! DropPoint helps you drag content without having to open side-by-side windows Works on Windows, Linux and Ma

Sudev Suresh Sreedevi 391 Dec 29, 2022
🤝 A set of Persian Helpers for NodeJS to make your life easier

Persian Helpers Persian Helpers is a minimal NodeJS package with a set of helpers/tools specifically for the Persian/Farsi language. If you like the p

Kasra Ghoreyshi 11 Dec 22, 2022
An easy-to-use library to make your life easier when working with random numbers or random choices in javascript.

vrandom An easy-to-use library to make your life easier when working with random numbers or random choices in javascript. Table of contents Installati

Valerio Cipolla 1 Aug 16, 2022
A JavaScript Library To Make Your Work Work Easier/Faster

Functionalty.js (beta) About ✍️ This Is A JavaScript Library To Make Your Work Easier/Faster, You Can See Functionalty.js Website From Here Project Cr

Ali-Eldeba 16 Aug 30, 2022