Llinuxctrl
Installation

Installation

Prerequisites

  • Node.js 18+ or Bun 1.0+

Install as a CLI

npm install -g @linuxctrl/grabr

Or with Bun:

bun install -g @linuxctrl/grabr

After installation, verify it works:

npx @linuxctrl/grabr --help

Install as a Library

npm install @linuxctrl/grabr

Then import it in your project:

import { Downloader } from "@linuxctrl/grabr";

const downloader = new Downloader();
await downloader.start();

Build from Source

git clone https://github.com/LinuxCTRL/grabr.git
cd grabr
bun install
bun run build

This produces dist/ with the CLI and library.

Running Locally (Development)

# Run CLI directly from source
bun run cli --help

# Add a download
bun run src/cli/index.tsx add https://example.com/file.zip

# Start the web server + dashboard
bun run src/server/index.ts