No description
  • Shell 58.8%
  • TypeScript 41%
  • JavaScript 0.2%
Find a file
2025-07-20 14:09:31 +00:00
.github/workflows fixes lol 2025-07-20 16:08:32 +02:00
src now fully working with a config file. 2025-07-13 22:05:18 +02:00
.gitignore Remove personal config.yml and add config.example.yml for reference 2025-07-19 12:53:32 +02:00
config.example.yml Remove personal config.yml and add config.example.yml for reference 2025-07-19 12:53:32 +02:00
install.sh bumb to node version 22 2025-07-19 12:34:22 +02:00
package-lock.json now fully working with a config file. 2025-07-13 22:05:18 +02:00
package.json chore: sync package.json version with release tag v0.1.5 2025-07-20 14:09:31 +00:00
README.md Update README.md 2025-07-19 12:55:14 +02:00
setup-config.sh this should fix the config not working :pain: 2025-07-19 13:30:33 +02:00
tsconfig.json draft idea of background app that triggers shortcuts based on cron jobs... buil using an even based system 2025-07-11 02:36:30 +02:00

Autocut

A TypeScript-based background service that runs scheduled shortcuts and tasks using cron scheduling. Installable via Homebrew as a macOS service.

Quick Install

# Install from Homebrew tap (recommended)
brew install dvos-tools/autocut/autocut

brew services start autocut

# Or install locally
./install.sh

What it does

  • Runs shortcuts on custom schedules using cron expressions
  • Background service with automatic error recovery
  • Interactive configuration via terminal UI
  • Event-driven architecture with logging

Installation Options

brew tap dvos-tools/autocut
brew install autocut

2. Local Installation

./install.sh

Usage

Start the Service

brew services start autocut

Configure Shortcuts

autocut-setup

Check Status

brew services list | grep autocut

Configuration

The interactive setup tool (autocut-setup) guides you through:

  • Adding shortcuts with custom schedules
  • Setting cron expressions
  • Enabling/disabling shortcuts
  • Service management

Service Management

# Start/Stop/Restart
brew services start autocut
brew services stop autocut
brew services restart autocut

# Check status
brew services list | grep autocut

Uninstall

brew uninstall autocut

Troubleshooting

  • Service won't start: Check logs with tail -f /usr/local/var/log/autocut.error.log
  • Configuration issues: Run autocut-setup to reconfigure

Dependencies

  • Node.js 22+
  • Gum (for interactive UI)
  • node-cron, js-yaml, uuid