Social-Picker-API
This project is used to extract media from various posting platfroms like Twitter, Reddit, Pixiv, Youtube and many others. It's written for Node.js and it works as inner service for other local services, e.g. like Anime Ultra Bot.
Send link to post – receive its content.
Commands
- Install necessary dependencies –
npm i --production
- Run production server –
npm run production
Configs
There are some configuration files:
service.json
– service port and external service for viewing some contenttokens.json
– tokens for some platformspm2.production.json
– config for Node.js daemonpm2
nodemon.dev.json
– config development hot-reloadernodemon
Development config files can be created and placed along production ones (e.g. tokens.dev.json
). You can also install all npm modules (including dev) one with npm install
. npm run dev
will run service in dev-environment.
List of platforms
- Twitter – images, videos and gifs
- Twitter's direct images – like twimg.com
- Nitter – Twitter clone
- Instagram – images, videos including posts with multiple ones
- Pixiv – images. Uses external service for end-user viewing of hi-res images due to Referer Header issues.
- Reddit – images, videos and gifs including posts with multiple ones. Uses
combine-video
for joining audio- and video-streams viaffmpeg
- Tumblr – images and galeries
- Danbooru – images
- Gelbooru – images
- Konachan – images
- Yandere – images
- Eshuushuu – images
- Sankaku – images
- Zerochan – images
- AnimePictures – images
- KemonoParty – images