This is a tiny Android (cross-platform really) App written in Go using the Fyne framework to quickly log a message to a file.
  • Go 98.2%
  • Shell 1.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-04-09 10:43:58 +03:00
android Add singleTask launch mode to ShareActivity 2026-04-09 08:45:12 +03:00
.gitignore improvements 2025-05-15 23:35:37 +03:00
android_shared_android.go Fix shared text cache cleanup 2026-04-09 08:38:33 +03:00
android_shared_stub.go Fix shared text cache cleanup 2026-04-09 08:38:33 +03:00
android_shared_stub_test.go Add shared-text test coverage 2026-04-09 08:42:36 +03:00
build.sh add FyneApp meta data 2024-01-26 00:08:15 +02:00
FyneApp.toml Release v0.1.1 2026-04-09 10:43:58 +03:00
go.mod Release v0.1.0: code quality audit — fix dialog bug, refactor, add tests 2026-03-01 18:10:19 +02:00
go.sum Simplify UI: remove Days/Tag/What menus; reorder bottom controls to 'Log text', 'Clear', 'Preferences', char count. Simplify Preferences to directory only. Add Magefile with build, run, clean, android, androidcross targets; make run verbose for debugging. 2025-09-13 10:31:07 +03:00
icon.png add icon 2024-01-26 00:57:11 +02:00
LICENSE change copyright holder to my real name 2024-01-21 01:25:41 +02:00
logo-small.png cropping logo 2024-01-21 01:24:06 +02:00
logo.png cropping logo 2024-01-21 01:24:06 +02:00
Magefile.go Release v0.1.0: code quality audit — fix dialog bug, refactor, add tests 2026-03-01 18:10:19 +02:00
main.go Fix shared text cache cleanup 2026-04-09 08:38:33 +03:00
main_test.go Add shared-text test coverage 2026-04-09 08:42:36 +03:00
ql-250516-000347.md Simplify UI: remove Days/Tag/What menus; reorder bottom controls to 'Log text', 'Clear', 'Preferences', char count. Simplify Preferences to directory only. Add Magefile with build, run, clean, android, androidcross targets; make run verbose for debugging. 2025-09-13 10:31:07 +03:00
README.md docs: add Android share usage section 2026-04-09 08:47:34 +03:00
screenshot-android.png add android screenshot 2024-03-02 23:36:45 +02:00
screenshot-fedora.png add android screenshot 2024-03-02 23:36:45 +02:00

Quick logger

Quicklogger

This is a tiny GUI app written in Go using the Fyne framework to quickly log a message to a file. Read on my blog more about this: https://foo.zone/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang.html

The purpose of this is to have a small Android app to quickly log Ideas into a folder as plain text files. From there, Syncthing will sync it to my computer at home.

This are screenshots of the App running on Android and Fedora Linux.

Screenshot Screenshot

Build and Run (Mage)

This repo includes Mage tasks to build, run and crosscompile.

Install Mage:

go install github.com/magefile/mage@latest

Clone and enter the repo:

git clone https://codeberg.org/snonux/quicklogger
cd quicklogger

Common tasks:

# Build desktop binary into ./bin
mage build

# Run the app (shows verbose Go build output)
mage run

# Clean build artifacts
mage clean

Android Builds

Two options exist: local Fyne packaging or containerized crosscompile.

  • Local packaging (requires Fyne CLI and Android NDK):

    # Install Fyne CLI if needed
    go install fyne.io/fyne/v2/cmd/fyne@latest
    
    # Ensure ANDROID_NDK_HOME points to your NDK (e.g. ~/android-ndk/android-ndk-r26b)
    export ANDROID_NDK_HOME=~/android-ndk/android-ndk-r26b
    
    # Build APK in the project root as quicklogger.apk
    mage android
    
  • Containerized crosscompile (recommended, uses fyne-cross with Docker/Podman):

    # Start Podman if you prefer Podman over Docker
    sudo systemctl start podman
    
    # The task auto-detects a user Podman socket; otherwise it uses Docker defaults
    mage androidcross
    

After crosscompiling, the APK is located at fyne-cross/dist/android/quicklogger.apk. Copy it to your device and install it (you may need to allow installing from unknown sources):

adb install -r fyne-cross/dist/android/quicklogger.apk
# or copy manually and install on device

Share with QuickLogger on Android

From any Android app that can share text, choose Share and send it to QuickLogger. The text opens in the editor so you can review it, edit it, or tap Log text.

If you want shared text to be saved immediately, open Preferences and enable Auto-log shared text. With that on, shared text goes straight to your log directory instead of being prefilled.