mirror of
https://github.com/kalarina-bit/Fogwave.git
synced 2026-11-22 08:06:09 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9e98c8d75 | ||
|
|
f0b3530479 |
@@ -0,0 +1 @@
|
|||||||
|
ko_fi: skysparkle
|
||||||
@@ -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/Fogwave
|
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
@@ -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/Fogwave).
|
Issues and pull requests go to the repository on [GitHub](https://github.com/kalarina-bit/Fogwave).
|
||||||
|
|
||||||
## Ways to help
|
## Ways to help
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,12 @@
|
|||||||
Listen to Lithuania's favorite stations in one tap.
|
Listen to Lithuania's favorite stations in one tap.
|
||||||
</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]
|
||||||
> **Fogwave 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/Fogwave/issues) or [GitHub](https://github.com/kalarina-bit/Fogwave/issues), or an email to [cuken107@proton.me](mailto:cuken107@proton.me).
|
> **Fogwave 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/Fogwave/issues), or an email to [cuken107@proton.me](mailto:cuken107@proton.me).
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> **Looking for designers!** Fogwave 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!** Fogwave 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).
|
||||||
@@ -21,9 +25,8 @@
|
|||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://f-droid.org/packages/cc.skysparkle.fogwave/"><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.fogwave/"><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://git.skysparkle.cc/kalarina/Fogwave"><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/Fogwave"><img src="assets/badge_obtainium.png" height="56" alt="Get it on Obtainium"></a>
|
||||||
<a href="https://github.com/kalarina-bit/Fogwave/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/Fogwave/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/Fogwave/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">
|
||||||
@@ -51,8 +54,8 @@
|
|||||||
## <img src="assets/icon-install.png" width="32" alt=""> Installation
|
## <img src="assets/icon-install.png" width="32" alt=""> Installation
|
||||||
|
|
||||||
- **[F-Droid](https://f-droid.org/packages/cc.skysparkle.fogwave/)** — install and update through the F-Droid client.
|
- **[F-Droid](https://f-droid.org/packages/cc.skysparkle.fogwave/)** — install and update through the F-Droid client.
|
||||||
- **[Obtainium](https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://git.skysparkle.cc/kalarina/Fogwave)** — installs the APK straight from Gitea releases and keeps it up to date.
|
- **[Obtainium](https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://github.com/kalarina-bit/Fogwave)** — 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/Fogwave/releases/latest) or [Gitea](https://git.skysparkle.cc/kalarina/Fogwave/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/Fogwave/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
|
||||||
|
|
||||||
@@ -88,7 +91,13 @@ Release builds are signed only when a keystore is supplied through the `KEYSTORE
|
|||||||
|
|
||||||
## 🤝 Contributing
|
## 🤝 Contributing
|
||||||
|
|
||||||
Bug reports, station suggestions, translation fixes and pull requests are welcome in the [issue tracker](https://git.skysparkle.cc/kalarina/Fogwave/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, station suggestions, translation fixes and pull requests are welcome in the [issue tracker](https://github.com/kalarina-bit/Fogwave/issues). Please read [CONTRIBUTING.md](CONTRIBUTING.md) first — it explains what fits the project and how to send changes.
|
||||||
|
|
||||||
|
## ☕ Support
|
||||||
|
|
||||||
|
Fogwave 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
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,8 @@ import cc.skysparkle.fogwave.ui.theme.AppThemeState
|
|||||||
import cc.skysparkle.fogwave.ui.theme.GeoColors
|
import cc.skysparkle.fogwave.ui.theme.GeoColors
|
||||||
import cc.skysparkle.fogwave.ui.theme.LocalGeoColors
|
import cc.skysparkle.fogwave.ui.theme.LocalGeoColors
|
||||||
|
|
||||||
private const val REPOSITORY_URL = "https://git.skysparkle.cc/kalarina/Fogwave"
|
private const val REPOSITORY_URL = "https://github.com/kalarina-bit/Fogwave"
|
||||||
|
private const val DONATE_URL = "https://ko-fi.com/skysparkle"
|
||||||
private const val PRIVACY_POLICY_URL = "https://skysparkle.cc/privacy?lang=en"
|
private const val PRIVACY_POLICY_URL = "https://skysparkle.cc/privacy?lang=en"
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@@ -64,6 +65,7 @@ fun AboutPanel(modifier: Modifier = Modifier) {
|
|||||||
verticalArrangement = Arrangement.spacedBy(10.dp)
|
verticalArrangement = Arrangement.spacedBy(10.dp)
|
||||||
) {
|
) {
|
||||||
AppHeader()
|
AppHeader()
|
||||||
|
SupportCard(onDonate = { context.openUrl(DONATE_URL) })
|
||||||
|
|
||||||
SectionLabel(stringResource(R.string.about_appearance))
|
SectionLabel(stringResource(R.string.about_appearance))
|
||||||
GroupCard {
|
GroupCard {
|
||||||
@@ -168,6 +170,57 @@ private fun AppHeader() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Asks for a donation: the app icon, a short note and one button. */
|
||||||
|
@Composable
|
||||||
|
private fun SupportCard(onDonate: () -> Unit) {
|
||||||
|
val colors = LocalGeoColors.current
|
||||||
|
GroupCard(contentPadding = 16.dp) {
|
||||||
|
Row(
|
||||||
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
|
horizontalArrangement = Arrangement.spacedBy(14.dp)
|
||||||
|
) {
|
||||||
|
Box(
|
||||||
|
modifier = Modifier
|
||||||
|
.size(44.dp)
|
||||||
|
.clip(RoundedCornerShape(14.dp))
|
||||||
|
.background(colors.primaryContainer),
|
||||||
|
contentAlignment = Alignment.Center
|
||||||
|
) {
|
||||||
|
AppIcon(resId = R.drawable.ic_fogwave_logo, size = 32.dp)
|
||||||
|
}
|
||||||
|
Column(modifier = Modifier.weight(1f)) {
|
||||||
|
RowTitle(stringResource(R.string.support_title))
|
||||||
|
RowSubtitle(stringResource(R.string.support_text), maxLines = 4)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Row(
|
||||||
|
modifier = Modifier
|
||||||
|
.padding(top = 14.dp)
|
||||||
|
.fillMaxWidth()
|
||||||
|
.height(46.dp)
|
||||||
|
.clip(CircleShape)
|
||||||
|
.background(colors.accentLavender)
|
||||||
|
.clickable(
|
||||||
|
onClickLabel = stringResource(R.string.about_open_in_browser),
|
||||||
|
role = Role.Button,
|
||||||
|
onClick = onDonate
|
||||||
|
)
|
||||||
|
.testTag("donate_button"),
|
||||||
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
|
horizontalArrangement = Arrangement.spacedBy(8.dp, Alignment.CenterHorizontally)
|
||||||
|
) {
|
||||||
|
AppIcon(resId = R.drawable.ic_heart_fill, tint = colors.onAccentLavender, size = 18.dp)
|
||||||
|
Text(
|
||||||
|
text = stringResource(R.string.support_button),
|
||||||
|
style = MaterialTheme.typography.labelLarge.copy(
|
||||||
|
fontWeight = FontWeight.Bold,
|
||||||
|
color = colors.onAccentLavender
|
||||||
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
private fun StylePicker() {
|
private fun StylePicker() {
|
||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
|
|||||||
@@ -129,4 +129,7 @@
|
|||||||
<string name="eq_gain_db">%1$s dB</string>
|
<string name="eq_gain_db">%1$s dB</string>
|
||||||
<string name="eq_freq_hz">%1$s Hz</string>
|
<string name="eq_freq_hz">%1$s Hz</string>
|
||||||
<string name="eq_freq_khz">%1$s kHz</string>
|
<string name="eq_freq_khz">%1$s kHz</string>
|
||||||
|
<string name="support_title">Fogwave unterstützen</string>
|
||||||
|
<string name="support_text">Fogwave ist kostenlos, quelloffen und werbefrei. Wenn dir die App gefällt, hilft eine kleine Spende, das Projekt weiterzuführen.</string>
|
||||||
|
<string name="support_button">Auf Ko-fi spenden</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -128,4 +128,7 @@
|
|||||||
<string name="eq_gain_db">%1$s dB</string>
|
<string name="eq_gain_db">%1$s dB</string>
|
||||||
<string name="eq_freq_hz">%1$s Hz</string>
|
<string name="eq_freq_hz">%1$s Hz</string>
|
||||||
<string name="eq_freq_khz">%1$s kHz</string>
|
<string name="eq_freq_khz">%1$s kHz</string>
|
||||||
|
<string name="support_title">Fogwave を応援する</string>
|
||||||
|
<string name="support_text">Fogwave は無料・オープンソースで、広告もありません。気に入っていただけたら、少額の寄付がプロジェクトの継続を支えます。</string>
|
||||||
|
<string name="support_button">Ko-fi で寄付する</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -131,4 +131,7 @@
|
|||||||
<string name="eq_gain_db">%1$s dB</string>
|
<string name="eq_gain_db">%1$s dB</string>
|
||||||
<string name="eq_freq_hz">%1$s Hz</string>
|
<string name="eq_freq_hz">%1$s Hz</string>
|
||||||
<string name="eq_freq_khz">%1$s kHz</string>
|
<string name="eq_freq_khz">%1$s kHz</string>
|
||||||
|
<string name="support_title">Paremti Fogwave</string>
|
||||||
|
<string name="support_text">Fogwave nemokama, atvirojo kodo ir be reklamų. Jei programėlė patinka, nedidelė auka padeda projektui gyvuoti.</string>
|
||||||
|
<string name="support_button">Paaukoti per Ko-fi</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -131,4 +131,7 @@
|
|||||||
<string name="eq_gain_db">%1$s дБ</string>
|
<string name="eq_gain_db">%1$s дБ</string>
|
||||||
<string name="eq_freq_hz">%1$s Гц</string>
|
<string name="eq_freq_hz">%1$s Гц</string>
|
||||||
<string name="eq_freq_khz">%1$s кГц</string>
|
<string name="eq_freq_khz">%1$s кГц</string>
|
||||||
|
<string name="support_title">Поддержать Fogwave</string>
|
||||||
|
<string name="support_text">Fogwave бесплатное, с открытым кодом и без рекламы. Если приложение нравится, небольшое пожертвование помогает проекту развиваться.</string>
|
||||||
|
<string name="support_button">Пожертвовать через Ko-fi</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -128,4 +128,7 @@
|
|||||||
<string name="eq_gain_db">%1$s dB</string>
|
<string name="eq_gain_db">%1$s dB</string>
|
||||||
<string name="eq_freq_hz">%1$s Hz</string>
|
<string name="eq_freq_hz">%1$s Hz</string>
|
||||||
<string name="eq_freq_khz">%1$s kHz</string>
|
<string name="eq_freq_khz">%1$s kHz</string>
|
||||||
|
<string name="support_title">支持 Fogwave</string>
|
||||||
|
<string name="support_text">Fogwave 免费、开源且无广告。如果你喜欢它,一笔小小的捐助能帮助项目持续下去。</string>
|
||||||
|
<string name="support_button">通过 Ko-fi 捐助</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -130,4 +130,7 @@
|
|||||||
<string name="eq_gain_db">%1$s dB</string>
|
<string name="eq_gain_db">%1$s dB</string>
|
||||||
<string name="eq_freq_hz">%1$s Hz</string>
|
<string name="eq_freq_hz">%1$s Hz</string>
|
||||||
<string name="eq_freq_khz">%1$s kHz</string>
|
<string name="eq_freq_khz">%1$s kHz</string>
|
||||||
|
<string name="support_title">Support Fogwave</string>
|
||||||
|
<string name="support_text">Fogwave is free, open source and has no ads. If you enjoy it, a small donation helps keep the project going.</string>
|
||||||
|
<string name="support_button">Donate on Ko-fi</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 139 KiB |
Reference in New Issue
Block a user