Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/7nik/ap-import-tags-userscript
https://github.com/7nik/ap-import-tags-userscript
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/7nik/ap-import-tags-userscript
- Owner: 7nik
- Created: 2024-08-22T22:17:03.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-07T15:22:05.000Z (4 months ago)
- Last Synced: 2024-09-07T16:57:15.180Z (4 months ago)
- Language: TypeScript
- Size: 263 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.