summaryrefslogtreecommitdiff
path: root/README.md
blob: bedeaaabc73cc1947a9c2becb12c5ed6035839fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Quick logger

![Quicklogger](./logo-small.png)

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-android.png)
![Screenshot](./screenshot-fedora.png)

## Installation

1. Download and install the Android NDK. I personally installed it to `~/android/android-ndk-r26b` as of this writing.
2. Clone Quicklogger: `git clone https://codeberg.org/snonux/quicklogger; cd quicklogger`
3. Build it `./build.sh` - Note, you may need to set the `ANDROID_NDK_HOME` environment variable accordingly.
4. Copy `quicklogger.apk` to your Android phone and install it (You may need to allow installing APKs from this source - just follow the instructions Android is prompting you with).

## Not sure

... not sure that the above is still required, but I now have to do this to complile this on Fedora Linux for Android:

```sh
sudo systemctl start podman
DOCKER_HOST=unix:///run/user/1001/podman/podman.sock
go install github.com/fyne-io/fyne-cross@latest
fyne-cross android --pull
fyne-cross android
```

And then install the `.apk` file.