Skip to content

Commit

Permalink
[doc] Rename to PodAura; update README
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyD666 committed Dec 30, 2024
1 parent 559a4fa commit 43f301e
Show file tree
Hide file tree
Showing 93 changed files with 404 additions and 403 deletions.
28 changes: 15 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<div align="center">
<div>
<img src="doc/image/AniVu.svg" style="height: 210px"/>
<img src="doc/image/PodAura.svg" style="height: 210px"/>
</div>
<h1>🥰 AniVu</h1>
<p>(<b>A</b> <b>N</b>ew <b>I</b>ntegration <b>View</b>)</p>
<h1>🥰 PodAura</h1>
<p><b>P</b>odcasts <b>O</b>rganized <b>D</b>iversely with <b>A</b>udio-Video <b>U</b>nification for <b>R</b>ich <b>A</b>ccess</p>
<p>
<a href="https://github.com/SkyD666/AniVu/actions" style="text-decoration:none">
<img src="https://img.shields.io/github/actions/workflow/status/SkyD666/AniVu/pre_release.yml?branch=master&style=for-the-badge" alt="GitHub Workflow Status" />
<a href="https://github.com/SkyD666/PodAura/actions" style="text-decoration:none">
<img src="https://img.shields.io/github/actions/workflow/status/SkyD666/PodAura/pre_release.yml?branch=master&style=for-the-badge" alt="GitHub Workflow Status" />
</a>
<a href="https://github.com/SkyD666/AniVu/releases/latest" style="text-decoration:none">
<img src="https://img.shields.io/github/v/release/SkyD666/AniVu?display_name=release&style=for-the-badge" alt="GitHub release (latest by date)"/>
<a href="https://github.com/SkyD666/PodAura/releases/latest" style="text-decoration:none">
<img src="https://img.shields.io/github/v/release/SkyD666/PodAura?display_name=release&style=for-the-badge" alt="GitHub release (latest by date)"/>
</a>
<a href="https://f-droid.org/packages/com.skyd.anivu/" style="text-decoration:none">
<img src="https://img.shields.io/f-droid/v/com.skyd.anivu?style=for-the-badge&logo=F-Droid&color=1976d2" alt="F-Droid Version"/>
</a>
<a href="https://github.com/SkyD666/AniVu/releases/latest" style="text-decoration:none" >
<img src="https://img.shields.io/github/downloads/SkyD666/AniVu/total?style=for-the-badge" alt="GitHub all downloads"/>
<a href="https://github.com/SkyD666/PodAura/releases/latest" style="text-decoration:none" >
<img src="https://img.shields.io/github/downloads/SkyD666/PodAura/total?style=for-the-badge" alt="GitHub all downloads"/>
</a>
<a href="https://www.android.com/versions/nougat-7-0" style="text-decoration:none" >
<img src="https://img.shields.io/badge/Android 7.0+-brightgreen?style=for-the-badge&logo=android&logoColor=white" alt="Support platform"/>
</a>
<a href="https://github.com/SkyD666/AniVu/blob/master/LICENSE" style="text-decoration:none" >
<img src="https://img.shields.io/github/license/SkyD666/AniVu?style=for-the-badge" alt="GitHub license"/>
<a href="https://github.com/SkyD666/PodAura/blob/master/LICENSE" style="text-decoration:none" >
<img src="https://img.shields.io/github/license/SkyD666/PodAura?style=for-the-badge" alt="GitHub license"/>
</a>
<a href="https://t.me/SkyD666Chat" style="text-decoration:none" >
<img src="https://img.shields.io/badge/Telegram-2CA5E0?logo=telegram&logoColor=white&style=for-the-badge" alt="Telegram"/>
Expand All @@ -34,13 +34,15 @@
An <b>all-in-one Podcast tool</b> for <b>RSS subscription and updates</b>, <b>media downloads</b> and <b>playback</b>.
</p>
<p>
AniVu utilizes the <b><a href="https://developer.android.com/topic/architecture#recommended-app-arch">MVI</a></b> architecture and fully adopts the <b><a href="https://m3.material.io/">Material You</a></b> design style. All pages are developed using <b>Jetpack Compose</b>.
PodAura utilizes the <b><a href="https://developer.android.com/topic/architecture#recommended-app-arch">MVI</a></b> architecture and fully adopts the <b><a href="https://m3.material.io/">Material You</a></b> design style. All pages are developed using <b>Jetpack Compose</b>.
</p>
<p>
<b><a href="doc/readme/README-zh-rCN.md">简体中文</a></b>&nbsp&nbsp&nbsp|&nbsp&nbsp&nbsp<b><a href="doc/readme/README-zh-rTW.md">正體中文</a></b>&nbsp&nbsp&nbsp|&nbsp&nbsp&nbsp<b><a href="https://crowdin.com/project/anivu">Help us translate</a></b>
</p>
</div>



<a href="https://f-droid.org/packages/com.skyd.anivu"><img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="80"></a>

## 💡 Features
Expand Down Expand Up @@ -95,7 +97,7 @@ If you are interested, please help us **translate**, thank you.

## ✨ Star History

[![Star History Chart](https://api.star-history.com/svg?repos=SkyD666/AniVu)](https://star-history.com/?repos=SkyD666/AniVu#SkyD666/AniVu&Date)
[![Star History Chart](https://api.star-history.com/svg?repos=SkyD666/PodAura)](https://star-history.com/?repos=SkyD666/PodAura#SkyD666/PodAura&Date)

## 🎈 Other works

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ android {
minSdk = 24
targetSdk = 35
versionCode = 25
versionName = "2.1-rc04"
versionName = "2.1-rc05"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

Expand Down Expand Up @@ -69,7 +69,7 @@ android {
.forEach { output ->
val abi = output.getFilter(FilterConfiguration.FilterType.ABI.name) ?: "universal"
output.outputFileName =
"AniVu_${versionName}_${abi}_${buildType.name}_${flavorName}.apk"
"PodAura_${versionName}_${abi}_${buildType.name}_${flavorName}.apk"
}
}

Expand Down
10 changes: 5 additions & 5 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.AniVu.Pink"
android:theme="@style/Theme.PodAura.Pink"
tools:targetApi="31">
<profileable
android:enabled="true"
Expand All @@ -68,7 +68,7 @@
android:name=".ui.activity.MainActivity"
android:exported="true"
android:launchMode="singleTask"
android:theme="@style/Theme.AniVu.NoActionBar.Splash"
android:theme="@style/Theme.PodAura.NoActionBar.Splash"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand All @@ -83,7 +83,7 @@

<data
android:host="download.screen"
android:scheme="anivu" />
android:scheme="podaura" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
Expand All @@ -93,7 +93,7 @@

<data
android:host="article.screen"
android:scheme="anivu" />
android:scheme="podaura" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
Expand Down Expand Up @@ -160,7 +160,7 @@
android:launchMode="singleTask"
android:screenOrientation="userLandscape"
android:supportsPictureInPicture="true"
android:theme="@style/Theme.AniVu.Player">
android:theme="@style/Theme.PodAura.Player">
<intent-filter>
<action android:name="android.intent.action.VIEW" />

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/skyd/anivu/base/BaseComposeActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import com.skyd.anivu.model.preference.SettingsProvider
import com.skyd.anivu.model.preference.appearance.ThemePreference
import com.skyd.anivu.ui.local.LocalDarkMode
import com.skyd.anivu.ui.local.LocalWindowSizeClass
import com.skyd.anivu.ui.theme.AniVuTheme
import com.skyd.anivu.ui.theme.PodAuraTheme
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
Expand All @@ -27,7 +27,7 @@ open class BaseComposeActivity : AppCompatActivity() {
CompositionLocalProvider(
LocalWindowSizeClass provides calculateWindowSizeClass(this@BaseComposeActivity)
) {
SettingsProvider { AniVuTheme(darkTheme = LocalDarkMode.current, content) }
SettingsProvider { PodAuraTheme(darkTheme = LocalDarkMode.current, content) }
}
}

Expand Down
10 changes: 5 additions & 5 deletions app/src/main/java/com/skyd/anivu/config/Const.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import com.skyd.anivu.appContext
import java.io.File

object Const {
const val GITHUB_REPO = "https://github.com/SkyD666/AniVu"
const val GITHUB_LATEST_RELEASE = "https://api.github.com/repos/SkyD666/AniVu/releases/latest"
const val GITHUB_NEW_ISSUE_URL = "https://github.com/SkyD666/AniVu/issues/new"
const val GITHUB_REPO = "https://github.com/SkyD666/PodAura"
const val GITHUB_LATEST_RELEASE = "https://api.github.com/repos/SkyD666/PodAura/releases/latest"
const val GITHUB_NEW_ISSUE_URL = "https://github.com/SkyD666/PodAura/issues/new"
const val TELEGRAM_GROUP = "https://t.me/SkyD666Chat"
const val DISCORD_SERVER = "https://discord.gg/pEWEjeJTa3"

Expand Down Expand Up @@ -46,9 +46,9 @@ object Const {
.apply { if (!exists()) mkdirs() }

val PICTURES_DIR = appContext.getExternalFilesDir(Environment.DIRECTORY_PICTURES)!!
val ANIVU_PICTURES_DIR = File(
val PODAURA_PICTURES_DIR = File(
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES),
"AniVu"
"PodAura"
).apply { if (!exists()) mkdirs() }
val TEMP_PICTURES_DIR = File(appContext.cacheDir.path, "Pictures").apply {
if (!exists()) mkdirs()
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/skyd/anivu/ext/DrawableExt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fun BitmapDrawable.saveToGallery(
}
)
} else {
Const.ANIVU_PICTURES_DIR.outputStream().use { outputStream ->
Const.PODAURA_PICTURES_DIR.outputStream().use { outputStream ->
bitmap?.compress(Bitmap.CompressFormat.PNG, 100, outputStream) == true
}
}
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/skyd/anivu/ext/FileExt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import android.webkit.MimeTypeMap
import androidx.core.content.FileProvider
import androidx.core.net.toUri
import com.skyd.anivu.R
import com.skyd.anivu.config.Const.ANIVU_PICTURES_DIR
import com.skyd.anivu.config.Const.PODAURA_PICTURES_DIR
import com.skyd.anivu.ext.content.saveToGallery
import com.skyd.anivu.ui.component.showToast
import java.io.File
Expand Down Expand Up @@ -62,7 +62,7 @@ fun File.savePictureToMediaStore(
}
)
} else {
this.copyTo(File(ANIVU_PICTURES_DIR, fileName))
this.copyTo(File(PODAURA_PICTURES_DIR, fileName))
}
context.getString(R.string.save_picture_to_media_store_saved).showToast()
if (autoDelete) delete()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ fun ContentValues.gallery(
}
put(
MediaStore.Images.Media.RELATIVE_PATH,
Environment.DIRECTORY_PICTURES + "/AniVu"
Environment.DIRECTORY_PICTURES + "/PodAura"
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import com.skyd.anivu.base.BasePreference
import com.skyd.anivu.ext.dataStore
import com.skyd.anivu.ext.getOrDefault
import com.skyd.anivu.ext.put
import com.skyd.anivu.ui.component.AniVuTextFieldStyle
import com.skyd.anivu.ui.component.PodAuraTextFieldStyle
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch

object TextFieldStylePreference : BasePreference<String> {
private const val TEXT_FIELD_STYLE = "textFieldStyle"

val values = AniVuTextFieldStyle.entries.map { it.value }
val values = PodAuraTextFieldStyle.entries.map { it.value }

override val default = AniVuTextFieldStyle.Normal.value
override val default = PodAuraTextFieldStyle.Normal.value

val key = stringPreferencesKey(TEXT_FIELD_STYLE)

Expand All @@ -34,8 +34,8 @@ object TextFieldStylePreference : BasePreference<String> {
context: Context,
value: String = context.dataStore.getOrDefault(this),
): String = when (value) {
AniVuTextFieldStyle.Normal.value -> context.getString(R.string.normal_text_field_style)
AniVuTextFieldStyle.Outlined.value -> context.getString(R.string.outlined_text_field_style)
PodAuraTextFieldStyle.Normal.value -> context.getString(R.string.normal_text_field_style)
PodAuraTextFieldStyle.Outlined.value -> context.getString(R.string.outlined_text_field_style)
else -> context.getString(R.string.unknown)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ object ThemePreference : BasePreference<String> {
context: Context,
value: String = context.dataStore.getOrDefault(this),
): Int = when (value) {
DYNAMIC -> R.style.Theme_AniVu_Dynamic
PINK -> R.style.Theme_AniVu_Pink
GREEN -> R.style.Theme_AniVu_Green
BLUE -> R.style.Theme_AniVu_Blue
YELLOW -> R.style.Theme_AniVu_Yellow
PURPLE -> R.style.Theme_AniVu_Purple
else -> R.style.Theme_AniVu_Pink
DYNAMIC -> R.style.Theme_PodAura_Dynamic
PINK -> R.style.Theme_PodAura_Pink
GREEN -> R.style.Theme_PodAura_Green
BLUE -> R.style.Theme_PodAura_Blue
YELLOW -> R.style.Theme_PodAura_Yellow
PURPLE -> R.style.Theme_PodAura_Purple
else -> R.style.Theme_PodAura_Pink
}

fun toSeedColor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class BtDownloadWorker(context: Context, parameters: WorkerParameters) :
settings = sessionParams.settings,
).setString(
settings_pack.string_types.user_agent.swigValue(),
"${applicationContext.getAppName() ?: "AniVu"}/${applicationContext.getAppVersionName()}"
"${applicationContext.getAppName() ?: "PodAura"}/${applicationContext.getAppVersionName()}"
)

start(sessionParams)
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/skyd/anivu/ui/activity/CrashActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import com.skyd.anivu.ext.openBrowser
import com.skyd.anivu.model.preference.SettingsProvider
import com.skyd.anivu.ui.local.LocalDarkMode
import com.skyd.anivu.ui.local.LocalWindowSizeClass
import com.skyd.anivu.ui.theme.AniVuTheme
import com.skyd.anivu.ui.theme.PodAuraTheme


/**
Expand Down Expand Up @@ -86,7 +86,7 @@ class CrashActivity : ComponentActivity() {
LocalWindowSizeClass provides calculateWindowSizeClass(this)
) {
SettingsProvider {
AniVuTheme(darkTheme = LocalDarkMode.current) {
PodAuraTheme(darkTheme = LocalDarkMode.current) {
CrashScreen(
message = message,
onReport = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fun ClipboardTextField(
label: String = "",
maxLines: Int = Int.MAX_VALUE,
singleLine: Boolean = maxLines == 1,
style: AniVuTextFieldStyle = AniVuTextFieldStyle.toEnum(LocalTextFieldStyle.current),
style: PodAuraTextFieldStyle = PodAuraTextFieldStyle.toEnum(LocalTextFieldStyle.current),
autoRequestFocus: Boolean = true,
onValueChange: (String) -> Unit = {},
placeholder: String = "",
Expand All @@ -40,7 +40,7 @@ fun ClipboardTextField(
onConfirm: (String) -> Unit = {},
) {
Column {
AniVuTextField(
PodAuraTextField(
modifier = modifier,
readOnly = readOnly,
value = value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fun AnimatedPlaceholder(
text = tip,
maxLines = maxLines,
) {
AniVuLottieAnimation(resId = resId)
PodAuraLottieAnimation(resId = resId)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ import androidx.compose.ui.platform.LocalDensity
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp

enum class AniVuFloatingActionButtonStyle {
enum class PodAuraFloatingActionButtonStyle {
Normal, Extended, Large, Small
}

@Composable
fun AniVuFloatingActionButton(
fun PodAuraFloatingActionButton(
modifier: Modifier = Modifier,
onClick: () -> Unit,
onSizeWithSinglePaddingChanged: ((width: Dp, height: Dp) -> Unit)? = null,
elevation: FloatingActionButtonElevation = FloatingActionButtonDefaults.elevation(),
style: AniVuFloatingActionButtonStyle = AniVuFloatingActionButtonStyle.Normal,
style: PodAuraFloatingActionButtonStyle = PodAuraFloatingActionButtonStyle.Normal,
contentDescription: String? = null,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
content: @Composable RowScope.() -> Unit
Expand All @@ -54,31 +54,31 @@ fun AniVuFloatingActionButton(
}

when (style) {
AniVuFloatingActionButtonStyle.Normal -> FloatingActionButton(
PodAuraFloatingActionButtonStyle.Normal -> FloatingActionButton(
modifier = newModifier,
onClick = onClick,
elevation = elevation,
interactionSource = interactionSource,
content = { Row { content() } },
)

AniVuFloatingActionButtonStyle.Extended -> ExtendedFloatingActionButton(
PodAuraFloatingActionButtonStyle.Extended -> ExtendedFloatingActionButton(
modifier = newModifier,
onClick = onClick,
elevation = elevation,
interactionSource = interactionSource,
content = { Row { content() } },
)

AniVuFloatingActionButtonStyle.Large -> LargeFloatingActionButton(
PodAuraFloatingActionButtonStyle.Large -> LargeFloatingActionButton(
modifier = newModifier,
onClick = onClick,
elevation = elevation,
interactionSource = interactionSource,
content = { Row { content() } },
)

AniVuFloatingActionButtonStyle.Small -> SmallFloatingActionButton(
PodAuraFloatingActionButtonStyle.Small -> SmallFloatingActionButton(
modifier = newModifier,
onClick = onClick,
elevation = elevation,
Expand Down Expand Up @@ -107,7 +107,7 @@ fun AniVuFloatingActionButton(
}

@Composable
fun AniVuExtendedFloatingActionButton(
fun PodAuraExtendedFloatingActionButton(
modifier: Modifier = Modifier,
text: @Composable () -> Unit,
icon: @Composable () -> Unit,
Expand Down Expand Up @@ -172,7 +172,7 @@ fun BottomHideExtendedFloatingActionButton(
enter = slideInVertically { with(density) { 40.dp.roundToPx() } } + fadeIn(),
exit = slideOutVertically { with(density) { 40.dp.roundToPx() } } + fadeOut(),
) {
AniVuExtendedFloatingActionButton(
PodAuraExtendedFloatingActionButton(
modifier = modifier,
text = text,
icon = icon,
Expand Down
Loading

0 comments on commit 43f301e

Please sign in to comment.