# animanga

> Self-hosted anime player and manga reader

Latest version **0.4.2** (published 2026-11-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install animanga
pnpm add animanga
yarn add animanga
bun add animanga
```

Provides the command `animanga`.

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.2 |
| Published | 2026-11-02 |
| First published | 2026-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=22.16 |
| Dependencies | 0 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Maintainers | skazibavaria |
| Keywords | anime, manga, self-hosted, pwa |

## Links

- npm: https://www.npmjs.com/package/animanga
- Repository: https://github.com/SkaziBavaria/animanga
- Homepage: https://github.com/SkaziBavaria/animanga#readme
- Issues: https://github.com/SkaziBavaria/animanga/issues
- npm.io page: https://npm.io/package/animanga

## Recent versions

- 0.4.2 (latest) — 2026-11-02
- 0.4.1 — 2026-10-31
- 0.4.0 — 2026-10-29
- 0.3.9 — 2026-09-16
- 0.3.8 — 2026-09-16
- 0.3.5 — 2026-08-11
- 0.3.4 — 2026-08-09
- 0.3.3 — 2026-08-08
- 0.3.2 — 2026-08-08
- 0.3.1 — 2026-08-08
- 0.3.0 — 2026-07-26
- 0.2.3 — 2026-07-25
- 0.2.2 — 2026-07-24
- 0.2.1 — 2026-07-24
- 0.2.0 — 2026-07-24
- … 2 more at https://npm.io/package/animanga/versions

## README

# AniManga

Self-hosted anime player and manga reader with library tracking, downloads, cross-device sync, and an installable browser PWA.

## Install with npm

Requires Node.js 22.16+, `curl`, and `ffmpeg` for episode downloads.

```sh
npm install -g animanga
animanga start
```

Open [http://localhost:7831](http://localhost:7831). Data is stored in the platform user-data directory, outside the npm package.

```sh
animanga doctor                  # dependency and config checks
animanga --help                  # flags and environment variables
animanga start --host 0.0.0.0    # LAN access
npm install -g animanga@latest   # update
```

## Run with Docker

Requires the Compose plugin.

```sh
git clone https://github.com/SkaziBavaria/animanga.git
cd animanga
docker compose up -d --build
```

Open [http://localhost:7831](http://localhost:7831), or `http://<host-ip>:7831` on your LAN. Persistent data lives under `data/`.

```sh
git pull --ff-only && docker compose up -d --build   # update
```

### Network access

AniManga is open by default. Set a password before exposing it beyond a trusted device:

```sh
ANIMANGA_ACCESS_TOKEN='use-a-long-random-password' docker compose up -d --build
```

Default username: `animanga`. Password: the access token. Host publish options (`ANIMANGA_BIND_ADDRESS`, `ANIMANGA_PUBLISH_PORT`, and related env vars) are listed in `animanga --help`.

Do not expose AniManga directly to the public internet. Use HTTPS through a trusted reverse proxy when remote access is required.

## Sync between devices

Sync covers libraries, history, progress, archive state, SUB/DUB choices, release watches, and supported settings. Downloads, caches, and job logs stay local.

**GitHub** (no public domain needed): create an OAuth App with Device Flow enabled, enter the Client ID under **Settings → Cloud sync → GitHub**, and connect each device with a unique name. AniManga creates a private `animanga-sync-data` repository and merges per-device files.

**Google Drive**: create a Google Cloud OAuth Web client. AniManga shows the exact callback URI under **Settings → Cloud sync → Google Drive**. Behind a reverse proxy, set `ANIMANGA_PUBLIC_URL` to the public origin.

OAuth secrets and tokens are stored in the local SQLite database — protect the data directory.

## Development

```sh
npm ci
npm run check
npx playwright install chromium && npm run test:e2e
npm run test:smoke:npm
npm run test:smoke:docker
RUN_CONTRACT=1 npm run test:contract   # live providers; slower
```

---
_Source: https://npm.io/package/animanga · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
