Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
1
  • Loading branch information
umerov1999 committed Dec 5, 2022
0 parents commit e78cbb6
Show file tree
Hide file tree
Showing 7,282 changed files with 1,081,753 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*/build/
.gradle
.idea
local.properties
Binary file added Fenrir_VK.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FileGallery.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Fenrir VK
Первый языческий

<b>Языки: Русский, английский</b>

<b>Скриншоты:</b>
<img src="Fenrir_VK.jpg"/>

<b>Инструкция по сборке:</b>
Требуется:
1) Android Studio Electric Eel (2022.1.1) или выше. Kotlin 1.8.*
2) Android SDK 33
3) Android NDK 25.1.8937393

Если не работает музыка в Fenrir Kate, обновите kate_receipt_gms_token в app.build_config.
Взять токен можно из Kate Mobile Extra Mod

<b>Компиляция:</b>

1) Для релизных сборок вам нужен сертификат.
keytool -genkey -v -keystore Fenrir.keystore -alias fenrir -storetype PKCS12 -keyalg RSA -keysize 2048 -validity 10000
2) Выберите тип сборки (fenrir_vk_full) Debug или Release и соберите apk :)

Локальный медиа сервер https://github.com/umerov1999/FenrirMediaServer/releases

<b>Старые репозитории:</b>

1) https://github.com/umerov1999/Old_Fenrir-for-VK Release 1
2) https://github.com/umerov1999/Old2_Fenrir-for-VK Release 2

# FileGallery
Просмотр фото, видео, аудио, тэги

<b>Языки: Русский</b>

<b>Скриншот:</b>
<img src="FileGallery.jpg"/>
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-slate
171 changes: 171 additions & 0 deletions app_fenrir/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
plugins {
id("com.android.application")
id("kotlin-android")
id("kotlinx-serialization")
}

android {
namespace "dev.ragnarok.fenrir"
configurations {
compile.exclude module: 'support-v4'
}
packagingOptions {
exclude("META-INF/notice.txt")
exclude("META-INF/license.txt")
exclude("META-INF/LICENSE")
exclude("META-INF/NOTICE")
exclude("META-INF/*.version")
}

dependenciesInfo {
includeInApk = false
includeInBundle = false
}

compileSdk = appCompileSDK
buildToolsVersion = appBuildTools
ndkVersion = appNdk

defaultConfig {
generatedDensities = []
minSdk = appMinSDK
targetSdk = appTargetSDK
versionCode = appFenrirVersionCode
versionName = appFenrirVersionName

buildConfigField("String", "SERVICE_TOKEN", asStringVar(vk_service_token))
buildConfigField("String", "FAKE_ABI", asStringVar(fake_abi))
buildConfigField("String", "FAKE_DEVICE", asStringVar(fake_device))
buildConfigField("String", "FCM_SESSION_ID_GEN_URL", asStringVar(fcm_session_id_gen_url))
buildConfigField("boolean", "MANAGE_SCOPED_STORAGE", "true")
buildConfigField("boolean", "FORCE_DEVELOPER_MODE", is_developer_build ? "true" : "false")

ndk {
abiFilters = targetAbi
}
resConfigs "en", "ru", "be"
}

lint {
abortOnError = true
checkReleaseBuilds = true
}

tasks.withType(JavaCompile) {
options.compilerArgs << "-Xmaxwarns" << "1000" << "-Xmaxerrs" << "1000"
}

compileOptions {
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled = appMinSDK < 26

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
encoding = "utf-8"
}

kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = ["-opt-in=kotlin.contracts.ExperimentalContracts",
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
"-opt-in=kotlin.RequiresOptIn", "-opt-in=kotlin.ExperimentalStdlibApi"]
}

buildTypes {
release {
minifyEnabled = false
shrinkResources = false
zipAlignEnabled = true
}
debug {
minifyEnabled = false
shrinkResources = false
}
}

flavorDimensions "type"
productFlavors {
fenrir {
applicationId = "dev.ragnarok.fenrir"
dimension = "type"
buildConfigField("int", "VK_API_APP_ID", vk_app_id)
buildConfigField("int", "DEFAULT_ACCOUNT_TYPE", "1") //VK_ANDROID
buildConfigField("String", "VK_CLIENT_SECRET", asStringVar(vk_client_secret))
}
kate {
applicationId = "dev.ragnarok.fenrir_kate"
dimension = "type"
buildConfigField("int", "VK_API_APP_ID", kate_app_id)
buildConfigField("int", "DEFAULT_ACCOUNT_TYPE", "3") //KATE
buildConfigField("String", "VK_CLIENT_SECRET", asStringVar(kate_client_secret))
}
}
}

static def asStringVar(String str) {
return "\"$str\""
}

dependencies {
implementation fileTree(include: "*.aar", dir: "../compiled_native")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version")
implementation("org.jetbrains.kotlin:kotlin-parcelize-runtime:$kotlin_version")
implementation("org.jetbrains.kotlin:kotlin-android-extensions-runtime:$kotlin_version")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines")
compileOnly("org.jetbrains.kotlin:kotlin-annotations-jvm:$kotlin_version")
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:$desugarLibraryVersion")
implementation("androidx.core:core-ktx:$coreVersion")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion")
implementation("androidx.lifecycle:lifecycle-common:$lifecycleVersion")
implementation("androidx.annotation:annotation:$annotationVersion")
//implementation("androidx.recyclerview:recyclerview:$recyclerviewVersion")
implementation("androidx.vectordrawable:vectordrawable:$vectordrawableVersion")
implementation("androidx.appcompat:appcompat:$appcompatVersion")
implementation("androidx.customview:customview:$customviewVersion")
implementation("androidx.customview:customview-poolingcontainer:$customviewPoolingcontainerVersion")
implementation("androidx.swiperefreshlayout:swiperefreshlayout:$swiperefreshlayoutVersion")
implementation("androidx.browser:browser:$browserVersion")
implementation("androidx.webkit:webkit:$webkitVersion")
implementation("androidx.exifinterface:exifinterface:$exifinterfaceVersion")
implementation("io.reactivex.rxjava3:rxjava:$rxJavaVersion")
implementation("com.google.firebase:firebase-database:$firebaseDatabaseVersion")
implementation("com.google.firebase:firebase-datatransport:$firebaseDatatransportVersion")
implementation("com.google.firebase:firebase-messaging:$firebaseMessagingVersion") {
exclude group: "com.google.firebase", module: "firebase-installations"
}
//implementation project(path: ":libfenrir")
implementation project(path: ":fenrir_common")
implementation project(path: ":firebase-installations")
implementation project(path: ":picasso3")
implementation project(path: ":image")
implementation project(path: ":viewpager2")
implementation project(path: ":material")
implementation project(path: ":preference")
implementation project(path: ":retrofit")
implementation project(path: ":camera2")
implementation("com.squareup.okhttp3:okhttp-android:$okhttpLibraryVersion")
//implementation("com.squareup.okhttp3:logging-interceptor:$okhttpLibraryVersion")
implementation("com.squareup.okio:okio:$okioVersion")
implementation("com.google.android.exoplayer:exoplayer-core:$exoLibraryVersion")
implementation("com.google.android.exoplayer:exoplayer-hls:$exoLibraryVersion")
implementation("androidx.constraintlayout:constraintlayout:$constraintlayoutVersion")
implementation("androidx.biometric:biometric-ktx:$biometricVersion")
implementation("androidx.media:media:$mediaVersion")
implementation("androidx.coordinatorlayout:coordinatorlayout:$coordinatorlayoutVersion")
implementation("androidx.activity:activity-ktx:$activityVersion")
implementation("androidx.fragment:fragment-ktx:$fragmentVersion")
implementation("androidx.work:work-runtime-ktx:$workVersion")
implementation("com.google.guava:guava:$guavaVersion")
implementation("androidx.drawerlayout:drawerlayout:$drawerlayoutVersion")
implementation("androidx.loader:loader:$loaderVersion")
implementation("androidx.collection:collection-ktx:$collectionVersion")
implementation("androidx.savedstate:savedstate-ktx:$savedStateVersion")
implementation("androidx.cardview:cardview:$cardviewVersion")
//implementation("androidx.camera:camera-core:$cameraVersion")
//implementation("androidx.camera:camera-lifecycle:$cameraVersion")
//implementation("androidx.camera:camera-view:$cameraVersion")
//implementation("androidx.camera:camera-camera2:$cameraVersion")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:$kotlin_serializer")
implementation("com.google.errorprone:error_prone_annotations:${errorproneVersion}")
}
apply plugin: "com.google.gms.google-services"
40 changes: 40 additions & 0 deletions app_fenrir/src/fenrir/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"project_info": {
"project_number": "841415684880",
"firebase_url": "https://api-project-841415684880.firebaseio.com",
"project_id": "api-project-841415684880",
"storage_bucket": "api-project-841415684880.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:841415684880:android:632f429381141121",
"android_client_info": {
"package_name": "dev.ragnarok.fenrir"
}
},
"oauth_client": [
{
"client_id": "841415684880-i5q85vkpnnj8fgbd1qde5o9kq87656dk.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyCL17U2Q5i1NVwIcXgMOZMidSRFHyGYgwM"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "841415684880-i5q85vkpnnj8fgbd1qde5o9kq87656dk.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
Loading

0 comments on commit e78cbb6

Please sign in to comment.