Add donation card and move repository links to GitHub

This commit is contained in:
2026-11-17 09:41:21 +02:00
parent 572e5e224b
commit a6f22ddfb2
12 changed files with 78 additions and 9 deletions
+1
View File
@@ -0,0 +1 @@
ko_fi: skysparkle
+3 -3
View File
@@ -1,5 +1,5 @@
blank_issues_enabled: true blank_issues_enabled: true
contact_links: contact_links:
- name: Main repository on git.skysparkle.cc - name: Support the project on Ko-fi
url: https://git.skysparkle.cc/kalarina/Sparkledns url: https://ko-fi.com/skysparkle
about: This GitHub repository is a mirror. Issues are welcome here and on Gitea. about: Donations keep the apps and the Skysparkle server running.
+1 -1
View File
@@ -4,7 +4,7 @@ Thanks for wanting to help! This guide explains where to contribute, what fits t
## Where to contribute ## Where to contribute
Issues and pull requests go to the repository on [Gitea](https://git.skysparkle.cc/kalarina/Sparkledns). Issues and pull requests go to the repository on [GitHub](https://github.com/kalarina-bit/Sparkledns).
## Ways to help ## Ways to help
+13 -4
View File
@@ -9,8 +9,12 @@
A local VPN that captures only DNS traffic and sends every query to the DoH server you choose (RFC 8484). Everything else goes through your normal connection. A local VPN that captures only DNS traffic and sends every query to the DoH server you choose (RFC 8484). Everything else goes through your normal connection.
</p> </p>
<p align="center">
<a href="https://ko-fi.com/skysparkle"><img src="https://ko-fi.com/img/githubbutton_sm.svg" alt="Support me on Ko-fi"></a>
</p>
> [!IMPORTANT] > [!IMPORTANT]
> **SparkleDNS is coming to Google Play!** The app is now in closed testing there ahead of the public release. Ideas, wishes and suggestions for improvement are very welcome — send them wherever is easiest for you: an issue on [Gitea](https://git.skysparkle.cc/kalarina/Sparkledns/issues) or [GitHub](https://github.com/kalarina-bit/Sparkledns/issues), or an email to [cuken107@proton.me](mailto:cuken107@proton.me). > **SparkleDNS is coming to Google Play!** The app is now in closed testing there ahead of the public release. Ideas, wishes and suggestions for improvement are very welcome — send them wherever is easiest for you: an [issue on GitHub](https://github.com/kalarina-bit/Sparkledns/issues), or an email to [cuken107@proton.me](mailto:cuken107@proton.me).
> [!NOTE] > [!NOTE]
> **Looking for designers!** SparkleDNS is looking for volunteer designers to help with icons, logos, animations, cover art (store graphics) and UI design. This is unpaid help for an open-source project. If you're interested, write to [cuken107@proton.me](mailto:cuken107@proton.me). > **Looking for designers!** SparkleDNS is looking for volunteer designers to help with icons, logos, animations, cover art (store graphics) and UI design. This is unpaid help for an open-source project. If you're interested, write to [cuken107@proton.me](mailto:cuken107@proton.me).
@@ -23,7 +27,6 @@
<a href="https://f-droid.org/packages/cc.skysparkle.sparkledns/"><img src="assets/get-it-on%20(1).png" height="56" alt="Get it on F-Droid"></a> <a href="https://f-droid.org/packages/cc.skysparkle.sparkledns/"><img src="assets/get-it-on%20(1).png" height="56" alt="Get it on F-Droid"></a>
<a href="https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://github.com/kalarina-bit/Sparkledns"><img src="assets/badge_obtainium.png" height="56" alt="Get it on Obtainium"></a> <a href="https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://github.com/kalarina-bit/Sparkledns"><img src="assets/badge_obtainium.png" height="56" alt="Get it on Obtainium"></a>
<a href="https://github.com/kalarina-bit/Sparkledns/releases/latest"><img src="assets/get-it-on-github.png" height="56" alt="Get it on GitHub"></a> <a href="https://github.com/kalarina-bit/Sparkledns/releases/latest"><img src="assets/get-it-on-github.png" height="56" alt="Get it on GitHub"></a>
<a href="https://git.skysparkle.cc/kalarina/Sparkledns/releases"><img src="assets/get-it-on-gitea.png" height="56" alt="Get it on Gitea"></a>
</p> </p>
<p align="center"> <p align="center">
@@ -49,7 +52,7 @@
- **[F-Droid](https://f-droid.org/packages/cc.skysparkle.sparkledns/)** — install and update through the F-Droid client. - **[F-Droid](https://f-droid.org/packages/cc.skysparkle.sparkledns/)** — install and update through the F-Droid client.
- **[Obtainium](https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://github.com/kalarina-bit/Sparkledns)** — installs the APK straight from GitHub releases and keeps it up to date. - **[Obtainium](https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://github.com/kalarina-bit/Sparkledns)** — installs the APK straight from GitHub releases and keeps it up to date.
- **Manually** — download the latest APK from [GitHub](https://github.com/kalarina-bit/Sparkledns/releases/latest) or [Gitea](https://git.skysparkle.cc/kalarina/Sparkledns/releases), allow installs from unknown sources for the app you open it with (Settings → Apps → Special access → Install unknown apps), then open the `.apk` and confirm. - **Manually** — download the latest APK from [GitHub Releases](https://github.com/kalarina-bit/Sparkledns/releases/latest), allow installs from unknown sources for the app you open it with (Settings → Apps → Special access → Install unknown apps), then open the `.apk` and confirm.
## <img src="assets/icon-verify.png" width="32" alt=""> Verifying a download ## <img src="assets/icon-verify.png" width="32" alt=""> Verifying a download
@@ -83,7 +86,7 @@ Requires JDK 17+ and Android SDK 36.
## 🤝 Contributing ## 🤝 Contributing
Bug reports, DoH server and blocklist suggestions, translation fixes and pull requests are welcome in the [issue tracker](https://git.skysparkle.cc/kalarina/Sparkledns/issues). Please read [CONTRIBUTING.md](CONTRIBUTING.md) first — it explains what fits the project and how to send changes. To open an issue or a pull request, [create an account](https://git.skysparkle.cc/user/sign_up) on this Gitea. Bug reports, DoH server and blocklist suggestions, translation fixes and pull requests are welcome in the [issue tracker](https://github.com/kalarina-bit/Sparkledns/issues). Please read [CONTRIBUTING.md](CONTRIBUTING.md) first — it explains what fits the project and how to send changes.
## 💙 Sponsor ## 💙 Sponsor
@@ -95,6 +98,12 @@ Bug reports, DoH server and blocklist suggestions, translation fixes and pull re
SparkleDNS is sponsored and supported by <a href="https://skysparkle.cc"><b>Skysparkle</b></a> — independent encrypted DNS from Lithuania and the app’s default DoH server. SparkleDNS is sponsored and supported by <a href="https://skysparkle.cc"><b>Skysparkle</b></a> — independent encrypted DNS from Lithuania and the app’s default DoH server.
</p> </p>
## ☕ Support
SparkleDNS is free, open source and has no ads. If it is useful to you, you can support the project on [Ko-fi](https://ko-fi.com/skysparkle) — donations pay for the Skysparkle server and the time spent on the apps.
<a href="https://ko-fi.com/skysparkle"><img src="https://ko-fi.com/img/githubbutton_sm.svg" alt="Support me on Ko-fi"></a>
## 📄 License ## 📄 License
[GNU General Public License v3.0 only](LICENSE). [GNU General Public License v3.0 only](LICENSE).
@@ -30,6 +30,7 @@ import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll import androidx.compose.foundation.verticalScroll
import androidx.compose.material3.Button
import androidx.compose.material3.Card import androidx.compose.material3.Card
import androidx.compose.material3.Icon import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton import androidx.compose.material3.IconButton
@@ -53,7 +54,8 @@ import androidx.compose.ui.text.style.TextDecoration
import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.dp
private const val PRIVACY_POLICY = "https://skysparkle.cc/privacy?lang=en" private const val PRIVACY_POLICY = "https://skysparkle.cc/privacy?lang=en"
private const val SOURCE_CODE = "https://git.skysparkle.cc/kalarina/Sparkledns" private const val SOURCE_CODE = "https://github.com/kalarina-bit/Sparkledns"
private const val DONATE = "https://ko-fi.com/skysparkle"
private const val APACHE_2 = "Apache License 2.0" private const val APACHE_2 = "Apache License 2.0"
private const val APACHE_2_URL = "https://www.apache.org/licenses/LICENSE-2.0" private const val APACHE_2_URL = "https://www.apache.org/licenses/LICENSE-2.0"
@@ -156,6 +158,8 @@ private fun AboutContent(modifier: Modifier, onOpenLicenses: () -> Unit) {
} }
} }
SupportCard(onDonate = { openUrl(context, DONATE) })
OutlinedButton(onClick = { openUrl(context, PRIVACY_POLICY) }, modifier = Modifier.fillMaxWidth()) { OutlinedButton(onClick = { openUrl(context, PRIVACY_POLICY) }, modifier = Modifier.fillMaxWidth()) {
Icon(painterResource(R.drawable.ic_policy), contentDescription = null, modifier = Modifier.size(18.dp)) Icon(painterResource(R.drawable.ic_policy), contentDescription = null, modifier = Modifier.size(18.dp))
Spacer(Modifier.width(8.dp)) Spacer(Modifier.width(8.dp))
@@ -192,6 +196,43 @@ private fun AboutContent(modifier: Modifier, onOpenLicenses: () -> Unit) {
} }
} }
// The server costs money every month; the card asks for help without getting in the way
@Composable
private fun SupportCard(onDonate: () -> Unit) {
val context = LocalContext.current
Card(Modifier.fillMaxWidth()) {
Row(
modifier = Modifier.padding(start = 16.dp, top = 16.dp, end = 16.dp),
verticalAlignment = Alignment.CenterVertically,
) {
Image(
remember { AppLogo.get(context) },
contentDescription = null,
modifier = Modifier.size(48.dp),
)
Spacer(Modifier.width(14.dp))
Column(Modifier.weight(1f)) {
Text(stringResource(R.string.support_title), style = MaterialTheme.typography.titleMedium)
Text(
stringResource(R.string.support_text),
style = MaterialTheme.typography.bodySmall,
color = MaterialTheme.colorScheme.onSurfaceVariant,
)
}
}
Button(
onClick = onDonate,
modifier = Modifier
.fillMaxWidth()
.padding(16.dp),
) {
Icon(painterResource(R.drawable.ic_donate), contentDescription = null, modifier = Modifier.size(18.dp))
Spacer(Modifier.width(8.dp))
Text(stringResource(R.string.support_button))
}
}
}
@Composable @Composable
private fun LicensesScreen(modifier: Modifier, onBack: () -> Unit) { private fun LicensesScreen(modifier: Modifier, onBack: () -> Unit) {
val context = LocalContext.current val context = LocalContext.current
+3
View File
@@ -158,4 +158,7 @@
<string name="onb_next">Weiter</string> <string name="onb_next">Weiter</string>
<string name="onb_done">Starten</string> <string name="onb_done">Starten</string>
<string name="onb_skip">Überspringen, ich wähle einen anderen Server</string> <string name="onb_skip">Überspringen, ich wähle einen anderen Server</string>
<string name="support_title">SparkleDNS unterstützen</string>
<string name="support_text">SparkleDNS ist kostenlos, quelloffen und werbefrei. Spenden finanzieren den Skysparkle-Server und halten die App am Leben.</string>
<string name="support_button">Auf Ko-fi spenden</string>
</resources> </resources>
+3
View File
@@ -158,4 +158,7 @@
<string name="onb_next">次へ</string> <string name="onb_next">次へ</string>
<string name="onb_done">開始</string> <string name="onb_done">開始</string>
<string name="onb_skip">スキップして別のサーバーを選ぶ</string> <string name="onb_skip">スキップして別のサーバーを選ぶ</string>
<string name="support_title">SparkleDNS を応援する</string>
<string name="support_text">SparkleDNS は無料・オープンソースで、広告もありません。寄付は Skysparkle サーバーの運営とアプリの開発に使われます。</string>
<string name="support_button">Ko-fi で寄付する</string>
</resources> </resources>
+3
View File
@@ -158,4 +158,7 @@
<string name="onb_next">Toliau</string> <string name="onb_next">Toliau</string>
<string name="onb_done">Pradėti</string> <string name="onb_done">Pradėti</string>
<string name="onb_skip">Praleisti, pasirinksiu kitą serverį</string> <string name="onb_skip">Praleisti, pasirinksiu kitą serverį</string>
<string name="support_title">Paremti SparkleDNS</string>
<string name="support_text">SparkleDNS nemokama, atvirojo kodo ir be reklamų. Aukos padengia Skysparkle serverio išlaidas ir padeda programėlei gyvuoti.</string>
<string name="support_button">Paaukoti per Ko-fi</string>
</resources> </resources>
+3
View File
@@ -158,4 +158,7 @@
<string name="onb_next">Далее</string> <string name="onb_next">Далее</string>
<string name="onb_done">Начать</string> <string name="onb_done">Начать</string>
<string name="onb_skip">Пропустить, выберу другой сервер</string> <string name="onb_skip">Пропустить, выберу другой сервер</string>
<string name="support_title">Поддержать SparkleDNS</string>
<string name="support_text">SparkleDNS бесплатное, с открытым кодом и без рекламы. Пожертвования оплачивают сервер Skysparkle и помогают приложению развиваться.</string>
<string name="support_button">Пожертвовать через Ko-fi</string>
</resources> </resources>
+3
View File
@@ -158,4 +158,7 @@
<string name="onb_next">下一步</string> <string name="onb_next">下一步</string>
<string name="onb_done">开始</string> <string name="onb_done">开始</string>
<string name="onb_skip">跳过,我选择其他服务器</string> <string name="onb_skip">跳过,我选择其他服务器</string>
<string name="support_title">支持 SparkleDNS</string>
<string name="support_text">SparkleDNS 免费、开源且无广告。捐助用于支付 Skysparkle 服务器的费用,让应用持续发展。</string>
<string name="support_button">通过 Ko-fi 捐助</string>
</resources> </resources>
+3
View File
@@ -159,4 +159,7 @@
<string name="onb_next">Next</string> <string name="onb_next">Next</string>
<string name="onb_done">Start</string> <string name="onb_done">Start</string>
<string name="onb_skip">Skip, I\'ll choose another server</string> <string name="onb_skip">Skip, I\'ll choose another server</string>
<string name="support_title">Support SparkleDNS</string>
<string name="support_text">SparkleDNS is free, open source and has no ads. Donations pay for the Skysparkle server and keep the app going.</string>
<string name="support_button">Donate on Ko-fi</string>
</resources> </resources>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB