https://github.com/9001/party-up
copyparty client for android
https://github.com/9001/party-up
android-app copyparty file-upload
Last synced: about 1 month ago
JSON representation
copyparty client for android
- Host: GitHub
- URL: https://github.com/9001/party-up
- Owner: 9001
- License: mit
- Created: 2021-12-29T18:38:56.000Z (over 3 years ago)
- Default Branch: hovudstraum
- Last Pushed: 2025-01-02T14:37:37.000Z (5 months ago)
- Last Synced: 2025-04-05T08:11:16.656Z (about 2 months ago)
- Topics: android-app, copyparty, file-upload
- Language: Java
- Homepage:
- Size: 351 KB
- Stars: 21
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Party UP!
''
''
upload files and links to a [copyparty](https://github.com/9001/copyparty) server by sharing them to this app
primarily made for this year's meadup, letting a room full of nerds throw memes onto the big screen
only the PUT API is implemented for now so there is no resumable uploads yet
## basic usage

* install the app
* open it and set your server url (and password if applicable)now all share buttons in other apps/browsers will have "Party UP!" as an option, letting you upload pics / vids / twitter links / anything really
## in case of permission errors
as of Android 11 (SDK30), a new API for sharing files was unfortunately enforced
if you get `Error3: java.io.FileNotFoundException` then that's because you are sharing files from an app which is still using the old API, which has now become forbidden for new apps to use
if you really need to share files from such outdated apps, then you'll have to use PartyUP 1.6.0 or older -- these versions were compiled for Android 9 (SDK28) which gives them permission to use the old API
## the full experience
setup a raspberry pi (raspbian or something else with a desktop) with the [very-bad-idea](https://github.com/9001/copyparty/blob/hovudstraum/bin/mtag/very-bad-idea.py) plugin:
```bash
sudo apt install xdotool wmctrl libnotify-bin
curl -LO https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py
curl -LO https://raw.githubusercontent.com/9001/copyparty/hovudstraum/bin/mtag/very-bad-idea.py
python3 copyparty-sfx.py --urlform save,get -a kevin:hunter2 -v.::rw,kevin:c,e2d,e2t,mte=+a1:c,mtp=a1=ad,t3,kn,very-bad-idea.py
```**WARNING:** by design, the `very-bad-idea` plugin makes it possible for anyone (with upload access) to hijack the copyparty server... so keep this on a LAN with people you trust, and give it a good password!
* and replace the example password `hunter2` for the example account `kevin` as appropriatenow, every time someone uploads something, it'll appear on the screen
* there is no queue system, it just goescheck the startup script in the very-bad-idea docstring for some bonus features,
* display a QR-code on the screen which takes people to the upload page
* make chrome autoplay audio on all pagesalso [twitter-unmute.user.js](https://github.com/9001/copyparty/blob/hovudstraum/bin/mtag/res/twitter-unmute.user.js) to play twitter links with audio