All Projects → y-young → Nazurin

y-young / Nazurin

Licence: mit
🎉 Images collection done right. Telegram 图片收藏机器人 / A Telegram bot which helps you collect ACG illustrations.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Nazurin

University News Notifier
📚 University news notifier
Stars: ✭ 56 (-36.36%)
Mutual labels:  telegram-bot, telegram
Daysandbox bot
Telegram bot that deletes messages with URL from users joined in less than 24 hours
Stars: ✭ 82 (-6.82%)
Mutual labels:  telegram-bot, telegram
Pockebot
Read It Later for Telegram
Stars: ✭ 56 (-36.36%)
Mutual labels:  telegram-bot, telegram
Telegram Spring Boot Starter
Telegram Bot API Spring Boot Starter
Stars: ✭ 79 (-10.23%)
Mutual labels:  telegram-bot, telegram
Drone Telegram
Drone plugin for sending Telegram notifications
Stars: ✭ 67 (-23.86%)
Mutual labels:  telegram-bot, telegram
Telepyth
Telegram notification with IPython magics.
Stars: ✭ 54 (-38.64%)
Mutual labels:  telegram-bot, telegram
Intergram
Free live chat widget linked to your Telegram messenger
Stars: ✭ 1,097 (+1146.59%)
Mutual labels:  telegram-bot, telegram
Marvin
The paranoid bot (framework)
Stars: ✭ 51 (-42.05%)
Mutual labels:  telegram-bot, telegram
Lotterybot
Telegram 群组抽奖机器人
Stars: ✭ 67 (-23.86%)
Mutual labels:  telegram-bot, telegram
Callsmusic
The first open-source PyTgCalls-based project.
Stars: ✭ 62 (-29.55%)
Mutual labels:  telegram-bot, telegram
Telegramgroup
Telegram群合集,如果有更多好玩的telegram群,欢迎在 issue 提出或者pull requests
Stars: ✭ 1,073 (+1119.32%)
Mutual labels:  telegram-bot, telegram
Awesome Telegram Cn
telegram 开发资源、机器人资源整理
Stars: ✭ 78 (-11.36%)
Mutual labels:  telegram-bot, telegram
Teletor
Telegram Torrents Bot
Stars: ✭ 54 (-38.64%)
Mutual labels:  telegram-bot, telegram
Bot Telegram
Exemplo de como criar um BOT para o melhor app de mensagens do mundo: Telegram.
Stars: ✭ 53 (-39.77%)
Mutual labels:  telegram-bot, telegram
Nikoro
A plugin-based, all-in-one, Telegram Bot written in Node.js
Stars: ✭ 51 (-42.05%)
Mutual labels:  telegram-bot, telegram
Laravel
Laravel package for PHP Telegram Bot Library
Stars: ✭ 57 (-35.23%)
Mutual labels:  telegram-bot, telegram
Planetpython telegrambot
Django App Planet Python Telegram Bot
Stars: ✭ 42 (-52.27%)
Mutual labels:  telegram-bot, telegram
Telegram Bot Ruby
Ruby wrapper for Telegram's Bot API
Stars: ✭ 1,039 (+1080.68%)
Mutual labels:  telegram-bot, telegram
Telebot
The easy way to write Telegram bots in Node.js
Stars: ✭ 1,096 (+1145.45%)
Mutual labels:  telegram-bot, telegram
Turibot
TuriBot is a simple way to communicate with Telegram APIs in PHP
Stars: ✭ 68 (-22.73%)
Mutual labels:  telegram-bot, telegram

Nazurin

Codacy Badge

English | 中文

小さな小さな賢将, a Telegram bot which helps you collect ACG illustrations from various sites.

Architecture

architecture.png

Features

  • View/Download artwork from various sites
  • Add images to your collection via Telegram
  • Store your collection in Telegram channels
  • Store images on multiple types of storage
  • Store image metadata in multiple types of database

Supported Sites

Name URL Commands Collection
Pixiv https://www.pixiv.net/
Danbooru https://danbooru.donmai.us/
Safebooru https://safebooru.donmai.us/
yandere https://yande.re/
Konachan https://konachan.com/
Lolibooru https://lolibooru.moe/
Zerochan https://www.zerochan.net/
Gelbooru https://gelbooru.com/
Twitter https://twitter.com/
Bilibili Dynamics https://t.bilibili.com/

Supported Databases

Driver URL Usage Note
TinyDB https://tinydb.readthedocs.io/en/stable/index.html Wiki Default
Firestore https://firebase.google.com/products/firestore Wiki
MongoDB https://www.mongodb.com/ Wiki MongoDB Atlas supported
Cloudant https://www.ibm.com/cloud/cloudant Wiki

You can also implement your own database driver by creating a file under database folder, and set this option to the name of driver class.

Supported Storage

Name URL Usage Note
Local Set STORAGE = [] Default
MEGA https://mega.nz/ Wiki
Google Drive https://drive.google.com/ Wiki
OneDrive https://onedrive.live.com/ Wiki

Configuration

For more information, see Wiki

Deploy

Deploy on Heroku

  1. 'Deploy to Heroku' Button:

    Deploy

Tips: You can fork this repository, modify it to your needs, and use this button to deploy your own version.

  1. Manual deploy:

    Set all required environment variables on Heroku according to config.py(root directory & /sites), clone this repository and push to Heroku, everything should be working properly.

Deploy on your own server

Tips: You may comment out unused dependencies in requirements.txt before installation.

  1. Install dependencies: pip install -r requirements.txt
  2. Set the required environment variables
  3. Start the bot: python bot.py

Usage

Commands:

  • /ping - pong
  • /pixiv <id> - view pixiv artwork
  • /pixiv_download <id> - download pixiv artwork
  • /danbooru <id> - view danbooru post
  • /danbooru_download <id> - download danbooru post
  • /yandere <id> - view yandere post
  • /yandere_download <id> - download yandere post
  • /konachan <id> - view konachan post
  • /konachan_download <id> - download konachan post
  • /zerochan <id> - view zerochan post
  • /zerochan_download <id> - download zerochan post
  • /bookmark <id> - bookmark pixiv artwork
  • /clear_downloads - clear download cache
  • /help - get help text

How to update your collection

Send the bot a message with a link of supported sites, this message will be forwarded to GALLERY channel, the bot will then download the original images from the site, send the files to ALBUM channel, and finally store to your custom destination.

Tips: On mobile you can use the share button in apps, as long as the final message contains a link.

Roadmap

  • [x] Introduce plugin system and extract some functions
  • [x] Support local database
  • [ ] Thorough error handling
  • [ ] Support more sites
  • [x] Support Pixiv ugoira
  • [ ] Support Moebooru pools
  • [ ] Reverse Image Search
  • [ ] Provide more configurable options
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].