animepaste
v0.0.6
Published
Paste your favourite anime online
Downloads
3
Readme
Anime Paste CLI
Paste your favourite anime online.
Anime Paste is yet another solution for automatically downloading bangumis.
This is the command line application package for managing Anime Paste.
Anime Paste includes an admin command-line application to config what bangumis and how to download and a builtin web application to view bangumis which can also be deployed on Cloudflare Pages. It also support download resource for the media library software like Jellyfin and so on.
All the bangumi resource is automatically fetched from 動漫花園. Sincere thanks to 動漫花園 and all the fansubs.
Features
- Download videos from 動漫花園.
- Upload videos to 阿里云 - 视频点播.
- Organizing your videos locally.
- Interact with AnimePaste.
Directory structure
~/.animepaste/
├── plans/ # Plans folder
│ ├─ 2022-04.yml
│ └─ 2022-07.yml
├── anime/ # Anime store
│ └─ 相合之物
│ ├─ 相合之物 - S01E01.mp4
│ ├─ 相合之物 - S01E02.mp4
│ └─ 相合之物 - S01E03.mp4
├── cache/ # Videos cache
│ ├─ xxx.mp4
│ └─ yyy.mp4
├── config.yaml # AnimePaste config file
└── anime.db # SQLite database file
Config
Global config:
# ~/.animepaste/config.yaml
plans:
- ./plans/2022-7.yaml
sync:
local: true
# remote:
# baseURL: http://localhost:8788/
# token: ''
store:
local: # Local anime store
anime: ./anime
cache: ./cache
ali: # Ali OSS config
accessKeyId: ''
accessKeySecret: ''
regionId: 'cn-shanghai'
Plan config:
# ~/.animepaste/plans/2022-4.yaml
name: '2022 年 4 月新番'
date: '2022-04-01 00:00'
onair:
- title: 相合之物
bgmId: '333664'
fansub:
- Lilith-Raws
Usage
Make sure you have setup above configs, and then
anime watch
It will automatically search the resources, download, and upload them to OSS based on the plan set in your config.
License
AGPL-3.0 License © 2021 XLor