Go to file
2025-06-17 20:36:41 -05:00
client Fix screensaver animation blinking issue - Remove frequent screen clearing that caused black frames every few seconds - Keep only the 3-minute clear cycle for burn-in protection - Ensure smooth animation loop by scheduling next frame before any clearing - Eliminate brief black flashes that occurred at animation cycle boundaries - Maintain continuous visual flow without interruption 2025-06-17 20:36:41 -05:00
docs fix tests 2025-06-14 19:22:52 -05:00
server add yaml import and export 2025-06-17 20:18:04 -05:00
shared update everything 2025-06-14 15:57:24 -05:00
.gitignore fix serial printer closing 2025-06-17 18:14:26 -05:00
package-lock.json add yaml import and export 2025-06-17 20:18:04 -05:00
package.json add yaml import and export 2025-06-17 20:18:04 -05:00
README.md fix tests 2025-06-14 19:22:52 -05:00

Task Receipts

A task management system with receipt printer integration, designed to help people with ADD keep track of their tasks. The system prints tasks and steps to a receipt printer, making it easy to have physical copies of instructions.

Features

  • Group tasks into categories
  • Break down tasks into steps with detailed instructions
  • Print tasks and steps to a receipt printer
  • Track frequently used and recently printed tasks
  • Support for images in instructions (automatically converted to black and white for printing)
  • Mobile and desktop web interface
  • GraphQL API for efficient data fetching

Prerequisites

  • Node.js 18 or later
  • SQLite 3
  • USB receipt printer (optional, test mode available)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/task-receipts.git
    cd task-receipts
    
  2. Install dependencies:

    npm install
    
  3. Set up the database:

    npx knex migrate:latest
    
  4. Start the development server:

    npm run dev
    

The server will start at http://localhost:3000, and the GraphQL endpoint will be available at http://localhost:3000/graphql.

Development

  • npm run dev - Start the development server
  • npm run build - Build the project
  • npm start - Start the production server
  • npm test - Run tests

Testing

The project includes a test printer implementation that writes receipts to text files in the test-output directory. This makes it easy to test the printing functionality without a physical printer.

License

MIT