forked from gitbot/uguu
Sugoi is a fork of the popular file hosting service Uguu with cosmetic changes.
a189f9a329
server{ listen 443 ssl http2; server_name www.X.Y X.Y; ssl on; ssl_certificate /etc/letsencrypt/live/X.Y/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/X.Y/privkey.pem; ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'; ssl_ecdh_curve secp384r1; ssl_buffer_size 2k; ssl_session_tickets off; root /var/www/uguu/dist/; autoindex off; access_log off; index index.html index.php; etag on; location ~* \.(?:css|js|jpg|jpeg|gif|png|ico|xml|eot|woff|woff2|ttf|svg|otf)$ { add_header Cache-Control "public"; expires 30d; } gzip on; gzip_min_length 1000; gzip_comp_level 6; gzip_proxied any; gzip_types text/css text/js text/javascript application/javascript application/x-javascript; location ~* \.php$ { fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; fastcgi_intercept_errors on; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } |
||
---|---|---|
static | ||
templates | ||
.DS_Store | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
checkdb.sh | ||
checkfiles.sh | ||
COPYING.CC-BY-3.0 | ||
dist.json | ||
LICENSE | ||
Makefile | ||
package.json | ||
README.md | ||
sqlite_schema.sql |
What is Uguu?
Uguu is a simple lightweight temporary file uploading and sharing platform where files get deleted after X amount of time.
Features
- One click uploading, no registration required
- A minimal, modern web interface
- Drag & drop supported
- Upload API with multiple response choices
- JSON
- HTML
- Text
- CSV
- Supports ShareX and other screenshot tools
Demo
See the real world example at uguu.se.
Requirements
Original development environment is Nginx + PHP5.3 + SQLite, but is confirmed to work with Apache 2.4 and newer PHP versions like PHP7.3.
Install
A detailed installation and configuration can be found at Uguu/Pomf Documentation.
API
To upload using curl or make a tool you can post using:
curl -i -F files[]=@yourfile.jpeg https://uguu.se/upload.php (JSON Response)
curl -i -F files[]=@yourfile.jpeg https://uguu.se/upload.php?output=text (Text Response)
curl -i -F files[]=@yourfile.jpeg https://uguu.se/upload.php?output=csv (CSV Response)
curl -i -F files[]=@yourfile.jpeg https://uguu.se/upload.php?output=html (HTML Response)
Getting help
Hit me up at @nekunekus or email me at neku@pomf.se
Credits
Uguu is based on Pomf which was written by Emma Lejack & Eric Johansson (nekunekus) and with help from the open source community.
License
Uguu is free software, and is released under the terms of the Expat license. See
LICENSE
.