• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    Python
  • License
    MIT License
  • Created about 13 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A command line interface to the aria2 daemon

diana

Usage

dad [-h|-d DOWNLOAD_DIR|-s SECRET_TOKEN|-u USERNAME|-p PASSWORD] start|stop
diana [-h|-u USERNAME|-p PASSWORD] ACTION [ARGUMENTS]

Actions

  • list — Output the list of active downloads.

  • paused — Output the list of paused downloads.

  • stopped — Output the list of stopped downloads.

  • info [--select-file=...] GID ... — Output informations regarding the given GIDs.

  • files GID ... — Output the files owned by the downloads corresponding to the given GIDs.

  • errors — Output the list of errors.

  • stats — Output download bandwidth statistics.

  • add [--select-file=...] ITEM ... — Download the given items (local or remote URLs to torrents, etc.).

  • remove GID ... — Remove the downloads corresponding to the given GIDs.

  • forcerm GID ... — Forcibly remove the downloads corresponding to the given GIDs.

  • pause GID ... — Pause the downloads corresponding to the given GIDs.

  • resume GID ... — Resume the downloads corresponding to the given GIDs.

  • preview [--select-file=...] GID ... — Preview all the files from all the downloads corresponding to the given GIDs.

  • sleep — Pause all the active downloads.

  • wake — Resume all the paused downloads.

  • purge — Clear the list of stopped downloads and errors.

  • clean — Stop seeding completed downloads.

Environment Variables

  • DIANA_DOWNLOAD_DIR — Used by the daemon.
  • DIANA_PREVIEW_COMMAND — Command used to preview files.
  • DIANA_INFO_COMMAND — Command used to get file informations.
  • DIANA_SECRET_TOKEN — Secret RPC authorization token.

All commands receive the partial file as first argument.

Dependencies

  • aria2
  • python3

More Repositories

1

bspwm

A tiling window manager based on binary space partitioning
C
7,693
star
2

sxhkd

Simple X hotkey daemon
C
2,755
star
3

plato

Document reader
Rust
1,258
star
4

xdo

Small X utility to perform elementary actions on windows
C
301
star
5

xtitle

Outputs X window titles
C
120
star
6

bubblegum

A vim color scheme based on xoria256
Vim Script
88
star
7

shkd

Simple HotKey Daemon
C
72
star
8

xresources-color-schemes

Various Xresources Color Schemes
50
star
9

vim-sxhkdrc

Vim syntax for sxhkd's configuration files
Vim Script
49
star
10

sutils

Small command-line utilities
C
42
star
11

ciecam02

An implementation of CIECAM02
JavaScript
39
star
12

etc-linux

Configuration files
Vim Script
35
star
13

bin-linux

Various shell scripts
Python
34
star
14

fmon

File monitor
C
32
star
15

keydouble

A little X utility to enable the use of ordinary keys as modifiers
C
30
star
16

txtw

Return the pixel width of the given strings for the given font
C
29
star
17

xlsw

List the X window tree contents
C
26
star
18

Coal-Graal.tmTheme

A dark and lispy TextMate theme.
26
star
19

owlman

A pacman and cower wrapper
Shell
24
star
20

sketch

Draw sketches on e-paper
Rust
19
star
21

xqp

X Query pointer
C
19
star
22

sdunpack

Unpack a StarDict dictionary as plain text
Rust
18
star
23

paragraph-breaker

An implementation of the Knuth-Plass algorithm for breaking paragraphs into lines
Rust
17
star
24

sres

Print the current screen resolution on stdout
C
16
star
25

backlight

Get and set the backlight brightness
C
15
star
26

bin

Shell scripts
Shell
14
star
27

xwinfo

Print window informations
C
14
star
28

invisibone

Terminal color scheme
14
star
29

Common-Lisp.tmbundle

A Slimy Common Lisp TextMate bundle.
Perl
11
star
30

thmkit

Utilities aimed at producing homogeneous color themes
Python
11
star
31

sieve

Generates a palette from an image
Python
11
star
32

fdb

Path frecency database
Rust
10
star
33

etc

Configuration files
Vim Script
9
star
34

ewmhstatus

Outputs the current EWMH desktop name and window title
C
8
star
35

aco2gpl

Converts a Photoshop palette to a GIMP palette
C
7
star
36

Z

Fast terminal directory jumping
Go
7
star
37

homebrew-formulae

Homebrew formulae
Ruby
4
star
38

ciebase

Basic building blocks for CIE color spaces
JavaScript
4
star
39

hestia

A CLI Interface to the mldonkey Daemon
Python
3
star
40

stoic

Tiny static site generator
Python
3
star
41

baskerville.github.com

The Art of Baskerville
HTML
2
star
42

Flexible-Words-TextMate

A TextMate Plugin
Objective-C
2
star
43

SimpleIcons

Simple scalable grid based icon set
2
star
44

ledcns

Set the state of the keyboard LEDs
C
2
star
45

eat

A CLI interface to Ge.tt's API
Python
2
star
46

Inconsolata

Personal fork of Raph Levien's font
2
star
47

dmenu_qxyw

A patch for dmenu providing "width / offsets / quiet" options
1
star
48

PKGBUILDs

Arch Linux user packages
Shell
1
star
49

vim-quirks

Personal vim workarounds
Vim Script
1
star
50

vanisher

Mac OS X utility that hides the mouse pointer on demand
C
1
star