Giter VIP home page Giter VIP logo

pixiv_bot's Introduction

Pixiv_bot

Link: https://t.me/Pixiv_bot

Document: https://pixiv-bot.pages.dev

requirement

  • Node.js > 15
  • ffmpeg
  • mp4fpsmod

install (ArchLinux)

sudo pacman -S yarn pm2 ffmpeg unzip
yay -S mongodb-bin mp4fpsmod
git clone https://github.com/my-telegram-bots/Pixiv_bot.git
sudo systemctl enable pm2 mongodb --now
cp config_sample.json config.json
# edit
# vim config.json
# nano config.json
node initial.js # first run
pm2 start --name pixiv_bot app.js
pm2 save
sudo pm2 startup

upgrade

version 2.0.2 edit the illust collection in local database, you need exec the following command.

node update update_db_2021_june

config

cookie

To access R18(guro) contents and subscribe the author, You must fill the cookie field.
You can login via your browser and open developer tools to select network tab and get the cookie you logined.

ua

get lastest chrome useragent: https://t.me/chrome_useragent

pximgproxy

i.pximg.net proxy, telegraph and send file maybe use it

token

https://t.me/botfather

master_id

Report error and no management function

access_token

access_token is telegraph token can help you create telegra.ph pages.
see more https://telegra.ph

translate (i18n)

1. clone project
2. copy lang/en.json -> lang/_lang_code_.json
3. create pull request

todolist

1. subscribe (10%)
2. error handle (50%)
3. web version (0%)
4. bookmarks (1%)
5. Channel support
6. Download author's all illusts (alpha OK)
7. clean the code (with code style and comment)
8. safe exit

License

MIT

Made with ❤️

pixiv_bot's People

Contributors

makeding avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.