Skip to content

A server-first Android Gallery built with Jetpack Compose. Ultra-fast 5KB previews, zero local storage usage, and seamless Telegram Userbot integration. The lightweight, high-speed alternative to Nextcloud Photos.

License

Notifications You must be signed in to change notification settings

Bogdan8266/BodyaSync-Compose

 
 

Repository files navigation

💥 BodyaSync GALLERY (Jetpack Compose Fork)

Status Platform Tech UI

Server Language Network Optimization

Storage Integration License

⚡ Faster than a bullet. Lighter than a feather. Harder than your ex. ⚡


💀 About: Operation "Squeaky Clean"

Listen up, cowboy. This ain't that vanilla "Gallery" app that came pre-installed on your phone. This is a Server-First beast, rewritten in Jetpack Compose.

We ain't playing in the sandbox here. This thing was built for one purpose: to strip the load off your phone and dump it onto the server. Your smartphone is just a window. The ammo dump (all your photos and videos) stays in the bunker (on the server).

Who is this for?

  • For those with servers gathering dust (VPS, Raspberry Pi, old PCs).
  • For those who hate seeing "Storage Full" notifications.
  • For those who crave speed, even when the internet is moving like a turtle.

🥊 Nextcloud vs. This Project: Why We Win

I tried Nextcloud. It’s like driving a tank to the grocery store — powerful, but slow and clunky.

Feature 🥊 Nextcloud / Others 🚀 (This Fork)
Speed Chokes on weak hardware. Flies even on a potato with wires.
Preview Loads full images, eats data. Aggressive compression (5-10 KB). Hundreds of pics per second.
Network Needs perfect 5G/Wi-Fi. Runs smooth even on crappy 3G/4G.
Storage Caches everything blindly. Smart RAM cache on the server side.

🔥 The Arsenal (Features)

1. 🖼️ Ultra-Light Previews (Killer Feature)

We split the streams. Originals are stored separately, and for the feed, we use specialized Thumbnails.

  • Compression: Hardcore JPEG (50-70% quality).
  • Weight: A single photo weighs a laughable 5-10 KB.
  • Result: You scroll 5 years back into history, and images pop instantly. No loading donuts.

2. 🧠 Smart RAM Caching (Silent Mode)

The server keeps previews in RAM.

  • Why? So we don't wake up your HDDs every 5 seconds.
  • Effect: Disks stay parked, noise is gone, energy is saved. The server stays cold and quiet like a pro hitman.

3. 🔄 Auto-Sync (Fire & Forget)

Works like a Swiss watch. You snap a photo — it flies to the server via /upload.

  • After a successful upload — automatic deletion from phone (optional).
  • Your phone stays pristine.

4. 📁 Almost Full-Blown File Manager

A separate screen for serious business.

  • Create folders.
  • Upload docs/archives.
  • Download files back to the phone.
  • Full control over the server's file system.

5. 🎨 UI/UX: Material 3 Expressive

Looks like it walked off a magazine cover. Smooth animations, interface isn't cluttered. Only what you need for the fight.


💣 Secret Weapon: Telegram Integration (Userbot)

Hold onto your seat for this one.

The Problem: You deleted a photo from your phone to save space. But you need to send it to a homie in Telegram ASAP. Download it back first? NO. That's for the weak.

The Solution: I wrote a custom Userbot and a Telegram fork.

  1. A special button appears in your Telegram chat (near the attachment clip).
  2. Opens this Gallery (Web App / Interface).
  3. You tap the photo/video (which physically isn't on your phone).
  4. THE SERVER ITSELF sends the file to the chat. Directly.

💡 The Kicker: Videos are compressed on the fly and fly out via the server's stable wired connection. You save your mobile data and time.

🔗 * 🤖 [BodyaGram-Client] — Your radio operator in the messenger.


🛠 Loadout (Technical Requirements)

To make this death machine run perfectly, you'll need:

  • Server: Any Linux (Ubuntu, Debian, Arch - whatever floats your boat).
  • Disks: I recommend RAID. Data loves safety.
  • Internet: Ethernet (Cable). Wi-Fi is unstable, leave it for hipsters.
  • Client: Android 10+ (newer is better for that sweet Material 3 glow).

📸 Proof (Screenshots)

Seeing once is better than hearing stories at a bar a hundred times.

Main Grid (Turbo View) Media Viewer
Grid Viewer
File Manager Telegram Integration
Files Telegram

🚀 Quick Start

  1. Clone it: git clone https://github.com/Bogdan8266/BodyaSync-Compose
  2. Config Setup: Punch in your server IP and ports.
  3. Build APK: Android Studio is your friend.
  4. Launch Server Side: BodyaSync-Server

  5. Enjoy.

🔗 The Ecosystem (Related Projects)

This is just one piece of the puzzle. Grab the full kit:


⚠️ STATUS: UNDER ACTIVE DEVELOPMENT ⚠️
This code is written with blood and sweat. It runs stable, but if you find a bug — hit up the Issues. Don't be a stranger.

Made with ❤️ and ☕ by [Bodya] android kotlin jetpack-compose material-design-3 gallery-app self-hosted server-client nextcloud-alternative image-processing performance photo-gallery telegram-integration clean-architecture opensource

About

A server-first Android Gallery built with Jetpack Compose. Ultra-fast 5KB previews, zero local storage usage, and seamless Telegram Userbot integration. The lightweight, high-speed alternative to Nextcloud Photos.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 100.0%