A Slack Bot that pulls Pixiv information and posts the full image(s) into Slack, with iOS shortcuts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Daniel Muckerman 041d4f55f8 Remove old route for image path and just use og embed url 5 years ago
assets Added image for example 8 years ago
slack-pixiv Remove old route for image path and just use og embed url 5 years ago
.gitignore Initial implementing, using Dentaku. 8 years ago
.rspec Initial implementing, using Dentaku. 8 years ago
.rubocop.yml Initial implementing, using Dentaku. 8 years ago
.rubocop_todo.yml Upgraded to slack-ruby-bot 0.3.0. 8 years ago
.travis.yml Upgraded to slack-ruby-bot 0.3.0. 8 years ago
Gemfile Update Gemfile minimum versions for nokogiri and sinatra and update all gems 5 years ago
Gemfile.lock Update Gemfile minimum versions for nokogiri and sinatra and update all gems 5 years ago
Procfile Production ready I hope 8 years ago
README.md Correct markdown link 8 years ago
Rakefile Add Rakefile 8 years ago
config.ru Rename app to slack-pixiv-bot, update Gemfile for 8 years ago
slack-pixiv.rb Add resolv-replace to see if errors caused by DNS issues 6 years ago
web.rb Fix misnamed module 8 years ago

README.md

Pixivbot

This is a Slack bot based on slack-ruby-bot, slack-mathbot, and inspired by another Slack Pixiv Bot.

Purpose

When a Pixiv link is posted in the channel the Pixiv bot is in, it will "unfurl" the image via message attachements. Pixiv does not allow the images on the site to reside in the metadata, so standard Slack unfurling is unable to preview the image.

If you run iOS, the bot will also post an Open in App link to view the image in the native Pixiv app. No more mobile web view!

License

Do what you want. It's a Slack Bot.