9,280 Lines
  • Kotlin 93.3%
  • XML 3.3%
  • Markdown 2.5%
  • Yaml 0.4%
  • Properties 0.3%
  • JSON 0.1%
README.md

ClyoCloudAndroid

ClyoCloudAndroid Logo

Android companion application for ClyoCloud, built with Jetpack Compose.


ClyoCloudAndroid brings your self-hosted ClyoCloud storage and media library directly to your mobile device. The app offers native performance, media playback, and metadata management using a glassmorphic interface.


Features

  • Secure Connection and 2FA: Connects to your self-hosted ClyoCloud instance. Supports the two-step TOTP 2FA verification flow.
  • File Explorer: Browse folders, view file metadata (size, last modified, tags, descriptions), and perform operations like file uploads and downloads.
  • Interface: Dark theme featuring glass cards and custom vector icons.
  • Media Center: Streaming video playback using native VideoView and slideshow previews for images.
  • Metadata Editor: Edit tags, description details, toggle public share status, and add items to your favorites.
  • Local Caching: Persists server connection states and credentials securely using SharedPreferences.

Tech Stack and Architecture

ClyoCloudAndroid is built using standard Android development practices:

graph TD User([User]) -->|Interacts| UI[Jetpack Compose UI Layer] UI -->|Router / Screens| Screens[Login / Dashboard / Media] Screens -->|Read/Write Prefs| Prefs[PrefsManager / SharedPreferences] Screens -->|API Actions| Net[Network Layer / HttpURLConnection] Net -->|HTTPS Requests| CloudServer[ClyoCloud Backend Instance]
LayerTechnologyPurpose
User InterfaceJetpack Compose, Material 3Declarative, responsive UI featuring custom animations and glassmorphic designs.
Programming LanguageKotlinAsynchronous execution with Coroutines.
NetworkingHttpURLConnection & JSON ProcessingLightweight, dependency-free HTTP communication with ClyoCloud REST API endpoints.
Session PersistenceSharedPreferencesLocal storage of instance URLs, usernames, and authentication tokens.

Getting Started

Prerequisites

  • Android Studio (Koala or newer recommended)
  • Android SDK (API Level 24+ supported, API 34 target)
  • ClyoCloud Server: A running instance of ClyoCloud accessible over the network.

Pre-built APKs

For automatically built APKs from the OneDev workflow, download the latest artifacts directly:

Build and Install from Source

  1. Clone the Repository (if not already done):

    git clone <repository-url>
    cd ClyoCloudAndroid
    
  2. Open in Android Studio:

    • Select File > Open and choose the ClyoCloudAndroid directory.
    • Allow Gradle sync to download all dependencies.
  3. Build via CLI (Optional):

    # Build debug APK
    ./gradlew assembleDebug
    
  4. Run on Device/Emulator:

    • Select your target device in Android Studio and click Run.
    • Enter your self-hosted ClyoCloud URL.
    • Log in using your ClyoCloud credentials.

Documentation

Detailed architectural overviews, security specifications, and setups can be found in the project documentation:

Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover