• Stars
    star
    112
  • Rank 302,552 (Top 7 %)
  • Language
    Python
  • License
    MIT License
  • Created over 12 years ago
  • Updated almost 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,445
star
2

sxhkd

Simple X hotkey daemon
C
2,653
star
3

plato

Document reader
Rust
1,136
star
4

xdo

Small X utility to perform elementary actions on windows
C
294
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
71
star
8

xresources-color-schemes

Various Xresources Color Schemes
50
star
9

vim-sxhkdrc

Vim syntax for sxhkd's configuration files
Vim Script
47
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
34
star
13

bin-linux

Various shell scripts
Python
34
star
14

keydouble

A little X utility to enable the use of ordinary keys as modifiers
C
31
star
15

fmon

File monitor
C
31
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
18
star
21

xqp

X Query pointer
C
18
star
22

paragraph-breaker

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

sdunpack

Unpack a StarDict dictionary as plain text
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

xwinfo

Print window informations
C
14
star
27

invisibone

Terminal color scheme
14
star
28

bin

Shell scripts
Shell
13
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
9
star
33

etc

Configuration files
Vim Script
8
star
34

ewmhstatus

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

Z

Fast terminal directory jumping
Go
7
star
36

aco2gpl

Converts a Photoshop palette to a GIMP palette
C
6
star
37

homebrew-formulae

Homebrew formulae
Ruby
4
star
38

ciebase

Basic building blocks for CIE color spaces
JavaScript
4
star
39

stoic

Tiny static site generator
Python
3
star
40

baskerville.github.com

The Art of Baskerville
HTML
2
star
41

Flexible-Words-TextMate

A TextMate Plugin
Objective-C
2
star
42

hestia

A CLI Interface to the mldonkey Daemon
Python
2
star
43

SimpleIcons

Simple scalable grid based icon set
2
star
44

Inconsolata

Personal fork of Raph Levien's font
2
star
45

ledcns

Set the state of the keyboard LEDs
C
2
star
46

eat

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

PKGBUILDs

Arch Linux user packages
Shell
1
star
48

vim-quirks

Personal vim workarounds
Vim Script
1
star
49

dmenu_qxyw

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

vanisher

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