File: README.md

package info (click to toggle)
debpkg 0.0.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 80 kB
  • sloc: makefile: 33
file content (78 lines) | stat: -rw-r--r-- 1,865 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Debpkg

A simple, colorful command-line tool for downloading and installing Debian packages from URLs.

## Features

- 🌈 **Colorful CLI** - Beautiful, modern interface with progress bars
- 📦 **Simple Installation** - Download and install .deb packages in one command
- 🔒 **Safe Operations** - Proper permission checking and error handling
- âš¡ **Fast Downloads** - Progress bars with speed indicators
- 🎯 **User Friendly** - Clear error messages and helpful output

## Usage

### Basic Commands

```bash
# Install a .deb package from URL
debpkg install https://example.com/package.deb

# Show help
debpkg --help

# Show version
debpkg --version
```

## Development

### Building

```bash
# Build only
make build

# Build and install
make install

# Clean build artifacts
make clean
```

### Testing

```bash
# Run tests
make test
```

### Project Structure

```
debpkg/
├── cmd/                    # CLI command definitions
│   ├── root.go            # Root command and shared styles
│   └── install.go         # Install command implementation
├── internal/              # Internal packages
│   ├── download/          # File download functionality
│   ├── apt/              # APT package manager integration
│   └── ui/               # UI components and styling
├── main.go               # Application entry point
├── go.mod                # Go module definition
├── Makefile              # Build automation
└── README.md             # This file
```

### Dependencies

The project uses these key dependencies:

- **Cobra** - CLI framework for command structure and parsing
- **Lipgloss** - Styling and colors for beautiful terminal output
- **Progressbar** - Download progress indication


## License

[MIT (Expat)](https://salsa.debian.org/otto/debpkg/-/raw/main//LICENSE)