https://github.com/7nik/ap-import-tags-userscript
https://github.com/7nik/ap-import-tags-userscript
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/7nik/ap-import-tags-userscript
- Owner: 7nik
- Created: 2024-08-22T22:17:03.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-03T12:45:18.000Z (11 months ago)
- Last Synced: 2025-02-03T13:39:55.381Z (11 months ago)
- Language: TypeScript
- Size: 424 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.