Skip to content

Files

File Content
todo.txt The tasks
notes/<name>.md The note of the task with the tag note:<name>.md, as Markdown
notes/<name>-<number>.jpg An image that the note shows
koppter.yml Configuration of this application that belongs to the todo.txt file: the board columns defined by filters, the share actions, the names of the priorities, the links of projects and contexts, the defaults for new tasks, the days until the archive of completed tasks, the contexts of projects, and the time maps and barriers for planning
ice_recur.txt Schedules of recurring tasks in the format of the ice_recur add-on, such as weekly ; day Monday - (B) Plan the week
done.txt The tasks completed more than a week ago
calendar.txt The plan: when the open tasks are worked on, one line per day
calendar.ics The plan as tentative events, for import into a calendar program
calendar-sideline.txt The events of the calendars that were put on the sideline one by one, by their UID

If these files lie in a git repository, the application commits every change and synchronizes with the remote repository.

Choosing the file

Choose file and Choose folder in the settings open a file or the todo.txt file of a folder; the settings close and show its tasks. On Android, a file chosen with Choose file is opened alone, as the document picker gives no access to the files next to it; a folder chosen with Choose folder has them. On the desktop, Choose folder takes the todo.txt file of the folder, also where there is none yet: a folder that is the clone of a git repository is committed and synchronized. The dialogs are those of the platform, shown through FileKit (decision 0036). A file in OneDrive or in another storage service is chosen in the same way, see Synchronization.

File location on the desktop

The desktop application reads the file that is set in the settings, which may also be given as the address of a git repository, see Cloning a repository. Without one, it reads todo.txt in the home directory if that file exists, and otherwise todo.txt in its data directory: %APPDATA%\koppter on Windows, ~/.local/share/koppter on Linux (decision 0025).

Log

The directory logs in the data directory holds the log of the application, with what failed, such as a synchronization, and the messages of the git library: koppter-0.log and following, the highest number being the newest, at most three files of one megabyte. On Android, the log is in Android/data/io.github.koppor.koppter/files/logs of the shared storage, which a computer connected by USB shows, and warnings and errors go to logcat as well. Share log in the settings passes the end of the newest log file as text to another application, such as a mail program. A log can name the address of the git repository: look at it before passing it on.

Archive of completed tasks

A completed task stays in the todo.txt file for a week, so that a comparison of two versions of the file shows what was done lately. Once a day, the application moves the tasks that were completed more than a week ago to the file done.txt next to the todo.txt file, the archive of the todo.txt command line. In a git repository, this is one commit, Archive completed tasks. The number of days is kept in koppter.yml, and is therefore the same on every device that synchronizes the file:

archive:
  days: 30
  • A line in done.txt carries the day on which the task was completed, and the day on which it was added if that is known: x 2026-10-05 2026-09-01 Call Mom.
  • A task whose day of completion is not known stays: one that was completed without a date in a file that is not in a git repository.
  • A task that stands for an item of Outlook or a TODO of a LaTeX document stays, as does one that an open task waits for and one of a shared list.
  • The application does not show the tasks of done.txt; to get one back, move its line to the todo.txt file.
  • A single file chosen through the document picker of Android has no archive.

Checking a file

A file that is edited by hand, by a script or by an agent is checked on the command line with jbang, without the application:

jbang lint@contextswitcher/koppter todo.txt

Before its first run from the web, jbang asks whether it trusts the address; jbang trust add https://github.com/contextswitcher/koppter/ answers that beforehand, which a run without a terminal needs. In a clone of this repository, jbang .jbang/KoppterLint.kt todo.txt checks with the sources of the clone. Each finding is one line, such as todo.txt:12: error: due:tomorrow is not a date as YYYY-MM-DD, and the command ends with 1 if an error is among them, so that it serves as a check of a repository of tasks. The option --output-format before the file selects another form of the findings:

Format Findings
errorformat file:line: severity: message, as above; the default
github-actions Annotations at the lines of a pull request, for a workflow of GitHub Actions
csv A table with the columns file, line, severity and message
Severity Findings
error A value of due:, deadline:, t:, rec:, dur:, tt:, at: or dueby: that is not read; p: without a task of that id:; an id: of two tasks; a note: whose file does not exist; a line of ice_recur.txt that is not understood; a time map or limit in koppter.yml that is not understood
warning A tag given twice; a tag with a space after its colon; a tag behind a +, @ or #, such as +rec:+1w, which is a project; dueby: without due:; a start date after the due date; a line that a change of its task would write differently; a context, project or hashtag that is written elsewhere with other capitals
info The open tasks without context, which are in the inbox

Only open tasks are checked.