https://github.com/7nik/ap-import-tags-userscript
https://github.com/7nik/ap-import-tags-userscript
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/7nik/ap-import-tags-userscript
- Owner: 7nik
- Created: 2024-08-22T22:17:03.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-01-05T18:29:42.000Z (6 months ago)
- Last Synced: 2025-01-05T19:30:26.438Z (6 months ago)
- Language: TypeScript
- Size: 352 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A userscript to import tags from Danbooru to Anime-pictures.
# Building the userscript
Install the dependencies
```bash
cd ap-import-tags-userscript
npm install
```
then compile minified userscript:```bash
npm run build
```Install a script manager, e.g. [Tampermonkey](https://www.tampermonkey.net/), open it, create a new usercript, copy the content of build/userscript.min.user.js file to it, and save it.
Navigate to home page of [Anime-pictures](https://anime-pictures.net/), open the side menu, and click "Import tags".
# Developing and debugging
To create an non-minified version of the usercript:
```bash
npm run build
```
It will automatically rebuild the script on change of source files.