Sign inSign up

mcmodersd/anilink-downloader

By mcmodersd

•Updated about 23 hours ago

Paste hoster links, get named video files: Debrid-Link, 7-Zip and a web UI in one container.

Image
API management
Content management system
0

1.5K

mcmodersd/anilink-downloader repository overview

AniLink-Downloader downloads and unpacks media from single or multipart archives (mostly .rar, which may be password protected), and runs as one container with a web page. Paste the hoster links of a season, an episode or a film, and it creates the direct download links with Debrid-Link⁠, downloads the archive parts, unpacks them with 7-Zip and puts the renamed video into a folder named after the show.

Everything stays local: there is no account, no login and no database. 7-Zip is part of the image, so Docker is the only thing you have to install.

⁠Quick reference

⁠Tags

TagMeaning
latestThe newest release.
3The newest 3.x release: updates that stay within version 3.
3.1The newest 3.1.x release: bug fixes only.
3.1.0Exactly this release. It never changes.
edgeThe newest state of the master branch. It is not a release and may be rough.

⁠Quick start

Create a folder, for example anilink, with an empty folder downloads inside it. Create the downloads folder yourself, before the first start: on Linux, Docker would otherwise create it for root, and the container, which runs as user 1000, could not write into it. Next to it, create the file docker-compose.yaml:

services:
  anilink:
    image: mcmodersd/anilink-downloader:latest
    container_name: AniLink-Downloader
    restart: unless-stopped
    pull_policy: always
    user: 1000:1000
    build: .
    environment:
      Concurrent_Downloads: 3
      Debrid_Request_Delay: 500
      Debrid_ApiKey: ${DEBRID_API_KEY}
      Archive_Password_0: ${ARCHIVE_PASSWORD_0:-}
      Archive_Password_1: ${ARCHIVE_PASSWORD_1:-}
    ports:
      - 8080:8080/tcp
    volumes:
      - ./downloads:/downloads

networks:
  default:
    name: AniLink-Network

The build: . line is only used when you build the image yourself, and can stay as it is.

And the file .env, with your key. The default archive passwords are optional:

DEBRID_API_KEY=your-api-key

ARCHIVE_PASSWORD_0=www.example.org
ARCHIVE_PASSWORD_1=

Start it from that folder and open http://localhost:8080⁠:

docker compose up -d

Within a minute docker compose ps shows the container as healthy.

⁠Configuration

SettingWhereDefaultMeaning
DEBRID_API_KEY.envnoneYour private Debrid-Link API key. Required: the container stops without it.
ARCHIVE_PASSWORD_0.envemptyFirst default password for protected archives.
ARCHIVE_PASSWORD_1.envemptySecond default password. Tried after the first, before you are asked.
Debrid_Request_Delaydocker-compose.yaml500Pause in milliseconds between two Debrid-Link requests (0 to 60000).
Concurrent_Downloadsdocker-compose.yaml3How many archive parts are downloaded at the same time.
userdocker-compose.yaml1000:1000The user the container runs as, and so the owner of the files.
Portdocker-compose.yaml80808080:8080 is host:container. For port 9090 on the host, write 9090:8080.
Volumedocker-compose.yaml./downloads./downloads:/downloads is host folder:container folder.

More than two default passwords, the log level and everything else are on the Configuration⁠ page.

⁠Good to know

  • Unfinished downloads carry on after a restart of the container: their state is kept next to the files.
  • The image has a health check on /health/live; docker compose ps shows the result.
  • The web page and the API have no authentication, because they are meant for your own machine or network. Do not expose port 8080 to the internet; put it behind a VPN or a reverse proxy with authentication if it has to be reachable from outside.

⁠Disclaimer

This project does not promote or endorse piracy. Please only use AniLink-Downloader with legally obtained, licensed, or copyright-free content. For your own protection, always use a VPN, since not all websites or hosters are safe and trustworthy.

Tag summary

Content type

Image

Digest

sha256:12d3eadaa…

Size

52.8 MB

Last updated

about 23 hours ago

docker pull mcmodersd/anilink-downloader