explaingit

locallens-project/lingdongphoto

Analysis updated 2026-05-18

25SwiftAudience · generalComplexity · 2/5Setup · easy

TLDR

A free iOS and Android app that turns your photos into stylized cards, color palettes, and journal collages entirely on-device, with no ads or tracking.

Mindmap

mindmap
  root((LingdongPhoto))
    What it does
      Photo color extraction
      Styled photo cards
      Privacy masking
    Tech stack
      Swift
      SwiftUI
      Kotlin
      Apple Vision
      ML Kit
    Use cases
      Generate color palette from photo
      Make a photo stamp with EXIF data
      Create journal collages
      Mask faces and sensitive text
    Audience
      iOS users
      Android users
      Privacy conscious users
    Platforms
      iOS 18 plus
      Android 14 plus

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Extract a photo's dominant colors as a labeled color palette with percentages.

USE CASE 2

Generate a styled photo card or stamp that includes real camera and shooting metadata.

USE CASE 3

Combine several photos into an auto-generated journal-style collage.

USE CASE 4

Mask faces, license plates, or sensitive text in a photo before sharing it.

What is it built with?

SwiftSwiftUIKotlinJetpack ComposeApple Vision

How does it compare?

locallens-project/lingdongphotoappeight/app8-ios-sdknicklockwood/contextmenu
Stars252525
LanguageSwiftSwiftSwift
Setup difficultyeasymoderateeasy
Complexity2/54/52/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

End users just install the app via TestFlight or the signed APK, building from source requires Xcode 26 or Android Studio with Gradle.

In plain English

LingdongPhoto, called "Lingdong Photo" in Chinese, is a photo creation app available for both iOS and Android that turns your own photos into stylized cards, color palettes, journal collages, photo stamps, and wallpapers, all processed entirely on your phone. The iOS version is built with SwiftUI, and the Android version is a separate, independently written app in Kotlin and Jetpack Compose, but both offer the same core set of creative tools. The app can extract a photo's dominant colors using a perceptually accurate color space called OKLab combined with a weighted clustering algorithm, showing each color's hex code or a plain-language color name along with what percentage of the image it covers. It can also read real shooting metadata from a photo, such as camera, lens, aperture, shutter speed, ISO, focal length, time, and GPS location, and use all of that to generate a styled "stamp" card. On-device image recognition, using Apple Vision on iOS and ML Kit on Android, classifies what's in a photo across dozens of categories like people, pets, food, landscapes, and travel, and generates matching short captions and emoji. There is also a privacy mode that can automatically detect and mask faces, license plates, QR codes, and sensitive text, or let you manually paint over parts of an image before exporting, with the option to strip GPS and other metadata on export. A key design choice highlighted throughout the README is that everything happens locally on the device: color extraction, image classification, metadata reading, and rendering never send a photo or its metadata to a server. The app requires no account, shows no ads, and does not use analytics or tracking identifiers. It is entirely free, with no subscriptions or in-app purchases. The iOS version requires iOS 18 or later and integrates with the system's Photos share sheet, Shortcuts app, and supports Apple's newer Liquid Glass visual style on iOS 26 while falling back to a compatible frosted-glass look on older versions. The Android version requires Android 14 or later and declares no network permission at all in its manifest, only requesting vibration for haptic feedback. Both source trees are included in this single repository, with build instructions for opening the iOS project in Xcode or building the Android app with Gradle.

Copy-paste prompts

Prompt 1
Extract the six dominant colors from this photo along with their hex codes and coverage percentages.
Prompt 2
Build a photo stamp card that shows the camera, lens, aperture, and shutter speed used for this shot.
Prompt 3
Explain how LingdongPhoto's on-device face and text detection works for the privacy masking mode.
Prompt 4
Walk me through building and running the iOS version of LingdongPhoto in Xcode.

Frequently asked questions

What is lingdongphoto?

A free iOS and Android app that turns your photos into stylized cards, color palettes, and journal collages entirely on-device, with no ads or tracking.

What language is lingdongphoto written in?

Mainly Swift. The stack also includes Swift, SwiftUI, Kotlin.

How hard is lingdongphoto to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is lingdongphoto for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.