Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulyaara committed Feb 19, 2024
2 parents 322be33 + 1b87237 commit 7214351
Show file tree
Hide file tree
Showing 220 changed files with 21,770 additions and 1,005 deletions.
10 changes: 8 additions & 2 deletions .idea/appInsightsSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

123 changes: 123 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,23 @@

[Kafka](https://www.kafkaarchives.com) uses www.archive.org to serve millions of audiobooks and pdf books available across a multitude of genres and languages, all free and in the public domain.

- 41 million books and text; 14.5 million audio recordings - tagged and searchable with filters
- New content added continuously by the community as well as Kafka Archives
- Audio player for seamless background playback, sleep timer and playback speed controls
- Text reader for reading PDFs with features like continue-reading
- Mark content as favorite and build your own library
- Download content on your device and share it freely - or share within the app with convenient deep linking
- Dark theme with MaterialYou colors


## Download

<a href="https://play.google.com/store/apps/details?id=com.kafka.user" target="_blank">
<img src="https://play.google.com/intl/en_gb/badges/static/images/badges/en_badge_web_generic.png" width=240 />
</a>

Or [Download APK](https://github.com/vipulyaara/Kafka/raw/develop/app/release/app-release.apk)

## Demo

### [Video](https://vimeo.com/user68598793/review/472788300/8256f4487c)
Expand All @@ -25,6 +35,7 @@
## How to run
- Clone the repo
- Clone [Sarahang](https://github.com/vipulyaara/Sarahang) in the same parent folder as Kafka.<br/>Sarahang is the audio player being used in Kafka and not yet provided through maven.
- Add `google_server_client_id=xxx` and `pipeless_auth_token=xxx` in your `local.properties` file. You can use arbitrary values, these tokens only provide additional functionalities.
- Run project

`google-services.json` for debug flavour is added to the repository.
Expand Down
24 changes: 19 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties

plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.androidx.baselineprofile)
Expand All @@ -6,15 +8,21 @@ plugins {
alias(libs.plugins.gms.googleServices)
alias(libs.plugins.hilt)
alias(libs.plugins.kotlin.android)
id("kotlin-kapt")
id("kotlinx-serialization")
alias(libs.plugins.kotlin.kapt)
alias(libs.plugins.kotlin.serialization)
}

android {
defaultConfig {
applicationId = "com.kafka.user"
versionCode = 42
versionName = "0.3.0"
versionCode = 52
versionName = "0.12.0"

val googleServerClientId: String = gradleLocalProperties(rootDir).getProperty("google_server_client_id")
val pipelessAuthToken: String = gradleLocalProperties(rootDir).getProperty("pipeless_auth_token")

buildConfigField("String", "GOOGLE_SERVER_CLIENT_ID", googleServerClientId)
buildConfigField("String", "PIPELESS_AUTH_TOKEN", pipelessAuthToken)
}

compileOptions {
Expand Down Expand Up @@ -86,9 +94,15 @@ android {
checkDependencies = true
warning += "AutoboxingStateCreation"
}

buildFeatures.buildConfig = true

}

dependencies {
implementation(platform(libs.compose.bom))
implementation(platform(libs.google.bom))

implementation(projects.base.domain)
implementation(projects.core.analytics)
implementation(projects.core.downloader)
Expand All @@ -112,7 +126,6 @@ dependencies {
implementation(projects.ui.theme)
implementation(projects.ui.webview)

implementation(libs.accompanist.navigation.animation)
implementation(libs.accompanist.navigation.material)
implementation(libs.accompanist.permissions)
implementation(libs.androidx.activity.compose)
Expand All @@ -131,6 +144,7 @@ dependencies {
implementation(libs.compose.ui.util)
implementation(libs.dataStore)
implementation(libs.fetch)
implementation(libs.fetch.okhttp)
implementation(libs.firestore.ktx)
implementation(libs.google.analytics)
implementation(libs.google.auth)
Expand Down
Binary file added app/release/app-release.apk
Binary file not shown.
47 changes: 46 additions & 1 deletion app/src/debug/google-services.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,51 @@
}
},
"oauth_client": [
{
"client_id": "577294117898-g1vm8lfab12a90elj1c9ima8bfnmkie0.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.kafka.user.debug",
"certificate_hash": "8cc268d3d35cd0dc631ff5fc774d4cff3f9dedc9"
}
},
{
"client_id": "577294117898-gtt9m1mm85tomi5fdpnp2hqeevf4udtl.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyD1lV11eH3UdewwBDfNX_AmGTCN2LU-9ko"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "577294117898-gtt9m1mm85tomi5fdpnp2hqeevf4udtl.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:577294117898:android:48c125bdb091206f0d83f3",
"android_client_info": {
"package_name": "com.kafka.user.rc"
}
},
"oauth_client": [
{
"client_id": "577294117898-r6o83cao65al491ieg0mb7mbo3m7su49.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.kafka.user.rc",
"certificate_hash": "8cc268d3d35cd0dc631ff5fc774d4cff3f9dedc9"
}
},
{
"client_id": "577294117898-gtt9m1mm85tomi5fdpnp2hqeevf4udtl.apps.googleusercontent.com",
"client_type": 3
Expand All @@ -37,4 +82,4 @@
}
],
"configuration_version": "1"
}
}
Loading

0 comments on commit 7214351

Please sign in to comment.