URLPreviewer-Multiplatform is a lightweight Compose-based single-page application for fetching and displaying Open Graph (OG) title, description, and images from URLs. It's a fun weekend project exploring multiplatform development.
Feel free to explore, modify, or use this project as a starting point for your own experiments and learning.
- check your system with KDoctor
- install JDK 8 on your machine
- add
local.properties
file to the project root and set a path to Android SDK there - run
./gradlew podInstall
in the project root
To run the application on android device/emulator:
- open project in Android Studio and run imported android run configuration
To build the application bundle:
- run
./gradlew :composeApp:assembleDebug
- find
.apk
file incomposeApp/build/outputs/apk/debug/composeApp-debug.apk
Run the desktop application: ./gradlew :composeApp:run
To run the application on iPhone device/simulator:
- Open
iosApp/iosApp.xcworkspace
in Xcode and run standard configuration - Or use Kotlin Multiplatform Mobile plugin for Android Studio
Run the browser application: ./gradlew :composeApp:jsBrowserDevelopmentRun
Clone this repository:
git clone https://github.com/Abhay-cloud/URLPreviewer-Multiplatform.git
This project is open-source and available under the MIT License. See the LICENSE file for details.
If you have any questions or suggestions, please feel free to reach out to me via GitHub Issues