Epstein Files is a Kotlin Multiplatform (Compose Multiplatform) app that lists public DOJ disclosure documents related to Jeffrey Epstein from the DOJ “Epstein Library / DOJ Disclosures” pages. The app supports Android, iOS, and Web. This is a vibe code app.
Features:
- Feed with infinite pagination and pull-to-refresh
- Document viewer (Android PdfRenderer preview, iOS PDFKit, web open-in-new-tab)
- Pin/unpin, viewed state, and local search
- Save for offline on Android/iOS with Room persistence (not available on web)
- Settings: theme + source info
Notes:
- This app only displays publicly available files and does not alter redactions.
- Web build does not support offline saving.
- Android/iOS use Room for local persistence; the web target keeps state in-memory only.
-
/composeApp is for code shared across Android, iOS, and Web. It contains several subfolders:
- commonMain is for code that’s common for all targets.
core/domain/modelfor domain models (split into separate files)core/domain/repositoryfor repository interfacescore/domain/utilfor shared domain helperscore/domain/platformfor expect/actual platform APIsdata/*for remote + local + repository implementations
- mobileMain holds Android/iOS-only code (Room database + repository).
- Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name. For example, if you want to use Apple’s CoreCrypto for the iOS part of your Kotlin app, the iosMain folder would be the right place for such calls. Similarly, if you want to edit the Desktop (JVM) specific part, the jvmMain folder is the appropriate location.
- commonMain is for code that’s common for all targets.
-
/iosApp contains iOS applications. Even if you’re sharing your UI with Compose Multiplatform, you need this entry point for your iOS app. This is also where you should add SwiftUI code for your project.
To build and run the development version of the Android app, use the run configuration from the run widget in your IDE’s toolbar or build it directly from the terminal:
- on macOS/Linux
./gradlew :composeApp:assembleDebug :androidApp:installDebug
- on Windows
.\gradlew.bat :composeApp:assembleDebug :androidApp:installDebug
To build and run the development version of the web app, use the run configuration from the run widget in your IDE's toolbar or run it directly from the terminal:
- for the JS target (slower, supports older browsers):
- on macOS/Linux
./gradlew :composeApp:jsBrowserDevelopmentRun
- on Windows
.\gradlew.bat :composeApp:jsBrowserDevelopmentRun
- on macOS/Linux
To build and run the development version of the iOS app, use the run configuration from the run widget in your IDE’s toolbar or open the /iosApp directory in Xcode and run it from there.