Skip to content

Commit f7c1be7

Browse files
Add [copyparty] module (#486)
## Description This PR adds a module to install Copyparty as an alternative to Filebrowser. ## Type of Change - [x] New module - [ ] New template - [ ] Bug fix - [ ] Feature/enhancement - [ ] Documentation - [ ] Other ## Module Information <!-- Delete this section if not applicable --> **Path:** `registry/djarbz/modules/copyparty` **New version:** `v0.1.0` **Breaking change:** [ ] Yes [x] No ## Testing & Validation - [N/A] Tests pass (`bun test`) - [x] Code formatted (`bun fmt`) - [x] Changes tested locally ## Related Issues <!-- Link related issues or write "None" if not applicable --> None --------- Co-authored-by: DevCats <[email protected]>
1 parent 19519a0 commit f7c1be7

File tree

8 files changed

+744
-0
lines changed

8 files changed

+744
-0
lines changed

.icons/copyparty.svg

Lines changed: 210 additions & 0 deletions
Loading

registry/djarbz/.images/avatar.png

1.52 KB
Loading
38.5 KB
Loading

registry/djarbz/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
display_name: "Austin"
3+
bio: "IT Pro by day, script kiddie at night."
4+
avatar: "./.images/avatar.png"
5+
github: "djarbz"
6+
status: "community"
7+
---
8+
9+
# Austin
10+
11+
I like to program as a hobby.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
display_name: copyparty
3+
description: A web based file explorer alternative to Filebrowser.
4+
icon: ../../../../.icons/copyparty.svg
5+
verified: false
6+
tags: [files, filebrowser, web, copyparty]
7+
---
8+
9+
# copyparty
10+
11+
<!-- Describes what this module does -->
12+
13+
This module installs Copyparty, an alternative to Filebrowser.
14+
[Copyparty](https://github.com/9001/copyparty) is a portable file server with accelerated resumable uploads, dedup, WebDAV, FTP, TFTP, zeroconf, media indexer, thumbnails++ all in one file, no deps
15+
16+
```tf
17+
module "copyparty" {
18+
count = data.coder_workspace.me.start_count
19+
source = "registry.coder.com/djarbz/copyparty/coder"
20+
version = "1.0.0"
21+
}
22+
```
23+
24+
<!-- Add a screencast or screenshot here put them in .images directory -->
25+
26+
![copyparty-browser-fs8](../../.images/copyparty_screenshot.png)
27+
28+
## Examples
29+
30+
### Example 1
31+
32+
Some basic command line options:
33+
34+
```tf
35+
module "copyparty" {
36+
count = data.coder_workspace.me.start_count
37+
source = "registry.coder.com/djarbz/copyparty/coder"
38+
version = "1.0.0"
39+
agent_id = coder_agent.example.id
40+
arguments = [
41+
"-v", "/home/coder/:/home:r", # Share home directory (read-only)
42+
"-v", "${local.repo_dir}:/repo:rw", # Share project directory (read-write)
43+
"-e2dsa", # Enables general file indexing"
44+
]
45+
}
46+
```
47+
48+
### Example 2
49+
50+
```tf
51+
module "copyparty" {
52+
count = data.coder_workspace.me.start_count
53+
source = "registry.coder.com/djarbz/copyparty/coder"
54+
version = "1.0.0"
55+
agent_id = coder_agent.example.id
56+
subdomain = true
57+
arguments = [
58+
"-v", "/tmp:/tmp:r", # Share tmp directory (read-only)
59+
"-v", "/home/coder/:/home:rw", # Share home directory (read-write)
60+
"-v", "${local.root_dir}:/work:A:c,dotsrch", # Share work directory (All Perms)
61+
"-e2dsa", # Enables general file indexing"
62+
"--re-maxage", "900", # Rescan filesystem for changes every SEC
63+
"--see-dots", # Show dotfiles by default if user has correct permissions on volume
64+
"--xff-src=lan", # List of trusted reverse-proxy CIDRs (comma-separated) or `lan` for private IPs.
65+
"--rproxy", "1", # Which ip to associate clients with, index of X-FWD IP.
66+
]
67+
}
68+
```

0 commit comments

Comments
 (0)