From 1bd364a669b038c443add34f9844cc01f36a5c30 Mon Sep 17 00:00:00 2001 From: Oleg Tolchin Date: Mon, 16 Feb 2026 21:32:45 +0300 Subject: [PATCH] Update all links to Gitea instead of GitHub --- README.md | 10 +++++----- RELEASE.md | 18 +++++++++++------- manifest.json | 6 +++--- package.json | 6 +++--- theme/modules/README.md | 22 +++++++++++----------- theme/tolfin.css | 2 +- 6 files changed, 34 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index b577aa6..69d6025 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Modern CSS theme for Jellyfin media server with custom fonts, smooth animations 1. Go to Jellyfin Dashboard → General → Custom CSS 2. Paste this code: ```css - @import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/tolfin.css"); + @import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css"); ``` 3. Click Save @@ -27,10 +27,10 @@ Modern CSS theme for Jellyfin media server with custom fonts, smooth animations You can also use a specific version instead of `@latest`: ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@v1.0.1/theme/tolfin.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/tag/v1.0.1/theme/tolfin.css"); ``` -See [Releases](https://github.com/OlegTolchin/Tolfin/releases) for available versions. +See [Releases](https://gitea.tolchin.pro/Oleg/Tolfin/releases) for available versions. ## Features @@ -46,11 +46,11 @@ This theme includes a `manifest.json` for automatic installation via theme repos ## Repository -https://github.com/OlegTolchin/Tolfin +https://gitea.tolchin.pro/Oleg/Tolfin ## Author -OlegTolchin +Oleg ## License diff --git a/RELEASE.md b/RELEASE.md index 327417d..da9e886 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -7,17 +7,20 @@ ## Как создать новый релиз ### 1. Внесите изменения -Сделайте все необходимые изменения в коде и отправьте их на GitHub: +Сделайте все необходимые изменения в коде и отправьте их: ```powershell git add . git commit -m "Описание изменений" git push ``` +Это отправит изменения на GitHub и на Gitea одновременно. + ### 2. Создайте тег версии ```powershell git tag -a v1.0.1 -m "Release v1.0.1 - Описание изменений" git push origin v1.0.1 +git push gitea v1.0.1 ``` ### 3. Обновите тег latest @@ -29,25 +32,26 @@ git rev-list -n 1 v1.0.1 # Обновите тег latest (замените ХЕШ на полученный хеш) git tag -f latest ХЕШ git push origin latest --force +git push gitea latest --force ``` -### 4. Создайте релиз на GitHub -1. Зайдите на https://github.com/OlegTolchin/Tolfin/releases -2. Нажмите "Draft a new release" +### 4. Создайте релиз на Gitea +1. Зайдите на https://gitea.tolchin.pro/Oleg/Tolfin/releases +2. Нажмите "New Release" 3. Выберите созданный тег (например, v1.0.1) 4. Заполните описание релиза -5. Нажмите "Publish release" +5. Нажмите "Publish Release" ## CDN URL ### Последняя версия (рекомендуется): ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/tolfin.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css"); ``` ### Конкретная версия: ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@v1.0.0/theme/tolfin.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/tag/v1.0.0/theme/tolfin.css"); ``` ## История релизов diff --git a/manifest.json b/manifest.json index 7067c03..323fdcd 100644 --- a/manifest.json +++ b/manifest.json @@ -2,9 +2,9 @@ "name": "Tolfin", "description": "Modern CSS theme for Jellyfin with custom fonts, smooth animations and responsive design", "version": "1.0.0", - "author": "OlegTolchin", - "repository": "https://github.com/OlegTolchin/Tolfin", - "url": "https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/tolfin.css", + "author": "Oleg", + "repository": "https://gitea.tolchin.pro/Oleg/Tolfin", + "url": "https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css", "target": "jellyfin", "categories": ["theme", "css"] } diff --git a/package.json b/package.json index 8368926..9d12054 100644 --- a/package.json +++ b/package.json @@ -2,11 +2,11 @@ "name": "tolfin", "version": "1.0.0", "description": "Modern CSS theme for Jellyfin media server", - "author": "OlegTolchin", + "author": "Oleg", "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/OlegTolchin/Tolfin.git" + "url": "https://gitea.tolchin.pro/Oleg/Tolfin.git" }, - "homepage": "https://github.com/OlegTolchin/Tolfin#readme" + "homepage": "https://gitea.tolchin.pro/Oleg/Tolfin#readme" } diff --git a/theme/modules/README.md b/theme/modules/README.md index 8ebf9be..451976a 100644 --- a/theme/modules/README.md +++ b/theme/modules/README.md @@ -9,7 +9,7 @@ **Использование:** ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/static-sidebar.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/static-sidebar.css"); ``` --- @@ -19,7 +19,7 @@ **Использование:** ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/central-libraries-small.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/central-libraries-small.css"); ``` --- @@ -29,7 +29,7 @@ **Использование:** ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/count-indicators.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/count-indicators.css"); ``` --- @@ -39,7 +39,7 @@ **Использование:** ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/forgot-password.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/forgot-password.css"); ``` --- @@ -49,7 +49,7 @@ **Использование:** ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/hide-my-media.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/hide-my-media.css"); ``` --- @@ -59,7 +59,7 @@ **Использование:** ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/moving-cards.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/moving-cards.css"); ``` --- @@ -69,7 +69,7 @@ **Использование:** ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/smaller-cast.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/smaller-cast.css"); ``` --- @@ -79,7 +79,7 @@ **Использование:** ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/floating-progress.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/floating-progress.css"); ``` --- @@ -88,12 +88,12 @@ ### Полная тема (все модули): ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/tolfin.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css"); ``` ### Индивидуальные модули: ```css -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/static-sidebar.css"); -@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/central-libraries-small.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/static-sidebar.css"); +@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/central-libraries-small.css"); /* Добавляйте нужные модули */ ``` diff --git a/theme/tolfin.css b/theme/tolfin.css index 4b08f39..45c2fc5 100644 --- a/theme/tolfin.css +++ b/theme/tolfin.css @@ -31,7 +31,7 @@ --theme-blur: 16px; /* Сила размытия фона */ /* URL изображений */ - --banner-url: url('https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/assets/banner.png'); + --banner-url: url('https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/assets/banner.png'); /* Переменные модулей */ --show-count-indicators: flex; /* none для скрытия индикаторов */