[APP] Simple Diary

One of the things I do with my smartphone today is to write a diary on the days that i do particular things that I don’t want to forget.

I could not find a suitable app available for that and since I’m a developer I decided the days between christmas and newyears when I’m on vacation to in true free software spirit create one myself.
I am still eagerly waiting for my Evergreen (ordered late September 2017), so I have not tested it on an actual device yet.

I just wanted to share my progress with the community and if someone likes journaling like I do and has a Librem 5, don’t hesitate to build it yourself if you know how and try it out.



And of course, here’s the source code

NOTE: The app does not have a “dark” mode or anything like that, it’s just my default GTK theme. It will look like an ordinary GTK app on other devices.

19 Likes

excellent and essential. thanks for sharing.

Regards

1 Like

Great idea :+1:

1 Like

Great concept and execution. I’ll probably name the .desktop file “Captain’s Log”.

3 Likes

you’re an essential worker ! be well in this new year …

3 Likes

It’s now available on flathub (and compiles for arm64).
So if anyone has a L5 and wants to try it out it’s pretty easy now!

https://flathub.org/apps/details/com.bjareholt.johan.SimpleDiary

2 Likes

I still do not have my L5 (order date October 7, 2017). I compiled your app on a very recent FreeBSD laptop and after installing the mentioned infrastructure ports, it went fine and starts fine. It uses ~128 share libs and I don’t know if this is not to heavy on a L5.

I discussed this in the UBports forum. And someone said:

@guru it should be possible, but you would probably need to build and ship a build of GTK+3 with the app. Porting a Qt or HTML based app would be much easier.

matthias

1 Like

Cool, nice to hear!

gedit for me used 104 shared libraries on my computer (arch linux) while my app uses 139 (I think it’s because mine also has webkitgtk as a dependency, which I’m considering getting rid of in the future). I’m sure it would be no issue, pretty much all GTK apps uses at least 100 shared libraries. A similar amount should go for any Qt app too. It’s also worth noting that most dependencies are things like graphics drivers, X11/wayland and a lot of other sub-dependencies of GTK, so they can be shared between multiple processes.

it should be possible, but you would probably need to build and ship a build of GTK+3 with the app. Porting a Qt or HTML based app would be much easier.

That’s regarding UBPorts which recommends installing apps via click packages and has no support for flatpak or snap (due to old non-upstream linux kernels) and does not recommend using custom APT repositories. For PureOS which supports snaps and flatpaks I don’t think this is an issue. It would also not be too hard to upstream it to debian because all dependencies are there and then once Ubuntu or PureOS takes in new packages from debian it would pull this app too. But I want to avoid upstreaming to debian unless I see a significant amount of users using it.

1 Like

Installed flatpak on Pinephone/Mobian. Very easy install. Seems sort of slow, but everything seems to work. I did have to toggle portrait/landscape back and forth to see some controls.

Great first effort – keep it up!

2 Likes

Cool!

Classic traits of flatpaks, easy to install but can be slow to start. Was anything else than starting the app slow?

What didn’t work? I just tried to find that out myself and the only part of the app that I couldn’t use while simply scaling down the window to be really small (my way of “faking” a smartphone) was the image picker dialog for inserting images. Was there anything else?

After some googling it seems like slow starts of flatpak apps should only be on the first run, is the app still slow?

Thank you Reeally nice App! It is what I was looking for. Is there a way to add tags or folders?

Right now, neither.
I will probably add tags support later, regarding folders I will probably not add that but I have already started working on selecting a folder to open/save the diary entries (so you for example could easily save it in your dropbox/gdrive/owncloud synced folder).

But I do try to keep it as a single use-case app (diary) rather than a general notebook.
There are a few good GTK notetaking apps for Linux already that have a lot of useful features (Notes Up, Lifeograph) , so if that’s what you are looking for I’d rather ask them to add support for smaller screens (both because that would likely take less time than for my app to have feature parity and because I’d rather try to make something unique than trying to compete with something that already exists).

1 Like