feat: add Boosty donation link to README and LuCI support modal

- Add Boosty badge to README.md and README.en.md headers
- Add Boosty as first donation option in support sections of both READMEs
- Add Boosty card (with orange border accent) to LuCI diagnostic support modal
- Add Russian translations for Boosty strings in po/ru/tachyon.po
This commit is contained in:
Dushnilin
2026-09-16 06:42:09 +03:00
parent 971d958331
commit affd8f7ca4
5 changed files with 103 additions and 2 deletions
+4
View File
@@ -6,6 +6,7 @@
[![Releases](https://img.shields.io/github/v/release/Dushnilin/tachyon?style=for-the-badge&color=818CF8)](https://github.com/Dushnilin/tachyon/releases) [![Releases](https://img.shields.io/github/v/release/Dushnilin/tachyon?style=for-the-badge&color=818CF8)](https://github.com/Dushnilin/tachyon/releases)
[![OpenWrt](https://img.shields.io/badge/OpenWrt-23.05%20%7C%2024.10%20%7C%2025.x%20%7C%20SNAPSHOT-10B981?style=for-the-badge&logo=openwrt)](https://openwrt.org/) [![OpenWrt](https://img.shields.io/badge/OpenWrt-23.05%20%7C%2024.10%20%7C%2025.x%20%7C%20SNAPSHOT-10B981?style=for-the-badge&logo=openwrt)](https://openwrt.org/)
[![Telegram](https://img.shields.io/badge/Telegram-Channel-26A5E4?style=for-the-badge&logo=telegram&logoColor=white)](https://t.me/tachyon_proxy) [![Telegram](https://img.shields.io/badge/Telegram-Channel-26A5E4?style=for-the-badge&logo=telegram&logoColor=white)](https://t.me/tachyon_proxy)
[![Boosty](https://img.shields.io/badge/Boosty-Support-FF6A00?style=for-the-badge&logo=boosty&logoColor=white)](https://boosty.to/tachyon)
[![License](https://img.shields.io/github/license/Dushnilin/tachyon?style=for-the-badge&color=C084FC)](LICENSE) [![License](https://img.shields.io/github/license/Dushnilin/tachyon?style=for-the-badge&color=C084FC)](LICENSE)
[**🇷🇺 Русский**](README.md) | [**🇬🇧 English**](README.en.md) [**🇷🇺 Русский**](README.md) | [**🇬🇧 English**](README.en.md)
@@ -342,6 +343,9 @@ Tachyon stands on the shoulders of incredible open-source projects:
If Tachyon powers your daily networking and keeps your connection fast and secure, consider supporting ongoing development! ☕ 🧀 🌭 If Tachyon powers your daily networking and keeps your connection fast and secure, consider supporting ongoing development! ☕ 🧀 🌭
⭐ **Boosty (subscriptions, donations, exclusives):**
👉 [**Support on Boosty**](https://boosty.to/tachyon)
💳 **Credit Cards / SBP / Tinkoff Pay:** 💳 **Credit Cards / SBP / Tinkoff Pay:**
👉 [**Support the project via CloudTips**](https://pay.cloudtips.ru/p/48c57581) 👉 [**Support the project via CloudTips**](https://pay.cloudtips.ru/p/48c57581)
+4
View File
@@ -6,6 +6,7 @@
[![Releases](https://img.shields.io/github/v/release/Dushnilin/tachyon?style=for-the-badge&color=818CF8)](https://github.com/Dushnilin/tachyon/releases) [![Releases](https://img.shields.io/github/v/release/Dushnilin/tachyon?style=for-the-badge&color=818CF8)](https://github.com/Dushnilin/tachyon/releases)
[![OpenWrt](https://img.shields.io/badge/OpenWrt-23.05%20%7C%2024.10%20%7C%2025.x%20%7C%20SNAPSHOT-10B981?style=for-the-badge&logo=openwrt)](https://openwrt.org/) [![OpenWrt](https://img.shields.io/badge/OpenWrt-23.05%20%7C%2024.10%20%7C%2025.x%20%7C%20SNAPSHOT-10B981?style=for-the-badge&logo=openwrt)](https://openwrt.org/)
[![Telegram](https://img.shields.io/badge/Telegram-Канал-26A5E4?style=for-the-badge&logo=telegram&logoColor=white)](https://t.me/tachyon_proxy) [![Telegram](https://img.shields.io/badge/Telegram-Канал-26A5E4?style=for-the-badge&logo=telegram&logoColor=white)](https://t.me/tachyon_proxy)
[![Boosty](https://img.shields.io/badge/Boosty-Поддержать-FF6A00?style=for-the-badge&logo=boosty&logoColor=white)](https://boosty.to/tachyon)
[![License](https://img.shields.io/github/license/Dushnilin/tachyon?style=for-the-badge&color=C084FC)](LICENSE) [![License](https://img.shields.io/github/license/Dushnilin/tachyon?style=for-the-badge&color=C084FC)](LICENSE)
[**🇷🇺 Русский**](README.md) | [**🇬🇧 English**](README.en.md) [**🇷🇺 Русский**](README.md) | [**🇬🇧 English**](README.en.md)
@@ -342,6 +343,9 @@ Tachyon опирается на фундаментальные разработ
Если Tachyon помогает вам и делает работу в сети комфортной, вы можете поддержать проект и автора! ☕ 🧀 🌭 Если Tachyon помогает вам и делает работу в сети комфортной, вы можете поддержать проект и автора! ☕ 🧀 🌭
⭐ **Boosty (подписки, донаты, эксклюзив):**
👉 [**Поддержать на Boosty**](https://boosty.to/tachyon)
💳 **Карты РФ / СБП / Tinkoff Pay:** 💳 **Карты РФ / СБП / Tinkoff Pay:**
👉 [**Поддержать проект на CloudTips**](https://pay.cloudtips.ru/p/48c57581) 👉 [**Поддержать проект на CloudTips**](https://pay.cloudtips.ru/p/48c57581)
@@ -36,6 +36,7 @@ const CRYPTO_LIST: CryptoItem[] = [
]; ];
const CLOUDTIPS_URL = 'https://pay.cloudtips.ru/p/48c57581'; const CLOUDTIPS_URL = 'https://pay.cloudtips.ru/p/48c57581';
const BOOSTY_URL = 'https://boosty.to/tachyon';
async function copyTextToClipboard(text: string): Promise<boolean> { async function copyTextToClipboard(text: string): Promise<boolean> {
try { try {
@@ -82,6 +83,51 @@ export function renderSupportModal(): void {
], ],
); );
// Boosty card (primary)
const boostyCard = E(
'div',
{
style:
'margin-bottom: 16px; padding: 14px; background: var(--background-color-secondary, rgba(0, 0, 0, 0.05)); border: 1px solid rgba(255, 106, 0, 0.35); border-radius: 6px;',
},
[
E(
'div',
{
style:
'display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;',
},
[
E(
'div',
{ style: 'display: flex; flex-direction: column; gap: 2px;' },
[
E('div', { style: 'font-weight: bold; font-size: 14px;' }, [
'⭐ Boosty',
]),
E(
'div',
{
style:
'font-size: 12px; color: var(--text-color-medium, #888);',
},
_('Subscriptions, one-time donations and exclusives'),
),
],
),
renderButton({
classNames: ['cbi-button-action'],
icon: renderLinkIcon24,
text: _('Support on Boosty'),
onClick: () => {
window.open(BOOSTY_URL, '_blank', 'noopener,noreferrer');
},
}),
],
),
],
);
// CloudTips card // CloudTips card
const cloudTipsCard = E( const cloudTipsCard = E(
'div', 'div',
@@ -249,7 +295,7 @@ export function renderSupportModal(): void {
style: style:
'max-width: 640px; width: 100%; box-sizing: border-box; padding: 4px;', 'max-width: 640px; width: 100%; box-sizing: border-box; padding: 4px;',
}, },
[introBlock, cloudTipsCard, cryptoSection, footer], [introBlock, boostyCard, cloudTipsCard, cryptoSection, footer],
); );
ui.showModal(`💖 ${_('Support Development')}`, modalContent); ui.showModal(`💖 ${_('Support Development')}`, modalContent);
@@ -15573,6 +15573,7 @@ var CRYPTO_LIST = [
} }
]; ];
var CLOUDTIPS_URL = "https://pay.cloudtips.ru/p/48c57581"; var CLOUDTIPS_URL = "https://pay.cloudtips.ru/p/48c57581";
var BOOSTY_URL = "https://boosty.to/tachyon";
async function copyTextToClipboard(text) { async function copyTextToClipboard(text) {
try { try {
if (navigator.clipboard && window.isSecureContext) { if (navigator.clipboard && window.isSecureContext) {
@@ -15613,6 +15614,46 @@ function renderSupportModal() {
) )
] ]
); );
const boostyCard = E(
"div",
{
style: "margin-bottom: 16px; padding: 14px; background: var(--background-color-secondary, rgba(0, 0, 0, 0.05)); border: 1px solid rgba(255, 106, 0, 0.35); border-radius: 6px;"
},
[
E(
"div",
{
style: "display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;"
},
[
E(
"div",
{ style: "display: flex; flex-direction: column; gap: 2px;" },
[
E("div", { style: "font-weight: bold; font-size: 14px;" }, [
"⭐ Boosty"
]),
E(
"div",
{
style: "font-size: 12px; color: var(--text-color-medium, #888);"
},
_("Subscriptions, one-time donations and exclusives")
)
]
),
renderButton({
classNames: ["cbi-button-action"],
icon: renderLinkIcon24,
text: _("Support on Boosty"),
onClick: () => {
window.open(BOOSTY_URL, "_blank", "noopener,noreferrer");
}
})
]
)
]
);
const cloudTipsCard = E( const cloudTipsCard = E(
"div", "div",
{ {
@@ -15760,7 +15801,7 @@ function renderSupportModal() {
{ {
style: "max-width: 640px; width: 100%; box-sizing: border-box; padding: 4px;" style: "max-width: 640px; width: 100%; box-sizing: border-box; padding: 4px;"
}, },
[introBlock, cloudTipsCard, cryptoSection, footer] [introBlock, boostyCard, cloudTipsCard, cryptoSection, footer]
); );
ui.showModal(`💖 ${_("Support Development")}`, modalContent); ui.showModal(`💖 ${_("Support Development")}`, modalContent);
} }
+6
View File
@@ -4925,6 +4925,12 @@ msgstr "Поддержать разработку"
msgid "Support on CloudTips" msgid "Support on CloudTips"
msgstr "Поддержать проект на CloudTips" msgstr "Поддержать проект на CloudTips"
msgid "Support on Boosty"
msgstr "Поддержать на Boosty"
msgid "Subscriptions, one-time donations and exclusives"
msgstr "Подписки, разовые донаты и эксклюзивный контент"
msgid "Sweden (se)" msgid "Sweden (se)"
msgstr "Швеция (se)" msgstr "Швеция (se)"