Skip to content

Commit beaceda

Browse files
committed
v1.13.1
1 parent 25139a4 commit beaceda

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

README.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ turn almost any device into a file server with resumable uploads/downloads using
110110
* [dependencies](#dependencies) - mandatory deps
111111
* [optional dependencies](#optional-dependencies) - install these to enable bonus features
112112
* [optional gpl stuff](#optional-gpl-stuff)
113-
* [sfx](#sfx) - the self-contained "binary"
113+
* [sfx](#sfx) - the self-contained "binary" (recommended!)
114114
* [copyparty.exe](#copypartyexe) - download [copyparty.exe](https://github.com/9001/copyparty/releases/latest/download/copyparty.exe) (win8+) or [copyparty32.exe](https://github.com/9001/copyparty/releases/latest/download/copyparty32.exe) (win7+)
115+
* [zipapp](#zipapp) - another emergency alternative, [copyparty.pyz](https://github.com/9001/copyparty/releases/latest/download/copyparty.pyz)
115116
* [install on android](#install-on-android)
116117
* [reporting bugs](#reporting-bugs) - ideas for context to include, and where to submit them
117118
* [devnotes](#devnotes) - for build instructions etc, see [./docs/devnotes.md](./docs/devnotes.md)
@@ -125,6 +126,7 @@ just run **[copyparty-sfx.py](https://github.com/9001/copyparty/releases/latest/
125126
* or if you cannot install python, you can use [copyparty.exe](#copypartyexe) instead
126127
* or install [on arch](#arch-package)[on NixOS](#nixos-module)[through nix](#nix-package)
127128
* or if you are on android, [install copyparty in termux](#install-on-android)
129+
* or if your computer is messed up and nothing else works, [try the pyz](#zipapp)
128130
* or if you prefer to [use docker](./scripts/docker/) 🐋 you can do that too
129131
* docker has all deps built-in, so skip this step:
130132

@@ -618,9 +620,15 @@ cool trick: download a folder by appending url-params `?tar&opus` or `?tar&mp3`
618620
619621
## uploading
620622
621-
drag files/folders into the web-browser to upload (or use the [command-line uploader](https://github.com/9001/copyparty/tree/hovudstraum/bin#u2cpy))
623+
drag files/folders into the web-browser to upload
622624
623-
this initiates an upload using `up2k`; there are two uploaders available:
625+
dragdrop is the recommended way, but you may also:
626+
627+
* select some files (not folders) in your file explorer and press CTRL-V inside the browser window
628+
* use the [command-line uploader](https://github.com/9001/copyparty/tree/hovudstraum/bin#u2cpy)
629+
* upload using [curl or sharex](#client-examples)
630+
631+
when uploading files through dragdrop or CTRL-V, this initiates an upload using `up2k`; there are two browser-based uploaders available:
624632
* `[🎈] bup`, the basic uploader, supports almost every browser since netscape 4.0
625633
* `[🚀] up2k`, the good / fancy one
626634
@@ -2007,7 +2015,7 @@ these are standalone programs and will never be imported / evaluated by copypart
20072015
20082016
# sfx
20092017
2010-
the self-contained "binary" [copyparty-sfx.py](https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py) will unpack itself and run copyparty, assuming you have python installed of course
2018+
the self-contained "binary" (recommended!) [copyparty-sfx.py](https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py) will unpack itself and run copyparty, assuming you have python installed of course
20112019
20122020
you can reduce the sfx size by repacking it; see [./docs/devnotes.md#sfx-repack](./docs/devnotes.md#sfx-repack)
20132021
@@ -2034,6 +2042,16 @@ meanwhile [copyparty-sfx.py](https://github.com/9001/copyparty/releases/latest/d
20342042
then again, if you are already into downloading shady binaries from the internet, you may also want my [minimal builds](./scripts/pyinstaller#ffmpeg) of [ffmpeg](https://ocv.me/stuff/bin/ffmpeg.exe) and [ffprobe](https://ocv.me/stuff/bin/ffprobe.exe) which enables copyparty to extract multimedia-info, do audio-transcoding, and thumbnails/spectrograms/waveforms, however it's much better to instead grab a [recent official build](https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z) every once ina while if you can afford the size
20352043
20362044
2045+
## zipapp
2046+
2047+
another emergency alternative, [copyparty.pyz](https://github.com/9001/copyparty/releases/latest/download/copyparty.pyz) has less features, requires python 3.7 or newer, worse compression, and more importantly is unable to benefit from more recent versions of jinja2 and such (which makes it less secure)... lots of drawbacks with this one really -- but it *may* just work if the regular sfx fails to start because the computer is messed up in certain funky ways, so it's worth a shot if all else fails
2048+
2049+
run it by doubleclicking it, or try typing `python copyparty.pyz` in your terminal/console/commandline/telex if that fails
2050+
2051+
it is a python [zipapp](https://docs.python.org/3/library/zipapp.html) meaning it doesn't have to unpack its own python code anywhere to run, so if the filesystem is busted it has a better chance of getting somewhere
2052+
* but note that it currently still needs to extract the web-resources somewhere (they'll land in the default TEMP-folder of your OS)
2053+
2054+
20372055
# install on android
20382056
20392057
install [Termux](https://termux.com/) + its companion app `Termux:API` (see [ocv.me/termux](https://ocv.me/termux/)) and then copy-paste this into Termux (long-tap) all at once:

copyparty/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# coding: utf-8
22

3-
VERSION = (1, 13, 0)
3+
VERSION = (1, 13, 1)
44
CODENAME = "race the beam"
5-
BUILD_DT = (2024, 4, 20)
5+
BUILD_DT = (2024, 5, 6)
66

77
S_VERSION = ".".join(map(str, VERSION))
88
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

copyparty/svchub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ def _process_config(self) -> bool:
557557
except:
558558
raise Exception("invalid --mv-retry [%s]" % (self.args.mv_retry,))
559559

560-
al.tcolor = al.tcolor.lstrip('#')
560+
al.tcolor = al.tcolor.lstrip("#")
561561
if len(al.tcolor) == 3: # fc5 => ffcc55
562562
al.tcolor = "".join([x * 2 for x in al.tcolor])
563563

0 commit comments

Comments
 (0)