dailyLog enables you to rapid log with customizable shortcuts. Tired of trying to log workouts on your phone? Want to build a custom habit tracker? Looking for the fastest way to get notes into your Obsidian vault? dailyLog can help.
<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="80">
Or download the latest APK from the Releases Section.
Initially designed as a rapid logging system for journaling, dailyLog allows you to quickly add info to a text file with customizable button shortcuts. Here's how it works:
Opening the app for the first time will allow you to either create a file or select an existing one:
If you select "Create a File", the app will navigate you to your Documents folder and autofill your file name as "journal.md". You can change this to whatever you would like, then hit save:
Alternatively, you can click on "Select a file" if you have a file in mind.
When the file selector window opens, navigate to "Internal storage" and then navigate to your file. In order to get write access to the file, the app needs to know the full path of the file. Due to Android shenanigans, in some versions, the only way to get this is when you navigate to the exact folder the file is in, rather than selecting it from the "Recent" shortcuts menu. Here's what I mean:
Note that in the screenshot it says "SD Card", but on most phones, it should say "Internal Storage" instead.
Once you've selected or created the file, the app will take you to the log screen, which is optimized for distraction-free typing. There are no menus, and only two buttons in the corner: settings and save:
Type something and hit the save button. You should see a Toast message saying "Saved file." If you get the "Saved file." message but the changes did not persist (aka the file went back to how it was when you opened it), then you likely did not open the file from the Internal Storage section as outlined above. Check out I can't edit the file I selected! When I edit and hit save, all my edits disappear! or Step 1: Select Your File for more.
If you're using dailyLog, it's likely because you have a format you like to journal in and you need keyboard shortcuts to keep it fast and easy on your phone. Hit the gear icon on the log screen to navigate to the settings page:
You'll see at the top the option to change the file you're working in, and under that a section labeled "Shortcuts" with a three dot menu next to it. At the bottom of the screen you'll see a big blue circle with a plus in it. Click the plus button.
You'll see a few items on the screen:
Your screen now looks like this:
Hit the save button. We'll cover the other parts of this screen in the "Shortcuts with timestamps" section and the "Cursor positioning" sections.
You'll now see your shortcut displayed in the shortcuts list:
Clicking on it will allow you to edit it. You'll also notice a gray x on the side to delete the shortcut, and the six gray dots on the left-hand side of the shortcut card. The dots denote that when there are multiple shortcuts, you can drag to reorder them. More in "Drag to reorder shortcuts".
Hit the back button to go back to the log screen. It should look like this:
Hit the 🥣 button, you'll see the text you chose inserted into the log.
Tada! You've now successfully used dailyLog. To get a rundown of the other features, please continue reading:
While the save button is available, the app also saves to your file every time you navigate away from the log screen. Going to the settings page or minimizing the app will both trigger file saves. While this is not the exact "Autosave" mechanism other apps may provide, in my experience using the app it's just as effective.
Navigate back to the shortcut page and click on the dinner shortcut to edit it.
See the pink slider labelled "cursor index"? Notice that it's slider marker is all the way at the end. Now start modifying the body of the shortcut to say "- dinner: food{ }, location{ }, people{ }". You'll already see that the cursor index slider is no longer at the end. If you look underneath the "Edit shortcut" title, you'll see the body of your text, with a pink line denoting where the cursor is.
Let's move the cursor slider until the pink line is inside the food's curly braces:
Now, when you use the shortcut, your cursor will automatically be exactly where you want it to be!
It wouldn't be a journaling app without timestamps. dailyLog supports adding timestamp regexes in shortcuts. Let's say you want a shortcut that adds today's date as an H1 title in your markdown file. For example: "# 03 March 1970".
Start by opening the "Create new shortcut" dialog. Let's make the label the calendar emoji: 📅, and then we need to fill in the text. dailyLog's format is: {DATETIME: <whatever format you want>}
. So in our case that would look like "# {DATETIME: DD MMMM yyyy}". And make sure to toggle the "Contains datetime format" switch at the bottom like so:
Now if you hit the calendar shortcut, you get the date!
A description of the available datetime patterns can be found in the Java documentation of DateTimeFormatter.
When you have a list of shortcuts in the settings page, you can drag them around to reorder them. This will also change the order by which they appear in the shortcuts tray.
You can export your shortcuts to a csv file by hitting the three-dot menu next to "Shortcuts" in the settings page.
It will prompt you to select a place to create the csv file.
This allows you to import shortcuts via a csv file. The csv file should not have a header and should have quotes around all values. The order of the row should be: label, text, cursorIndex, shortcutType. Valid types are either "TEXT" or "DATETIME". If you want to make a csv file from scratch, I recommend first making a few shortcuts in the app, exporting that file, and then looking at the file as you design your own.
The other option is to use the bulk add feature. This shows you a text box and allows you to type in values. You don't need to wrap everything in quotes, but you do still need to follow the label, text, cursorIndex, shortcutType order.
You probably selected the file from the "Recents" menu or some other shortcut folder conveniently provided to you by Android's file picker. Android has some weird bug where in order for the app to get the full path to the file (and therefore write to the file), you must select it via the Internal Storage directory. You must navigate to the file's exact location. See Step 1: Select Your File for more details.
If you just opened the app for the first time and just granted permissions, you may still see a Toast notification saying "File read permissions not granted". Give the app about 30 seconds. The app is trying to load the file right after permissions have been granted and it may not work right away. After about 10-30 seconds you should see a "Saved file" message and all should be right with the world. If the Toast message has gone away, try hitting the save button and see if it works. If it does, you're all right.
If it's still not working, double-check that you did, in fact, give permissions to the app.