Skip to content
Jasgun9Public

About

Swipe through your Android gallery to clean it. Right to keep, left to delete. Free, offline photo and video cleaner built with Flutter.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

GalSwipe

A gallery cleaner you swipe through.

One photo or video at a time. Swipe right to keep it, left to delete it, pull down to undo. Nothing is actually deleted until you review what you picked and confirm, and even then it goes to Android's trash for 30 days.

Download the latest APK

Home screen showing 3,377 items left to review, quick filters for photos, videos, screenshots and large files, and albums A photo card ready to swipe, with Delete, Undo and Keep buttons underneath A card being dragged to the right with a green KEEP stamp on it
Everything left to review, by type or album. One card at a time. Drag right, it gets stamped KEEP.

What it does

Swipe. Right to keep, left to delete. The card follows your finger and flies off as fast as you flick it. The buttons at the bottom work too.

Undo. Pull the card down or tap the undo button and the last one comes back.

Delete queue. Swiping left doesn't delete anything yet, it just adds the item to a queue. You can go through it and untick stuff, then Android asks you to confirm.

Recently deleted. Deleted items go to Android's trash for 30 days. The app has its own screen to see them and put them back.

Albums and filters. Clean just Camera, WhatsApp Images, Screenshots or any other folder. Or only photos, only videos, screenshots, or large files (biggest first).

Pause. Progress is saved after every swipe, so you can close the app and carry on later.

Videos. Tap to play on the card, long press for full screen with a scrubber.

Offline. No account, no ads. The app doesn't have the internet permission at all.


Built with

Flutter · Dart · Kotlin · Android MediaStore

No state management package and no image or permission plugins. The gallery, thumbnails, permissions, deleting and haptics all go through a small Kotlin layer written for this app. The only third-party packages are video_player, flutter_animate and confetti.


Run it on your machine

You need Flutter 3.41 or newer and an Android phone (Android 8.0+) with USB debugging turned on.

flutter pub get
flutter run --profile

Use --profile rather than a plain flutter run. Debug builds stutter while swiping, so they don't show how the app actually feels.

Some phones (Realme, Xiaomi, Oppo) block installs over USB by default. If the install fails, look for Disable permission monitoring or Install via USB in Developer options.

Running the tests

flutter test

24 tests, mostly the swipe physics and the session logic. They run without a phone.


Building a release APK

flutter build apk --release

It's signed with the key from android/key.properties, which isn't in the repo. Without that file it falls back to the debug key.

When you install the APK, Android will probably ask you to allow installs from your browser, and Play Protect might want to scan it. Let it, or tap More details → Install anyway.


How it works underneath

docs/ARCHITECTURE.md has my notes on how it's built: big galleries, the swipe physics, how deleting works, pausing, and the haptics.


Website

The landing page is in website/. React + Vite, and it has a version of the swipe deck you can try in the browser.


Licence

MIT, see LICENSE. Do what you like with it.

The Geist and Bricolage Grotesque fonts are under the SIL Open Font License (see assets/fonts).


Support

If you find this project useful, you can support my work by buying me a chai.

Buy Me A Chai

About

Swipe through your Android gallery to clean it. Right to keep, left to delete. Free, offline photo and video cleaner built with Flutter.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages