https://github.com/yavorfingarov/todotxtdaemon
A todo.txt butler.
https://github.com/yavorfingarov/todotxtdaemon
daemon dotnet linux macos todotxt windows
Last synced: 3 months ago
JSON representation
A todo.txt butler.
- Host: GitHub
- URL: https://github.com/yavorfingarov/todotxtdaemon
- Owner: yavorfingarov
- License: mit
- Created: 2022-08-15T17:41:31.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T07:13:39.000Z (over 2 years ago)
- Last Synced: 2023-03-03T20:31:08.153Z (over 2 years ago)
- Topics: daemon, dotnet, linux, macos, todotxt, windows
- Language: C#
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# TodoTxtDaemon
[](https://github.com/yavorfingarov/TodoTxtDaemon/releases)
[](https://github.com/yavorfingarov/TodoTxtDaemon/releases)
[](https://github.com/yavorfingarov/TodoTxtDaemon/actions/workflows/cd.yml?query=branch%3Amaster)
[](https://github.com/yavorfingarov/TodoTxtDaemon/actions/workflows/codeql.yml?query=branch%3Amaster)
[](https://github.com/yavorfingarov/TodoTxtDaemon/actions/workflows/cd.yml?query=branch%3Amaster)
[](https://github.com/yavorfingarov/TodoTxtDaemon/actions/workflows/cd.yml?query=branch%3Amaster)
[](https://github.com/yavorfingarov/TodoTxtDaemon/actions/workflows/cd.yml?query=branch%3Amaster)TodoTxtDaemon is a tiny daemon that monitors your [todo.txt](https://github.com/todotxt/todo.txt)
file and moves completed tasks to your done.txt file.## Features
* Moves tasks once per day at 03:00.
* Moves tasks as soon as possible when the computer was powered off or hiberated for a longer period.
* Automatically prepends the task completion date based on the last write time of `todo.txt`.
* If the last write time is between 00:00 and 03:00, the task is considered to be completed on the previous day.
* Low CPU and memory footprint.## Installation
Download the [latest release](https://github.com/yavorfingarov/TodoTxtDaemon/releases) for your OS and
extract it somewhere on your hard drive. If you don't have the .NET 7 runtime installed, choose
the `self-contained` build.## Usage
Edit `appsettings.ini` and add the paths of your `todo.txt` and `done.txt` files.
Set up the daemon to start at log on:
### Windows
* Open _Administrative Tools > Task Scheduler_
* In the _Actions_ panel, click _Create Basic Task_
* Enter a name and click _Next_
* Select _When I log on_ and click _Next_
* Select _Start a program_ and click _Next_
* In the _Program/script_ field, locate the `TodoTxtDaemon.exe` and click _Next_
* Select _Open the Properties dialog..._ and click _Finish_
* Select _Run whether user is logged on or not_ and select _Do not store password..._
* In the _Conditions_ tab, unselect _Start the task only if the computer is on AC power_
* In the _Settings_ tab, unselect _Stop the task if it runs longer..._### MacOS
* Open _System Preferences > Users & Groups_
* In the _Login Items_ tab, click on the lock icon and enter your admin password
* Click _+_ and locate the `TodoTxtDaemon` executable### Linux
* _(GNOME, Cinnamon, MATE, Unity)_ Open _Startup Applications Preferences_
* _(KDE)_ Open _System Settings > Startup and Shutdown_ and select the _Autostart_ panel
* _(Xfce)_ Open _Settings Manager > Session and Startup_ and select the _Application Autostart_ tab
* Add the `TodoTxtDaemon` executableOnce the daemon is running, check `app.log` if everything works as expected.
## Additional resources
* [Changelog](https://github.com/yavorfingarov/TodoTxtDaemon/blob/master/CHANGELOG.md)
* [License](https://github.com/yavorfingarov/TodoTxtDaemon/blob/master/LICENSE)
## Help and support
For bug reports and feature requests, please use the [issue tracker](https://github.com/yavorfingarov/TodoTxtDaemon/issues).
For questions, ideas and other topics, please check the [discussions](https://github.com/yavorfingarov/TodoTxtDaemon/discussions).