Skip to content

Releases

MARS v1.0.0

Choose a tag to compare

@tabunugoku tabunugoku released this 29 Nov 16:47
c80dcec

The first stable release of MARS: A Reading Server (Your manga. Your server. Your universe.).

It includes every feature of the initial release alongside all large-library stability, memory, and speed improvements from the v0.1.0–v0.1.4 previews.

docker run -d --name mars -p 25600:25600 \
  -v mars-data:/data -v /path/to/comics:/comics:ro \
  ghcr.io/tabunugoku/mars:1

Images: ghcr.io/tabunugoku/mars:1.0.0, :1.0, :1, :latest (linux/amd64 and linux/arm64).

Highlights since v0.1.0–v0.1.4

  • Bounded memory: the Go memory target follows the container memory limit, images are decoded within a memory budget, and pages up to 200 megapixels are analyzed cleanly.
  • Faster scans & large-library responsiveness: no full scan on every startup, up to 4 books analyzed in parallel, ~40% faster thumbnails, and fast library list / settings / home screens on large libraries.
  • Nested archives: a CBZ, CBR, or CB7 containing inner archives (one level deep) is read as a single book.
  • Reliability fixes: deleting libraries no longer blocks other writes (SQLITE_BUSY), covers no longer blink while thumbnails generate, and duplicate tasks for the same library no longer run concurrently.

Full history: CHANGELOG.md.

MARS v0.1.4

MARS v0.1.4 Pre-release
Pre-release

Choose a tag to compare

@tabunugoku tabunugoku released this 22 Nov 15:45
78f385d

MARS v0.1.4 is a preview release: the library list, library settings and the home screen are fast again on large libraries.

docker run -d --name mars -p 25600:25600 \
  -v mars-data:/data -v /path/to/comics:/comics:ro \
  ghcr.io/tabunugoku/mars:0.1

Images: ghcr.io/tabunugoku/mars:0.1.4, :0.1, :latest (amd64 and arm64).

Fixed

  • The library list and saving a library's settings were slow on large libraries since 0.1.3. On a 37,000-book library the list now answers in 9 ms (120 ms before), and a settings save during a scan takes 24 ms (178 ms before). In the same test, none of about 1,100 settings saves made during scans failed with "database is locked", a known problem in 0.1.2.
  • The home screen was slow on large libraries: its "recently added" and "recently updated" shelves sorted the whole library. On a 37,000-book library it now answers in about 75 ms (about 630 ms before).

Full history: CHANGELOG.md.

MARS v0.1.3 (preview)

MARS v0.1.3 (preview) Pre-release
Pre-release

Choose a tag to compare

@tabunugoku tabunugoku released this 19 Nov 15:30
c087f4d

MARS v0.1.3 is a preview release: archives inside archives are read as one book, deleting libraries no longer locks the database, and covers no longer blink.

docker run -d --name mars -p 25600:25600 \
  -v mars-data:/data -v /path/to/comics:/comics:ro \
  ghcr.io/tabunugoku/mars:0.1

Images: ghcr.io/tabunugoku/mars:0.1.3, :0.1, :latest (amd64 and arm64).

Added

  • A CBZ, CBR or CB7 that holds other CBZ, CBR or CB7 files (one per volume) is read as one book: the inner archives' pages follow in file name order. Only one level is read. Books that failed with "no images in archive" need Re-analyze in Admin > Media management.

Changed

  • The MARS name in the sidebar and on the sign-in and setup pages is now the MARS wordmark.

Fixed

  • Deleting several libraries at once no longer makes other writes fail with "database is locked (SQLITE_BUSY)". Deletes run one after another in smaller batches, long writes take turns, and new indexes let each batch find its rows quickly. In a test with 37,000 books, six libraries were deleted in about 30 seconds while another write waited 25 ms at most (2.2 s before).
  • A library delete whose task could not be queued is queued again by the scheduler within a minute, and a finished delete stays in the task list.
  • Covers no longer blink while thumbnails are being made. A new cover replaces the old one only once it has loaded, and versioned thumbnail URLs are cached by the browser.

Full history: CHANGELOG.md.

MARS v0.1.2 (preview)

MARS v0.1.2 (preview) Pre-release
Pre-release

Choose a tag to compare

@tabunugoku tabunugoku released this 15 Nov 08:21
06b3eba

MARS v0.1.2 is a preview release with fixes for large and CMYK pages, decode memory and duplicate tasks.

docker run -d --name mars -p 25600:25600 \
  -v mars-data:/data -v /path/to/comics:/comics:ro \
  ghcr.io/tabunugoku/mars:0.1

Images: ghcr.io/tabunugoku/mars:0.1.2, :0.1, :latest (amd64 and arm64).

Fixed

  • CMYK JPEG pages without an Adobe marker (common in print-resolution scans) now get covers and page thumbnails.
  • A page whose thumbnail cannot be made is not decoded again on every page-list open, and the warning is logged once.
  • Books with pages up to 200 megapixels are analysed; pages over 100 megapixels made the book fail with "image or entry over the size limit".
  • An image is decoded only when the memory it needs, estimated from its header, fits the decode limit: 5/8 of the container memory limit, or 1 GiB without one. A larger image gets no thumbnail instead of running the server out of memory; the book still opens.
  • Two tasks of the same kind for one library no longer run at once, and a new library is no longer scanned twice when its first scan takes longer than a minute.
  • A request that the browser drops before it is answered is no longer logged as an error.

Known issues

  • On slow disks, saving library settings during a long scan can still fail with "database is locked".
  • Books that failed analysis before this release keep their error until they are analysed again (Media management → re-analyse).

Full history: CHANGELOG.md.

MARS v0.1.1 (preview)

MARS v0.1.1 (preview) Pre-release
Pre-release

Choose a tag to compare

@tabunugoku tabunugoku released this 14 Nov 08:01
3f819ad

MARS v0.1.1 is a preview release with faster analysis and thumbnails.

docker run -d --name mars -p 25600:25600 \
  -v mars-data:/data -v /path/to/comics:/comics:ro \
  ghcr.io/tabunugoku/mars:0.1

Images: ghcr.io/tabunugoku/mars:0.1.1, :0.1, :latest (amd64 and arm64).

Changed

  • Analysis of CBZ/ZIP books reads only the header of each page except the cover, instead of the whole archive. A damaged page body is now found when the page is opened, not during analysis.
  • Books are analysed in parallel: up to 4 at a time across all libraries, never more than the task threads.
  • Thumbnails are made about 40% faster: large pages are first shrunk by a box average, then resized.

Known issues

  • On slow disks, saving library settings during a long scan can still fail with "database is locked".
  • CMYK JPEG covers get no thumbnail.

Full history: CHANGELOG.md.

MARS v0.1.0 (preview)

MARS v0.1.0 (preview) Pre-release
Pre-release

Choose a tag to compare

@tabunugoku tabunugoku released this 13 Nov 16:14
a2e1d8c

MARS v0.1.0 is a preview release. v1.0.0 was withdrawn after testing on a large real library found problems; this release has the same features plus the fixes below.

docker run -d --name mars -p 25600:25600 \
  -v mars-data:/data -v /path/to/comics:/comics:ro \
  ghcr.io/tabunugoku/mars:0.1

Images: ghcr.io/tabunugoku/mars:0.1.0, :0.1, :latest (amd64 and arm64).

Changed

  • The server no longer scans every library when it starts. Libraries are scanned by hand, by their scan interval, when created, and by file watching.

Fixed

  • Books whose pages are AVIF images are read instead of reported as having no images.
  • The server no longer runs out of memory under a container memory limit while analysing many large pages: it sets its Go memory target from the limit and bounds how many images are decoded at once.
  • Deleting a large library no longer blocks other changes for minutes: the library disappears at once and its books are removed in the background in small batches.

Known issues

  • On slow disks, saving library settings during a long scan can still fail with "database is locked".
  • CMYK JPEG covers get no thumbnail.

Full list of features: CHANGELOG.md. Docs: docs/README.md.