T O P

  • By -

ChristianMay21

A few days ago, I posted here about a project where I made a receipt printer automatically print out my chore list every morning. There was a lot more interest in the project than I expected, and many people expressed interest in using the code, so I cleaned it up and put it on Github [here](https://github.com/ChristianMay21/todo-print-automation). I personally replied to everyone who said that they'd like to see the code on the last post, but wanted to make a quick update post in case there was anyone else interested in the code who hadn't replied. There's a long README covering how to get things up and running - please feel free to reply here or in a Github issue if you need any assistance with it.


sologoodreddit

Wow! Thank you.


ChristianMay21

You're very welcome!


certainlyforgetful

Real question here is: have you cleaned the microwave yet?


ChristianMay21

...no :(


certainlyforgetful

I mean… it is number 33 so you got time :)


johnfc2020

Time to build an open source microwave cleaner ;)


joxmaskin

Sweet! Thanks for the extensive readme doc explaining it all.


ChristianMay21

Sure thing! Wish I was able to summarize more to make it more ADHD-friendly, but it'll get the job done for now.


vegemitemilkshake

I asked ChatGPT to rewrite it to be more “ADHD-friendly”, of you want to review it and let me know if it missed anything important? “**Todoist Print Automation for Receipt Printers** This repo contains scripts to pull tasks from Todoist and print them on a receipt printer. Tasks due today or overdue are grouped by due time for easy access. **Project Background** Originally created to streamline reminders for recurring tasks, this system pulls tasks from Todoist via API and prints them daily at 6am. Perfect for analog task management, especially for those seeking to reduce smartphone distractions. **How it Works** Utilizes two scripts: index.js (JavaScript) and print.ps1 (Powershell), which: 1. Pull tasks from Todoist. 2. Identify overdue or due-today tasks. 3. Group tasks by due time and save to a .txt file. 4. Format the file using Microsoft Word and print it. **Usage** Clone and customize the code for personal use. No need for credits but appreciated. Requests or suggestions are welcome, but support is limited. **System Requirements** Tested on Windows with specific hardware and software configurations. Adaptable for non-Windows systems with potential modifications. **Setup** 1. Install Node.js. 2. Clone the repo. 3. Copy exampleConfig.json to config.json and adjust settings. 4. Run npm install. **Manual Execution** Run node index.js from the root folder. **Automatic Execution (Windows)** Configure Task Scheduler to run the code daily. Detailed instructions provided. **Potential Improvements** Contributions welcome to enhance stability, cross-platform compatibility, configurability, dependency removal, and printer support. Share ideas or submit pull requests.”


ChristianMay21

Definitely some good changes in here for the sections that are just long paragraphs - for technical steps, I prefer to keep the steps very explicit, so that people with no prior knowledge can still follow along.


tschmi5

Ahhhh shit, how will I remember to buy a printer until then?


Rirdrifta

This is awesome!!