Dimjournal
Dimjournal is a Midjourney backup tool. It automatically downloads the metadata archive and the upscaled images from Midjourney into a local archive (folder tree). It also embeds some basic metadata (like the prompt) into the PNG files.
Note: the terms of use of Midjourney disallow any automation.
Dimjournal is a Python tool uses the Selenium WebDriver to log into the Midjourney website, fetch user data, and download job information and images.
Changelog
- v1.0.8: Fixes
- v1.0.3: Tested on macOS in July 2023
Installation
Stable version:
pip install dimjournal
Development version:
python3 -m pip install git+https://github.com/twardoch/dimjournal
Usage
Command Line Interface (CLI)
In Terminal, run:
dimjournal
Dimjournal will open a browser where you need to log into MidJourney. The tool will create the backup folder, which by default is the midjourney/dimjournal subfolder inside your Pictures/My Pictures folder. It will operate the browser, download all metadata (up to 2,500 last upscale jobs, and up to 2,500 jobs), and save it in JSON files in the backup folder. Then it will use the browser to download all upscales that are not in the backup folder. If you run the tool again, it will only download new metadata, and new images.
To specify a different backup folder, use:
python3 -m dimjournal --archive_folder /path/to/your/archive/folder
Python
You can also use Dimjournal in your Python scripts. Here is an example of how to import and use the download function:
from dimjournal import download
# Specify the directory where you want to store the data
archive_folder = "/path/to/your/archive/folder"
# Download the data
download(archive_folder)
License
- Licensed under the Apache-2.0 License
- Written with assistance from ChatGPT
Release files for dimjournal 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dimjournal-1.0.9.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dimjournal-1.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.6 kB
Release files / dimjournal-1.0.9.tar.gz
| Download URL | dimjournal-1.0.9.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14bddb342baf57c9a773663519dd98a14a642ca442698d26b9ab0a141b14495e
|
|
BLAKE2b-256 checksum How to use checksums |
b488839b54a4dbf036b237d17d892231270741e78dbc0ad5bbcff0d48a484058
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Release files / dimjournal-1.0.9-py3-none-any.whl
| Download URL | dimjournal-1.0.9-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a15890ef5c75ca1de3d96571935484726f524bdda39eaef411d06ab8cb94397
|
|
BLAKE2b-256 checksum How to use checksums |
0cb6135d7fadc1fd8ab6cf5222c9a7e9c74a581f87ca966d938f30c1f0924a64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|