Skip to content

StreamVault is a TV-first free IPTV player for Android TV built with Kotlin, Jetpack Compose, Room, Hilt, and Media3.

Merge feature/opensubtitles-integration into develop

David Nashasha414344c54d6
diff --cc app/build.gradle.kts
index b918d3f4,08f96dd4..03f650c8
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@@ -79,6 -76,6 +79,7 @@@ android
}
buildConfigField("String", "OFFICIAL_APPLICATION_ID", "\"com.streamvault.app\"")
buildConfigField("String", "OFFICIAL_SIGNING_CERT_SHA256", "\"$officialSigningCertSha256\"")
++ buildConfigField("String", "OPENSUBTITLES_API_KEY", "\"\"")
buildConfigField("String", "APP_UPDATE_CHANNEL", "\"stable\"")
buildConfigField("long", "BUILD_TIMESTAMP_UTC", "0L")
ndk {
@@@ -120,6 -117,6 +121,11 @@@
buildConfigField("String", "XTREAM_DEV_NAME", "\"${localProp("xtream.dev.name")}\"")
buildConfigField("String", "M3U_DEV_URL", "\"${localProp("m3u.dev.url")}\"")
buildConfigField("String", "M3U_DEV_NAME", "\"${localProp("m3u.dev.name")}\"")
++ buildConfigField(
++ "String",
++ "OPENSUBTITLES_API_KEY",
++ "\"${localProp("opensubtitles.api.key").replace("\\", "\\\\").replace("\"", "\\\"")}\""
++ )
}
create("beta") {
initWith(getByName("release"))
diff --cc app/src/main/java/com/streamvault/app/di/NetworkModule.kt
index e64b4043,e64b4043..897fb588
--- a/app/src/main/java/com/streamvault/app/di/NetworkModule.kt
+++ b/app/src/main/java/com/streamvault/app/di/NetworkModule.kt
@@@ -33,6 -33,6 +33,7 @@@ import okhttp3.OkHttpClien
import okhttp3.logging.HttpLoggingInterceptor
import java.io.File
import java.util.concurrent.TimeUnit.SECONDS
++import javax.inject.Named
import javax.inject.Singleton
@Module
@@@ -41,6 -41,6 +42,10 @@@ object NetworkModule
private const val HTTP_CACHE_MAX_BYTES = 16L * 1024 * 1024
++ @Provides
++ @Named("opensubtitlesApiKey")
++ fun provideOpenSubtitlesApiKey(): String = BuildConfig.OPENSUBTITLES_API_KEY
++
@Provides
@Singleton
fun provideOkHttpClient(
diff --cc data/src/main/java/com/streamvault/data/remote/subtitle/OpenSubtitlesApi.kt
index 00000000,747fff8f..30f24ccf
mode 000000,100644..100644
--- a/data/src/main/java/com/streamvault/data/remote/subtitle/OpenSubtitlesApi.kt
+++ b/data/src/main/java/com/streamvault/data/remote/subtitle/OpenSubtitlesApi.kt
@@@ -1,0 -1,256 +1,266 @@@
+ package com.streamvault.data.remote.subtitle
+
+ import com.google.gson.Gson
+ import com.streamvault.data.remote.http.useCancellableResponse
+ import com.streamvault.domain.model.Result
+ import java.io.File
+ import java.net.URLEncoder
+ import java.util.concurrent.TimeUnit
+ import javax.inject.Inject
++import javax.inject.Named
+ import javax.inject.Singleton
+ import kotlinx.coroutines.CancellationException
+ import kotlinx.coroutines.Dispatchers
+ import kotlinx.coroutines.withContext
+ import okhttp3.MediaType.Companion.toMediaType
+ import okhttp3.OkHttpClient
+ import okhttp3.Request
+ import okhttp3.RequestBody.Companion.toRequestBody
+ import okhttp3.logging.HttpLoggingInterceptor
+
+ internal const val OPENSUBTITLES_DEFAULT_BASE_URL = "https://api.opensubtitles.com/api/v1"
+ internal const val OPENSUBTITLES_DEFAULT_BASE_HOST = "api.opensubtitles.com"
+
+ @Singleton
+ class OpenSubtitlesApi @Inject constructor(
+ private val okHttpClient: OkHttpClient,
+ private val gson: Gson,
++ @param:Named("opensubtitlesApiKey") private val apiKey: String,
+ ) {
+ data class DownloadLink(
+ val url: String,
+ val fileName: String,
+ val remaining: Int?,
+ val resetTimeUtc: String?,
+ )
+
+ data class SearchQuery(
+ val query: String? = null,
+ val tmdbId: Long? = null,
+ val imdbId: Long? = null,
+ val parentTmdbId: Long? = null,
+ val parentImdbId: Long? = null,
+ val seasonNumber: Int? = null,
+ val episodeNumber: Int? = null,
+ val languages: String? = null,
+ val orderBy: String? = null,
+ ) {
+ fun toQueryParams(): Map<String, String> = buildMap {
+ query?.takeIf { it.isNotBlank() }?.let { put("query", it) }
+ tmdbId?.takeIf { it > 0 }?.let { put("tmdb_id", it.toString()) }
+ imdbId?.takeIf { it > 0 }?.let { put("imdb_id", it.toString()) }
+ parentTmdbId?.takeIf { it > 0 }?.let { put("parent_tmdb_id", it.toString()) }
+ parentImdbId?.takeIf { it > 0 }?.let { put("parent_imdb_id", it.toString()) }
+ seasonNumber?.takeIf { it > 0 }?.let { put("season_number", it.toString()) }
+ episodeNumber?.takeIf { it > 0 }?.let { put("episode_number", it.toString()) }
+ languages?.takeIf { it.isNotBlank() }?.let { put("languages", it) }
+ orderBy?.takeIf { it.isNotBlank() }?.let { put("order_by", it) }
+ }
+ }
+
- suspend fun login(username: String, password: String): Result<OpenSubtitlesSession> = try {
- val session = withContext(Dispatchers.IO) { loginSession(username, password) }
++ suspend fun login(
++ username: String,
++ password: String,
++ baseUrl: String = OPENSUBTITLES_DEFAULT_BASE_URL,
++ ): Result<OpenSubtitlesSession> = try {
++ val session = withContext(Dispatchers.IO) { loginSession(username, password, baseUrl) }
+ Result.success(session)
+ } catch (e: Exception) {
+ if (e is CancellationException) throw e
+ Result.error("OpenSubtitles login failed: ${e.message}", e)
+ }
+
+ suspend fun logout(token: String, baseUrlHost: String): Result<Unit> = try {
+ withContext(Dispatchers.IO) {
+ val request = Request.Builder()
+ .url(buildUrl(baseUrlHost, "/logout", emptyMap()))
+ .header("Accept", "application/json")
- .header("Api-Key", API_KEY)
++ .header("Api-Key", requireApiKey())
+ .header("Authorization", "Bearer $token")
+ .header("User-Agent", USER_AGENT)
+ .delete()
+ .build()
+ execute(request, "OpenSubtitles logout")
+ }
+ Result.success(Unit)
+ } catch (e: Exception) {
+ if (e is CancellationException) throw e
+ Result.error("OpenSubtitles logout failed: ${e.message}", e)
+ }
+
+ suspend fun search(
+ query: SearchQuery,
+ token: String,
+ baseUrlHost: String,
+ ): Result<List<OpenSubtitlesSubtitleDto>> = try {
+ val subtitles = withContext(Dispatchers.IO) {
+ val request = Request.Builder()
+ .url(buildUrl(baseUrlHost, "/subtitles", query.toQueryParams()))
+ .header("Accept", "application/json")
- .header("Api-Key", API_KEY)
++ .header("Api-Key", requireApiKey())
+ .header("Authorization", "Bearer $token")
+ .header("User-Agent", USER_AGENT)
+ .get()
+ .build()
+ val body = execute(request, "OpenSubtitles search")
+ gson.fromJson(body, OpenSubtitlesSearchResponseDto::class.java).data.orEmpty()
+ }
+ Result.success(subtitles)
+ } catch (e: Exception) {
+ if (e is CancellationException) throw e
+ Result.error("OpenSubtitles search failed: ${e.message}", e)
+ }
+
+ suspend fun downloadLink(
+ fileId: Long,
+ token: String,
+ baseUrlHost: String,
+ subFormat: String = "srt",
+ ): Result<DownloadLink> = try {
+ val link = withContext(Dispatchers.IO) {
+ val payload = gson.toJson(OpenSubtitlesDownloadRequestDto(fileId = fileId, subFormat = subFormat))
+ val request = Request.Builder()
+ .url(buildUrl(baseUrlHost, "/download", emptyMap()))
+ .header("Accept", "application/json")
+ .header("Content-Type", "application/json")
- .header("Api-Key", API_KEY)
++ .header("Api-Key", requireApiKey())
+ .header("Authorization", "Bearer $token")
+ .header("User-Agent", USER_AGENT)
+ .post(payload.toRequestBody("application/json".toMediaType()))
+ .build()
+ val body = execute(request, "OpenSubtitles download")
+ val response = gson.fromJson(body, OpenSubtitlesDownloadResponseDto::class.java)
+ val url = response.link?.takeIf { it.isNotBlank() }
+ ?: throw OpenSubtitlesApiException("OpenSubtitles download returned no link")
+ DownloadLink(
+ url = url,
+ fileName = response.fileName.orEmpty(),
+ remaining = response.remaining,
+ resetTimeUtc = response.resetTimeUtc,
+ )
+ }
+ Result.success(link)
+ } catch (e: Exception) {
+ if (e is CancellationException) throw e
+ Result.error("OpenSubtitles download failed: ${e.message}", e)
+ }
+
+ suspend fun downloadSubtitleFile(link: DownloadLink, destination: File): Result<File> = try {
+ val file = withContext(Dispatchers.IO) {
+ destination.parentFile?.mkdirs()
+ val temporaryFile = File(destination.parentFile, "${destination.name}.part")
+ temporaryFile.delete()
+ try {
+ val request = Request.Builder()
+ .url(link.url)
+ .header("User-Agent", USER_AGENT)
+ .get()
+ .build()
+ // OpenSubtitles links contain short-lived download tokens in their URL. Keep the
+ // shared connection pool and interceptors, but never log this request line.
+ okHttpClient.newBuilder()
+ .apply {
+ interceptors().removeAll { it is HttpLoggingInterceptor }
+ networkInterceptors().removeAll { it is HttpLoggingInterceptor }
+ }
+ .callTimeout(REQUEST_TIMEOUT_SECONDS, TimeUnit.SECONDS)
+ .build()
+ .newCall(request)
+ .useCancellableResponse { response ->
+ if (!response.isSuccessful) {
+ throw OpenSubtitlesApiException(
+ message = "OpenSubtitles subtitle file download failed with HTTP ${response.code}",
+ statusCode = response.code,
+ )
+ }
+ val body = response.body
+ ?: throw OpenSubtitlesApiException("OpenSubtitles subtitle file download returned an empty body")
+ temporaryFile.outputStream().use { out ->
+ body.byteStream().use { input -> input.copyTo(out) }
+ }
+ }
+ if (temporaryFile.length() <= 0L) {
+ throw OpenSubtitlesApiException("OpenSubtitles subtitle file download returned an empty file")
+ }
+ if (destination.exists() && !destination.delete()) {
+ throw OpenSubtitlesApiException("Could not replace the cached subtitle file")
+ }
+ if (!temporaryFile.renameTo(destination)) {
+ throw OpenSubtitlesApiException("Could not save the downloaded subtitle file")
+ }
+ destination
+ } finally {
+ temporaryFile.delete()
+ }
+ }
+ Result.success(file)
+ } catch (e: Exception) {
+ if (e is CancellationException) throw e
+ Result.error("OpenSubtitles subtitle file download failed: ${e.message}", e)
+ }
+
- private suspend fun loginSession(username: String, password: String): OpenSubtitlesSession {
++ private suspend fun loginSession(username: String, password: String, baseUrl: String): OpenSubtitlesSession {
+ val payload = gson.toJson(OpenSubtitlesLoginRequestDto(username = username, password = password))
+ val request = Request.Builder()
- .url("$OPENSUBTITLES_DEFAULT_BASE_URL/login")
++ .url("${baseUrl.trimEnd('/')}/login")
+ .header("Accept", "application/json")
+ .header("Content-Type", "application/json")
- .header("Api-Key", API_KEY)
++ .header("Api-Key", requireApiKey())
+ .header("User-Agent", USER_AGENT)
+ .post(payload.toRequestBody("application/json".toMediaType()))
+ .build()
+ val body = execute(request, "OpenSubtitles login")
+ val response = gson.fromJson(body, OpenSubtitlesLoginResponseDto::class.java)
+ val token = response.token?.takeIf { it.isNotBlank() }
+ ?: throw OpenSubtitlesApiException("OpenSubtitles login did not return a token")
+ return OpenSubtitlesSession(
+ token = token,
+ baseUrl = response.baseUrl?.takeIf { it.isNotBlank() } ?: OPENSUBTITLES_DEFAULT_BASE_HOST,
+ username = username,
+ allowedDownloads = response.user?.allowedDownloads ?: 0,
+ level = response.user?.level,
+ vip = response.user?.vip == true,
+ )
+ }
+
+ private suspend fun execute(request: Request, errorPrefix: String): String {
+ return okHttpClient.newBuilder()
+ .callTimeout(REQUEST_TIMEOUT_SECONDS, TimeUnit.SECONDS)
+ .build()
+ .newCall(request)
+ .useCancellableResponse { response ->
+ if (!response.isSuccessful) {
+ throw OpenSubtitlesApiException(
+ message = "$errorPrefix failed with HTTP ${response.code}",
+ statusCode = response.code,
+ isUnauthorized = response.code == 401,
+ isRateLimited = response.code == 429,
+ )
+ }
+ response.body?.string().orEmpty()
+ }
+ }
+
+ private fun buildUrl(baseUrlHost: String, path: String, query: Map<String, String>): String {
+ val normalized = baseUrlHost.trimEnd('/')
+ val host = if (normalized.startsWith("http://") || normalized.startsWith("https://")) {
+ normalized
+ } else {
+ "https://$normalized"
+ }
+ val qs = query.entries.joinToString("&") { (k, v) -> "${enc(k)}=${enc(v)}" }
+ return "$host/api/v1$path${if (qs.isNotBlank()) "?$qs" else ""}"
+ }
+
+ private fun enc(value: String): String = URLEncoder.encode(value, Charsets.UTF_8.name())
+
++ private fun requireApiKey(): String = apiKey.trim().takeIf { it.isNotEmpty() }
++ ?: throw OpenSubtitlesApiException(
++ "OpenSubtitles API key is missing. Add opensubtitles.api.key to the root local.properties file and rebuild."
++ )
++
+ private companion object {
- const val API_KEY = "STREAMVAULT_OPENSUBTITLES_API_KEY"
+ const val USER_AGENT = "StreamVault v1"
+ const val REQUEST_TIMEOUT_SECONDS = 30L
+ }
+ }
diff --cc data/src/test/java/com/streamvault/data/remote/subtitle/OpenSubtitlesApiDownloadTest.kt
index 00000000,49742967..7f4fcef1
mode 000000,100644..100644
--- a/data/src/test/java/com/streamvault/data/remote/subtitle/OpenSubtitlesApiDownloadTest.kt
+++ b/data/src/test/java/com/streamvault/data/remote/subtitle/OpenSubtitlesApiDownloadTest.kt
@@@ -1,0 -1,114 +1,153 @@@
+ package com.streamvault.data.remote.subtitle
+
+ import com.google.common.truth.Truth.assertThat
+ import com.google.gson.Gson
++import com.streamvault.domain.model.Result
+ import java.io.File
+ import kotlinx.coroutines.async
+ import kotlinx.coroutines.cancelAndJoin
+ import kotlinx.coroutines.delay
+ import kotlinx.coroutines.runBlocking
+ import okhttp3.OkHttpClient
+ import okhttp3.logging.HttpLoggingInterceptor
+ import okhttp3.mockwebserver.MockResponse
+ import okhttp3.mockwebserver.MockWebServer
+ import org.junit.Rule
+ import org.junit.Test
+ import org.junit.rules.TemporaryFolder
+
+ class OpenSubtitlesApiDownloadTest {
+
+ @get:Rule
+ val temporaryFolder = TemporaryFolder()
+
++ @Test
++ fun `login sends the configured application key`() = runBlocking {
++ val server = MockWebServer()
++ server.start()
++ try {
++ server.enqueue(MockResponse().setBody("""{"token":"test-token","user":{"allowed_downloads":20}}"""))
++ val api = OpenSubtitlesApi(OkHttpClient(), Gson(), "test-opensubtitles-key")
++
++ val result = api.login(
++ "test-user",
++ "test-password",
++ server.url("/api/v1").toString().trimEnd('/'),
++ )
++
++ assertThat(result.getOrNull()?.token).isEqualTo("test-token")
++ assertThat(server.takeRequest().getHeader("Api-Key")).isEqualTo("test-opensubtitles-key")
++ } finally {
++ server.shutdown()
++ }
++ }
++
++ @Test
++ fun `missing application key returns setup guidance without a request`() = runBlocking {
++ val server = MockWebServer()
++ server.start()
++ try {
++ val api = OpenSubtitlesApi(OkHttpClient(), Gson(), " ")
++
++ val result = api.login("test-user", "test-password")
++
++ assertThat(result).isInstanceOf(Result.Error::class.java)
++ assertThat((result as Result.Error).message).contains("opensubtitles.api.key")
++ assertThat(server.requestCount).isEqualTo(0)
++ } finally {
++ server.shutdown()
++ }
++ }
++
+ @Test
+ fun `temporary link token is not written to network logs and file is committed`() = runBlocking {
+ val server = MockWebServer()
+ server.start()
+ try {
+ server.enqueue(MockResponse().setBody("1\n00:00:01,000 --> 00:00:02,000\nHello\n"))
+ val logLines = mutableListOf<String>()
+ val logger = HttpLoggingInterceptor { line -> logLines += line }.apply {
+ level = HttpLoggingInterceptor.Level.BASIC
+ }
- val api = OpenSubtitlesApi(OkHttpClient.Builder().addInterceptor(logger).build(), Gson())
++ val api = OpenSubtitlesApi(OkHttpClient.Builder().addInterceptor(logger).build(), Gson(), "test-api-key")
+ val destination = File(temporaryFolder.newFolder(), "123.srt")
+ val token = "private-download-token"
+ val link = OpenSubtitlesApi.DownloadLink(
+ url = server.url("/download/$token/subfile/movie.srt").toString(),
+ fileName = "movie.srt",
+ remaining = 19,
+ resetTimeUtc = "2030-01-01T00:00:00Z",
+ )
+
+ val result = api.downloadSubtitleFile(link, destination)
+
+ assertThat(result.getOrNull()).isEqualTo(destination)
+ assertThat(destination.readText()).contains("Hello")
+ assertThat(File(destination.parentFile, "${destination.name}.part").exists()).isFalse()
+ assertThat(logLines.joinToString("\n")).doesNotContain(token)
+ assertThat(server.takeRequest().path).contains(token)
+ } finally {
+ server.shutdown()
+ }
+ }
+
+ @Test
+ fun `failed response leaves no final or partial subtitle file`() = runBlocking {
+ val server = MockWebServer()
+ server.start()
+ try {
+ server.enqueue(MockResponse().setResponseCode(503).setBody("unavailable"))
- val api = OpenSubtitlesApi(OkHttpClient(), Gson())
++ val api = OpenSubtitlesApi(OkHttpClient(), Gson(), "test-api-key")
+ val destination = File(temporaryFolder.newFolder(), "456.srt")
+
+ val result = api.downloadSubtitleFile(
+ OpenSubtitlesApi.DownloadLink(
+ url = server.url("/private-link").toString(),
+ fileName = "captions.srt",
+ remaining = null,
+ resetTimeUtc = null,
+ ),
+ destination,
+ )
+
+ assertThat(result.isError).isTrue()
+ assertThat(destination.exists()).isFalse()
+ assertThat(File(destination.parentFile, "${destination.name}.part").exists()).isFalse()
+ } finally {
+ server.shutdown()
+ }
+ }
+
+ @Test
+ fun `cancelling a response body read removes the temporary file`() = runBlocking {
+ val server = MockWebServer()
+ server.start()
+ try {
+ server.enqueue(
+ MockResponse()
+ .setBody("x".repeat(100_000))
+ .throttleBody(512, 1, java.util.concurrent.TimeUnit.SECONDS)
+ )
- val api = OpenSubtitlesApi(OkHttpClient(), Gson())
++ val api = OpenSubtitlesApi(OkHttpClient(), Gson(), "test-api-key")
+ val destination = File(temporaryFolder.newFolder(), "789.srt")
+ val download = async {
+ api.downloadSubtitleFile(
+ OpenSubtitlesApi.DownloadLink(
+ url = server.url("/slow-link").toString(),
+ fileName = "slow.srt",
+ remaining = null,
+ resetTimeUtc = null,
+ ),
+ destination,
+ )
+ }
+ delay(200)
+ download.cancelAndJoin()
+
+ assertThat(destination.exists()).isFalse()
+ assertThat(File(destination.parentFile, "${destination.name}.part").exists()).isFalse()
+ } finally {
+ server.shutdown()
+ }
+ }
+ }
diff --cc docs/OPENSUBTITLES_INTEGRATION.md
index 00000000,d52fc714..314a1f43
mode 000000,100644..100644
--- a/docs/OPENSUBTITLES_INTEGRATION.md
+++ b/docs/OPENSUBTITLES_INTEGRATION.md
@@@ -1,0 -1,30 +1,34 @@@
+ # OpenSubtitles.com integration
+
-Branch: `feature/opensubtitles-integration`
-
-The account, settings, search, download, and player-injection flows are implemented. The application API key remains the existing placeholder in `OpenSubtitlesApi`; key provisioning/configuration is intentionally deferred.
++The account, settings, search, download, and player-injection flows are implemented. For local debug builds, provide the OpenSubtitles application key through the ignored root `local.properties` file.
+
+ ## User flow
+
+ 1. Open **Settings → Playback → Subtitles** and connect an OpenSubtitles.com account.
+ 2. During movie or series-episode playback, open **Subtitles → Search online subtitles**.
+ 3. Choose a result to download and add it to the current player session.
+
+ Online search is hidden for live TV and catch-up. Search uses the movie or series TMDb ID when available, title/year fallbacks for movies, season/episode metadata for episodes, and the preferred audio language (English when the preference is automatic).
+
+ ## Session, quota, and downloads
+
+ - Username, password, and JWT are encrypted with the app's `CredentialCrypto`. Existing plaintext usernames are still readable for migration; new writes are encrypted.
+ - Session reads, sign-in/out, and one-time refresh after HTTP 401 share a mutex. Concurrent requests reuse a token refreshed by another request. If the refreshed token also receives 401, the saved session and credentials are cleared.
+ - The account page shows the daily allowance from login until a current remaining count is known. Successful `/download` responses update the remaining count, which expires at `reset_time_utc`.
+ - Subtitle files are cached by OpenSubtitles file ID. A valid cached file avoids another quota-consuming `/download` request.
+ - File responses are cancellable, written to a temporary file, and moved into the cache only after completion. The temporary download URL is excluded from OkHttp request logging.
+ - OpenSubtitles can enforce both account download allowances and request limits. The app displays the account's remaining download count when the API provides it; IP-based request limits remain controlled by OpenSubtitles.
+
+ ## API key
+
-`OpenSubtitlesApi` still contains `STREAMVAULT_OPENSUBTITLES_API_KEY`. This branch does not change the key or add ignore-file changes. The API key is an application identifier; account credentials and bearer tokens remain private and encrypted locally.
++Add this line to the root `local.properties` file (already gitignored), then rebuild:
++
++```properties
++opensubtitles.api.key=YOUR_OPENSUBTITLES_API_KEY
++```
++
++The key is injected into debug builds only. If it is missing, sign-in returns setup guidance instead of sending a malformed request. The key is packaged into the app binary and can be extracted from an APK, so this local setup prevents Git exposure but does not make the key secret from app users. Account passwords and bearer tokens remain encrypted locally.
+
+ ## Validation
+
+ The implementation was checked with the data, settings, playback, and app Hilt compilation tasks. Focused unit tests cover temporary-link log redaction, complete/failed/cancelled file downloads, VOD subtitle-action availability, and player Back behavior.
diff --cc local.properties.example
index 58027119,58027119..003cdc91
--- a/local.properties.example
+++ b/local.properties.example
@@@ -16,6 -16,6 +16,11 @@@
# See `docs/DEV_SEEDING.md` for the full opt-in onboarding flow.
# -----------------------------------------------------------------------------
++# --- OpenSubtitles API application key (debug builds only) --------------------
++# Get a key from OpenSubtitles, then add it to your ignored `local.properties`:
++# opensubtitles.api.key=your-opensubtitles-api-key
++# Rebuild the app after changing this value.
++
# === Dev onboarding seeding (optional) ========================================
#