semvec/pypi-packages huggingface dataset:
nrd 0.0.12
run vite dev server in background
Requires Python: >=3.8

# nrd

Run `npm run dev` in background for all your Laravel Herd sites.

## Installation

```bash
pipx install nrd
```

**Important: After installing, set up the autostart service:**

**macOS:**
```bash
nrd-service-install
```

**Linux:**

```bash
sudo nrd-service-install
```

**Windows (Run PowerShell as Administrator):**

```powershell
nrd-service-install
```

This installs NRD as a system service that automatically starts when your computer boots, keeping your Vite dev servers running in the background.

## Usage

If you have installed the background service you don't have to do anything.

Otherwise simply run the nrd command to start all Vite dev servers for your secured Herd sites:

```bash
nrd
```

Or run it as a module:

```bash
python -m nrd.nrd
```


## Uninstall Service

**macOS:**
```bash
nrd-service-uninstall
```

**Linux:**
```bash
sudo nrd-service-uninstall
```

**Windows (Run as Administrator):**
```powershell
nrd-service-uninstall
```

For detailed instructions, troubleshooting, and management commands, see the [Service Installation Guide](service/README.md).

## Features

- Automatically detects all secured Laravel Herd sites
- Runs Vite dev servers in the background
- Cross-platform service support (macOS, Linux, Windows)
- Auto-restart on failure
- Easy installation and management scripts

## Requirements

- Python 3.8 or higher
- Laravel Herd installed and configured
- npm and node.js
- Sites with Vite configured

## How It Works

NRD uses the `herd parked --json` command to discover all your secured Herd sites, then starts `npm run dev` for each site in the background. When configured as a service, it automatically starts on system boot and keeps your dev servers running.
tasktrackipy 0.1.0
Add your description here
Requires Python: >=3.14

# Roadmap Project: Task Tracker

https://roadmap.sh/projects/task-tracker


## Tech used

- Dependency Injection
- Json Lines File Storage
- [`uv`](https://pypi.org/project/uv/) for CLI command counting
- [`returns`](https://pypi.org/project/returns/) for Result Pattern
- [`click`](https://pypi.org/project/click/) for CLI

## Approach

- use jsonl file as persistent storage
- use DI container to manage dependencies
- implement CLI commands for task management

## Usage

### Help

```sh
> python ./task_cli.py --help
Usage: task_cli.py [OPTIONS] COMMAND [ARGS]...

  Task tracker CLI.

Options:
  --help  Show this message and exit.

Commands:
  add
  ls
  mark-status
  rm
  update
```

### Add a task

```sh
> python ./task_cli.py add "task5"
Task added successfully.
```

### Delete a task

```sh
> python ./task_cli.py rm 5
Task removed successfully.
```

### List tasks

#### List all tasks
```sh
> python ./task_cli.py ls
id=4 description='task4' createdAt=datetime.datetime(2025, 12, 21, 22, 20, 50, 298166) updatedAt=datetime.datetime(2025, 12, 21, 22, 20, 50, 298178) status=todo
id=2 description='task2' createdAt=datetime.datetime(2025, 12, 21, 22, 9, 31, 176771) updatedAt=datetime.datetime(2025, 12, 21, 22, 36, 39, 644973) status=todo
id=3 description='task3' createdAt=datetime.datetime(2025, 12, 21, 22, 13, 12, 531730) updatedAt=datetime.datetime(2025, 12, 21, 22, 36, 45, 919083) status=todo
id=1 description='task1' createdAt=datetime.datetime(2025, 12, 21, 22, 9, 15, 29374) updatedAt=datetime.datetime(2025, 12, 22, 12, 52, 18, 857281) status=done
```

#### Filter by status

```sh
> python ./task_cli.py ls --status todo
id=4 description='task4' createdAt=datetime.datetime(2025, 12, 21, 22, 20, 50, 298166) updatedAt=datetime.datetime(2025, 12, 21, 22, 20, 50, 298178) status=todo
id=2 description='task2' createdAt=datetime.datetime(2025, 12, 21, 22, 9, 31, 176771) updatedAt=datetime.datetime(2025, 12, 21, 22, 36, 39, 644973) status=todo
id=3 description='task3' createdAt=datetime.datetime(2025, 12, 21, 22, 13, 12, 531730) updatedAt=datetime.datetime(2025, 12, 21, 22, 36, 45, 919083) status=todo
```