copyparty/contrib
Aditya 6bd7d48362 fix: Windows SFX execution issues (#324)
- Set PRTY_NO_MAGIC=1 automatically on Windows in SFX script to prevent python-magic segfaults
- Improve Windows error messages with detailed troubleshooting instructions
- Add contrib/run-sfx.bat universal launcher for easy double-click execution
- Add contrib/windows/copyparty-sfx.bat template for pairing with specific SFX files
- Add comprehensive Windows support documentation in contrib/windows/README.md
- Update contrib/README.md to reference new Windows tools

This resolves issues where Windows users couldn't double-click SFX files to run them
and experienced segmentation faults with the python-magic library.

Fixes #324
2025-07-30 20:51:06 +05:30
..
apache add/improve reverse-proxy examples 2025-01-07 05:49:40 +00:00
haproxy add/improve reverse-proxy examples 2025-01-07 05:49:40 +00:00
ios add iOS uploader (mk.ii) 2023-03-18 18:38:37 +00:00
lighttpd add/improve reverse-proxy examples 2025-01-07 05:49:40 +00:00
nginx make nginx example less confusing 2025-07-28 19:46:15 +00:00
nixos/modules various improvements to the nix files (#228) 2025-07-29 00:16:30 +00:00
openrc v1.5.4 2022-12-29 04:44:15 +00:00
package various improvements to the nix files (#228) 2025-07-29 00:16:30 +00:00
plugins minimal-up2k: add usage instructions 2025-05-21 20:53:19 +00:00
rc contrib: bump python version in rc script 2023-10-13 10:15:27 +02:00
systemd systemd service: fix install notes, closes #88 2024-06-27 17:35:23 +02:00
themes ux: login margin; theme2: yellow buttons 2024-08-17 15:55:55 +00:00
traefik traefik-example: fix disconnect during big uploads 2025-01-29 21:03:18 +00:00
windows fix: Windows SFX execution issues (#324) 2025-07-30 20:51:06 +05:30
cfssl.sh generate tls certs 2023-06-10 22:46:24 +00:00
copyparty.bat add contrib 2020-08-23 22:40:25 +00:00
explorer-nothumbs-nofoldertypes.reg fuse: add windows-explorer settings 2021-01-06 17:18:37 +01:00
flameshot.sh add flameshot client example 2024-09-11 20:56:38 +00:00
index.html golf / normalize window.location 2023-09-20 22:07:40 +00:00
ishare.iscu add ishare config example (macos screenshot uploader) 2025-01-10 21:13:20 +00:00
media-osd-bgone.ps1 adopt the osd hider 2022-07-05 23:36:44 +02:00
README.md fix: Windows SFX execution issues (#324) 2025-07-30 20:51:06 +05:30
run-sfx.bat fix: Windows SFX execution issues (#324) 2025-07-30 20:51:06 +05:30
send-to-cpp.contextlet.json add contextlet + igloo irc config + upd changelog 2024-01-14 04:58:24 +00:00
sharex.sxcu Fix ShareX v17+ compatibility issue 2025-07-30 20:41:18 +05:30
sharex12.sxcu Fix ShareX v17+ compatibility issue 2025-07-30 20:41:18 +05:30
sharex17.sxcu Fix ShareX v17+ compatibility issue 2025-07-30 20:41:18 +05:30
webdav-cfg.bat webdav.bat and readme tweaks 2023-02-20 21:00:04 +00:00
zfs-tune.py add zfs-tune (#149) 2025-03-30 13:30:15 +00:00

plugins/

  • example extensions

copyparty.bat

  • launches copyparty with no arguments (anon read+write within same folder)
  • intended for windows machines with no python.exe in PATH
  • works on windows, linux and macos
  • assumes copyparty-sfx.py was renamed to copyparty.py in the same folder as copyparty.bat

windows/ - Windows-specific tools

  • windows/run-sfx.bat - Universal launcher for copyparty SFX files on Windows
  • windows/copyparty-sfx.bat - Template batch file for pairing with specific SFX files
  • windows/README.md - Complete guide for Windows users having trouble with SFX files
  • Solves issues with double-clicking .py files and prevents segmentation faults on Windows

index.html

  • drop-in redirect from an httpd to copyparty
  • assumes the webserver and copyparty is running on the same server/IP
  • modify 10.13.1.1 as necessary if you wish to support browsers without javascript

sharex.sxcu - Windows screenshot uploader

  • sharex config file to upload screenshots and grab the URL
  • RequestURL: full URL to the target folder
  • pw: password (remove the pw line if anon-write)
  • the act:bput thing is optional since copyparty v1.9.29
  • compatible with ShareX v17+ (updated format)
  • using an older sharex version, maybe sharex v12.1.1 for example? dw fam i got your back 👉😎👉 sharex12.sxcu
  • for maximum ShareX v17+ compatibility, you can also use sharex17.sxcu

ishare.iscu - MacOS screenshot uploader

  • ishare config file to upload screenshots and grab the URL
  • RequestURL: full URL to the target folder
  • pw: password (remove the pw line if anon-write)

flameshot.sh - Linux screenshot uploader

  • takes a screenshot with flameshot on Linux, uploads it, and writes the URL to clipboard

send-to-cpp.contextlet.json

  • browser integration, kind of? custom rightclick actions and stuff
  • rightclick a pic and send it to copyparty straight from your browser
  • for the contextlet firefox extension

media-osd-bgone.ps1

  • disables the windows OSD popup (the thing on the left) which appears every time you hit media hotkeys to adjust volume or change song while playing music with the copyparty web-ui, or most other audio players really

explorer-nothumbs-nofoldertypes.reg

  • disables thumbnails and folder-type detection in windows explorer
  • makes it way faster (especially for slow/networked locations (such as partyfuse))

webdav-cfg.reg

  • improves the native webdav support in windows;
    • removes the 47.6 MiB filesize limit when downloading from webdav
    • optionally enables webdav basic-auth over plaintext http
    • optionally helps disable wpad, removing the 10sec latency

cfssl.sh

  • creates CA and server certificates using cfssl
  • give a 3rd argument to install it to your copyparty config
  • systemd service at systemd/cfssl.service

zfs-tune.py

  • optimizes databases for optimal performance when stored on a zfs filesystem; also see openzfs docs and specifically the SQLite subsection

OS integration

init-scripts to start copyparty as a service

Reverse-proxy

copyparty supports running behind another webserver