From b9d22616442bd9866cb0c8cb0ba157fccc4f1d8d Mon Sep 17 00:00:00 2001 From: "DESKTOP-KSVGT20\\shkim" Date: Fri, 1 May 2026 15:33:10 +0900 Subject: [PATCH] Configure Gitea userscript auto update --- README.md | 16 ++++++++++++++-- chatgpt-suno-tampermonkey.user.js | 4 +++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8a3118e..d62114a 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,20 @@ ChatGPT가 만든 `Version A/B/C` 형식의 SUNO 프롬프트를 파싱해서 SU ## 설치 1. Chrome에 Tampermonkey를 설치합니다. -2. Tampermonkey 대시보드에서 새 스크립트를 만듭니다. -3. `chatgpt-suno-tampermonkey.user.js` 내용을 붙여넣고 저장합니다. +2. 아래 설치 URL을 엽니다. +3. Tampermonkey 설치 화면에서 `Install`을 누릅니다. + +설치 URL: + +```text +https://git.mokaya.org/shkim/suno-helper/raw/branch/master/chatgpt-suno-tampermonkey.user.js +``` + +수동 설치가 필요하면 Tampermonkey 대시보드에서 새 스크립트를 만들고 `chatgpt-suno-tampermonkey.user.js` 내용을 붙여넣어 저장합니다. + +## 자동 업데이트 + +스크립트 메타데이터의 `@updateURL` / `@downloadURL`이 공개 Gitea raw URL을 바라봅니다. 이후 `@version`을 올려서 `master` 브랜치에 push하면 Tampermonkey가 업데이트를 감지합니다. ## 사용법 diff --git a/chatgpt-suno-tampermonkey.user.js b/chatgpt-suno-tampermonkey.user.js index 22397b0..0f00fea 100644 --- a/chatgpt-suno-tampermonkey.user.js +++ b/chatgpt-suno-tampermonkey.user.js @@ -1,13 +1,15 @@ // ==UserScript== // @name ChatGPT to Suno Prompt Copier // @namespace local.suno-helper -// @version 0.1.0 +// @version 0.1.1 // @description Copy structured ChatGPT song prompt versions into Suno fields. // @author local // @match https://chatgpt.com/* // @match https://chat.openai.com/* // @match https://suno.com/* // @match https://*.suno.com/* +// @updateURL https://git.mokaya.org/shkim/suno-helper/raw/branch/master/chatgpt-suno-tampermonkey.user.js +// @downloadURL https://git.mokaya.org/shkim/suno-helper/raw/branch/master/chatgpt-suno-tampermonkey.user.js // @run-at document-idle // @grant GM_addStyle // @grant GM_getValue