Chrome/Firefox extension which can import media from various sites into a szurubooru instance.
 
 
 
 
Go to file
neobooru fbd89fa253 [wip] Update to Vue 3 + Vite
Based on https://github.com/antfu/vitesse-webext
2023-01-28 20:20:36 +01:00
.vscode [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
docs Use newer neo-scraper + remove useless option from options page 2022-08-09 18:11:34 +02:00
extension/assets [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
scripts [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
src [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
.eslintignore [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
.eslintrc.cjs [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
.gitignore [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
.npmrc [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
.prettierrc Update formatting, a small fix, and some cleanup 2021-01-01 23:33:35 +01:00
LICENSE Move scraper code to a separate library 2019-09-23 19:28:02 +02:00
README.md Directly reference neo-scraper from github + add eslint 2022-08-09 17:58:19 +02:00
package.json [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
pnpm-lock.yaml [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
tsconfig.json [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
vite.config.content.ts [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00
vite.config.ts [wip] Update to Vue 3 + Vite 2023-01-28 20:20:36 +01:00

README.md

SzuruChrome

Chrome/Firefox extension which can import media from various sites into a szurubooru instance.

Supported sites

Engine Sites Features Notes
animepictures anime-pictures.net content, resolution, tags, tag_category Rating is assumed to be safe.
danbooru danbooru.donmai.us, safebooru.donmai.us content, rating, resolution, tags, tag_category, source, notes
e621 e621.net, e926.net content, rating, resolution, tags, tag_category, source
furaffinity www.furaffinity.net content, rating, resolution, tags, tag_category
gelbooru safebooru.org, gelbooru.com, rule34.xxx, tbib.org, xbooru.com content, rating, resolution, tags, tag_category, source, notes Supported features might vary between hosts.
inkbunny inkbunny.net content, rating, resolution, tags
moebooru yande.re, konachan.com content, rating, resolution, tags, tag_category, source, notes
pixiv pixiv.net, www.pixiv.net content
reddit reddit.com, new.reddit.com, old.reddit.com content
rule34us rule34.us content, resolution, tags, tag_category Rating is assumed to be unsafe.
sankakucomplex chan.sankakucomplex.com content, rating, tags, tag_category, notes Hotlink protection currently prevents szurubooru from importing from this site.
shimmie2 rule34.paheal.net, rule34hentai.net content, tags, source Rating is assumed to be unsafe.
shuushuu e-shuushuu.net content, rating, resolution, tags, tag_category Rating is assumed to be safe.
twitter twitter.com, mobile.twitter.com content
zerochan www.zerochan.net content, resolution, tags, tag_category Rating is assumed to be safe.
fallback content Tries to find the largest image or video on the current page.

Installation

For development see build/debug.

Firefox

Just download the .xpi from release tab and install it.

Chrome

I can't create a valid .crx file, which means that you'll have to use Chrome's "Load unpacked extension" feature. You can download a .zip containing the needed files from the release tab. Check this stackoverflow answer if you want to get rid of the developer extension popup.

Build/debug

# Install node modules
yarn install

# Use any of the following commands to build
yarn build
yarn build:dev

After this you can load them in your browser.
Chrome: chrome://extensions/ → "Load unpacked" → Select ./dist folder
Firefox: about:debugging → "Load Temporary Add-on..." → Select any file in the ./dist folder (it will load all files)

See the developer docs for more information.

Planned features

These are some things I might work on. Though honestly I don't expect this extension to change much anytime soon.

  • Finishing the initial version of this add-on (see visual design doc for all features)
  • Right click any image on a page to import it
  • Configurable list of tags to always ignore (e.g. tagme, highres)
  • [low priority] Import artist commentary
  • [lowest priority] Move from 'options_page' to 'options_ui'
  • [lowest priority] Multiple szurubooru instances (where you can choose to which one you want to upload the post)