1Sec Temporary Mail is a Kotlin multiplatform app that provides users with temporary email addresses that last for one second. With this app, users can quickly generate disposable email addresses and use them for various purposes such as signing up for websites, receiving verification emails, or protecting their primary email from spam.
The app is built using the following technologies:
- Kotlin Multiplatform: Kotlin Multiplatform allows us to write shared code that can be used across multiple platforms, including Android, iOS, and Desktop.
The project is organized into the following modules:
-
common: This module contains shared code that can be used across all platforms. It includes data models, business logic, and network communication using Ktor and Kotlin Serialization.
-
androidApp: This module contains the Android-specific code, including the user interface (UI) components, Android-specific features, and platform-specific dependencies.
-
iosApp: This module contains the iOS-specific code, including the UI components, iOS-specific features, and platform-specific dependencies.
-
desktopApp: This module contains the desktop-specific code, including the user interface (UI) components, desktop-specific features, and platform-specific dependencies.
The app utilizes the following libraries:
-
Ktor: As the networking library, Ktor provides powerful tools to handle HTTP requests and responses, making it easy to communicate with backend APIs.
-
Voyager: The Voyager library simplifies navigation management within the app. It allows for easy routing and screen transitions, making the app flow more efficient.
-
Kotlin Serialization: This library helps in parsing JSON data from the backend API and converting it into Kotlin objects. It streamlines data serialization and deserialization.
To build and run the app, follow the steps below:
-
Clone the repository to your local machine.
-
Open the project in your preferred Kotlin Multiplatform IDE (e.g., IntelliJ IDEA).
-
Build the project by selecting the appropriate target (Android, iOS, or Desktop) and running the corresponding Gradle task.
-
Run the app on the desired platform's emulator or device.
We welcome contributions to improve the app. If you want to contribute, please follow these guidelines:
-
Fork the repository and create a new branch for your feature or bug fix.
-
Make your changes and ensure that the code follows the project's coding standards.
-
Write tests to cover your changes and ensure that existing tests pass.
-
Submit a pull request, explaining the changes and the problem it addresses.
-
A project maintainer will review your pull request, and upon approval, it will be merged into the main branch.
The 1Sec Temporary Mail app is licensed under the MIT License. You can find the details in the LICENSE file.