Skip to main content

picture upload server for the included slideshow viewer

Project description

pypartypix a picture upload server for html slideshows
======================================================
Allows guests to upload pictures through a simple webinterface.
The picture is inserted as the next slide in the slideshow.

----

Html slideshow that allows new pictures to be inserted from guests through a webclient.
pypartypix is a simple python (3) server which allows clients to upload images through a simple web interface.
The slideshow.html file can be startet local and will display all images in the index.txt file.
Index.txt gets generated from the server.

New images will be next in the slideshow. There are quite a few settings for the slideshow, move the mouse to the upper part of the slideshow to adjust them.

As a simple security measure a uuid can be used to disallow unwanted users.
This service runs unencrypted because a self signed certificate whould be a pain for the users.

As a security measure this server should run in a chroot or otherwide unprivileged environment.

This was meant as a poc to demonstrate that client for such an app is not necessary.


Usage
-----

% python3 -m pypartypix -h
or
% ./pyparty -h
usage: -m [-h] [-p PORT] [-g] [-u UUID] [-d DIR] [-i FILE] [-q [FILE]]
[-s SCALE] [-H HOST] [-r] [-w] [-o]

Image Upload Server

optional arguments:
-h, --help show this help message and exit
-p PORT, --port PORT Port the server should listen to
-g, --genuuid Generate UUID used for authorization
-u UUID, --uuid UUID use UUID
-d DIR, --directory DIR
DIR used for image storage
-i FILE, --index FILE
File used for index storage. The slideshow needs to
read this file
-q [FILE], --qrcode [FILE]
File used for qrcode storage
-s SCALE, --qrscale SCALE
Scale used for qrcode
-H HOST, --host HOST Hostname used for URL/QRCODE
-r, --run Don't start the server
-w, --web Autostart Webbrowser
-o, --open-qr Open code in Webbrowser

LICENSE
-------
MIT


CREDITS
-------
Thanks to the developer of Party Pix! for the idea, hist client is Android only and the server is Java and seems to be closed source.

Python:
https://python.org

Vegas:
http://vegas.jaysalvat.com/

Jquery:
https://jquery.com/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypartypix-0.1.2.tar.gz (47.9 kB view details)

Uploaded Source

File details

Details for the file pypartypix-0.1.2.tar.gz.

File metadata

  • Download URL: pypartypix-0.1.2.tar.gz
  • Upload date:
  • Size: 47.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypartypix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f27d73b2123b34c06e28cc655e8522225a79db72ed8ec206c5fe8a1e4da2eb90
MD5 19a1ba76778665a66ab9b31d986da0f4
BLAKE2b-256 79c029ea1cf4040ee04c2d7b59f2a29c6983dd093a0c03f29bbc6b455c984ac9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page