{"id":40316320,"url":"https://github.com/krau/manyacg","last_synced_at":"2026-04-17T01:09:29.839Z","repository":{"id":234643711,"uuid":"785747760","full_name":"krau/ManyACG","owner":"krau","description":"Collect, Download, Organize and Share your Favorite Anime Artworks.","archived":false,"fork":false,"pushed_at":"2025-12-30T14:39:41.000Z","size":7867,"stargazers_count":88,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"v1","last_synced_at":"2026-01-13T19:26:49.817Z","etag":null,"topics":["anime","crawler","danbooru","image-viewer","kawaii","nhentai","picture","pixiv","telegram","telegram-bot","waifu"],"latest_commit_sha":null,"homepage":"https://manyacg.top","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-12T14:37:35.000Z","updated_at":"2026-01-09T15:30:25.000Z","dependencies_parsed_at":"2024-05-10T14:49:51.725Z","dependency_job_id":null,"html_url":"https://github.com/krau/ManyACG","commit_stats":null,"previous_names":["krau/manyacg-bot","krau/manyacg"],"tags_count":396,"template":false,"template_full_name":null,"purl":"pkg:github/krau/ManyACG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krau%2FManyACG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krau%2FManyACG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krau%2FManyACG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krau%2FManyACG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krau","download_url":"https://codeload.github.com/krau/ManyACG/tar.gz/refs/heads/v1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krau%2FManyACG/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anime","crawler","danbooru","image-viewer","kawaii","nhentai","picture","pixiv","telegram","telegram-bot","waifu"],"created_at":"2026-01-20T07:01:10.133Z","updated_at":"2026-01-20T07:01:14.697Z","avatar_url":"https://github.com/krau.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \n# ManyACG\n\n![ManyACG_banner](https://github.com/user-attachments/assets/1d2d7835-18c1-4a50-9cb9-c14ae69659be)\n\nCollect, Download, Organize and Share your Favorite Anime Pictures.\n\n\u003c/div\n  \n---\n\n这里是 ManyACG 的后端代码.\n\nManyACG 是为收集与整理二次元插画作品而生的项目, 目前主要通过 Telegram Bot 完成数据交互.\n\n在充当 Telegram 插画频道的爬虫与管理 Bot 的同时, ManyACG 还能使用已存入数据库的作品构建一个自己的二次元图片分享网站.\n\n\u003e 前端代码 -\u003e [ManyACG/web](https://github.com/ManyACG/web)\n\n![manyacg-web](https://github.com/user-attachments/assets/670a6092-1406-4f51-ab2b-49a6d9be286f)\n\n## Demo\n\n- Bot - [@KirakaBot](https://t.me/kirakabot)\n- 频道 - [@MoreACG](https://t.me/MoreACG)\n- 网站 - [ManyACG](https://manyacg.top)\n\n## 特性\n\n- **多图源支持**\n  - [x] [Pixiv](https://www.pixiv.net/)\n  - [x] [Twitter](https://x.com/)\n  - [x] [Danbooru](https://danbooru.donmai.us/)\n  - [x] [Bilibili](https://www.bilibili.com/)\n  - [x] [Kemono](https://www.kemono.cr/)\n  - [x] [Yandere](https://yande.re/)\n  - [x] [Nhentai](https://nhentai.net/)\n- **原图多存储端支持**\n  - [x] 本地存储\n  - [x] WebDAV\n  - [x] Telegram\n- 基于图像哈希的去重与以图搜图\n- 带有逻辑控制的关键词搜图\n- 以 Telegram 所接受的最高质量发送图片\n- 支持动图和视频\n- 基于 AI 的图片标签生成 -\u003e [konatagger](https://github.com/krau/konatagger)\n- 集成 [MeiliSearch](https://www.meilisearch.com/) , 支持混合搜索与相似作品检索.\n- 轻量, 原生跨平台, 部署简单\n\n## 部署\n\n### 安装FFmpeg(可选)\n\nManyACG 需要使用 FFmpeg 来从动图序列合成视频, 请在自己的系统上安装, 以下是一些系统的安装示例:\n\nUbuntu/Debian:\n\n```bash\nsudo apt install ffmpeg -y\n```\n\nArch Linux:\n\n```bash\nsudo pacman -S ffmpeg --noconfirm\n```\n\n[其他/任意 Linux 发行版安装 FFmepg 参考](https://krau.top/posts/linux-install-ffmpeg)\n\nWindows:\n\n1. 在 [gyan.dev](https://www.gyan.dev/ffmpeg/builds/) 下载 [ffmpeg-release-full.7z](https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z)\n2. 解压并将 `bin` 目录添加到环境变量 `PATH`\n\n### 从二进制文件部署 ManyACG\n\n在 [release](https://github.com/krau/ManyACG/releases) 页面下载与自己系统和架构对应的文件, 解压.\n\n在与解压出的二进制文件的相同目录下创建 `config.toml` 文件, 修改各项配置.\n\n#### 最简配置\n\n如果你只需要将 ManyACG 作为一个 Telegram 频道的自动发图与管理 Bot 使用, 使用以下简单的配置即可:\n\n```toml\n[telegram]\nbot_token=\"token\"\nadmins = [123456789] # 你的 Telegram 用户 ID\nusername = \"@moreacg\" # 频道用户名(如有)\nchat_id = -1001234567890 # 频道 ID, 与 username 二选一\n\n[source.pixiv]\n# 建议配置 pixiv cookies, 可以提高作品的爬取成功率\n[[source.pixiv.cookies]]\nname = \"PHPSESSID\"\nvalue = \"\"\n[[source.pixiv.cookies]]\nname = \"yuid_b\"\nvalue = \"\"\n\n# 如果你不需要存储原图, 以下配置也可以删除\n[storage]\noriginal_type = \"telegram\"\n[storage.telegram]\nenable = true\ntoken = \"用于发送原图的 Bot 的 Token\" # 可以与 telegram.bot_token 相同\nchat_id = -1001234567890 # 用于存储原图的频道 ID\n```\n\n赋予二进制文件执行权限并运行即可:\n\n```bash\nchmod +x manyacg\n./manyacg\n```\n\n#### 安装为服务\n\n适用于 Linux 系统, 以 systemd 为例:\n\n`/etc/systemd/system/manyacg.service`\n\n```ini\n[Unit]\nDescription=ManyACG\nAfter=network.target\n\n[Service]\nType=simple\nWorkingDirectory=/path/to/manyacg\nExecStart=/path/to/manyacg/manyacg\nRestart=always\n\n[Install]\nWantedBy=multi-user.target\n```\n\n```bash\nsystemctl enable --now manyacg\n```\n\n---\n\n## 从 v0 迁移\n\n如果你之前使用的是 v0 版本的 ManyACG, 请下载最新的 v0.x 版本 release, 并修改配置文件, 添加迁移目标数据库配置:\n\n```toml\n[migrate]\ntarget = \"sqlite\" # pgsql/mysql/sqlite\ndsn = \"file:manyacg_migrate.db\" # 连接字符串\n# 示例: pgsql dsn\n# dsn = \"host=localhost user=postgres password=yourpassword dbname=manyacg port=5432 sslmode=disable\"\n```\n\n然后运行\n\n```bash\n./manyacg db migrate\n```\n\n数据迁移完成后, 将配置文件也改为使用新的配置格式, 详情参考上方的部署章节.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrau%2Fmanyacg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrau%2Fmanyacg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrau%2Fmanyacg/lists"}