Uguu is a simple lightweight temporary file host with support for drop, paste, click and API uploading.

Overview

Uguu

Quality Gate Status MIT licensed Documentation Status

What is Uguu?

Uguu is a simple lightweight temporary file hosting and sharing platform, but can also be used as a permanent file host.

Features

  • One click uploading, no registration required
  • A minimal, modern web interface
  • Drag & Drop & Paste supported
  • Upload API with multiple response choices
    • JSON
    • HTML
    • Text
    • CSV
  • Supports ShareX and other screenshot tools

Demo

See the real world site 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 and PHP8.0

Node is used to compile Uguu.

Installation

Installation and configuration can be found at Uguu Documentation.

Getting help

Hit me up at @nekunekus or email me at [email protected]

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.

Comments
  • C:\fakepath

    C:\fakepath

    So, I'm not really sure what's causing this, as I'm new to html, and wanted a simple file / image host for a few friends, i followed the instructions to the best of my knowledge, yet i get C:\fakepath\image.png when i select it from chrome, and when i upload it, it takes me to Site/api.php?d=upload with an error 500

    opened by seagullmania 48
  • Needs an Automatic Installer and an Administration Area

    Needs an Automatic Installer and an Administration Area

    I'd be willing to help you created an automatic installer that will do everything. You also need an Administration Area which I would also like to help you with.

    opened by ghost 19
  • Make Uguu less shit

    Make Uguu less shit

    • Use composer for packages
    • Silex (?) for service managing
    • Clean up current code
    • Replace raintpl with twig?
    • Update README.md

    I'll get to doing all of this when I have some free time. Soon, hopefully. @nokonoko if you have anything to add, just write it here and I'll look into it

    opened by avail 19
  • 代码报错,,怎么解决

    代码报错,,怎么解决

    PHP Warning: require_once(includes/config.php): failed to open stream: No such file or directory in /home/ftp/w/ww/wwwroot/index.php on line 3 PHP Fatal error: require_once(): Failed opening required 'includes/config.php' (include_path='.:/vhs/kangle/ext/tpl_php5633/lib/php') in /home/ftp/w/ww/wwwroot/index.php on line 3

    opened by 1265578519 13
  • Download pages

    Download pages

    I thought about making download pages for every file, which simply includes a download-button, a preview for the file (mp4 or gif for example), the download button simply redirects to the full url, without any token or so

    enhancement 
    opened by phz1 10
  • File upload button doesn't appear in IE11

    File upload button doesn't appear in IE11

    OS: Windows 8.1 Pro x64 Browser: Internet Explorer 11.0.9600.17690

    The button div (class="btn") doesn't show up at all. I can't seem to find what's wrong in the CSS.

    opened by zpt 9
  • Files larger than 100MB cannot be saved

    Files larger than 100MB cannot be saved

    To do : set the file to save up to 500 MB

    Execution environment:

    Oracle Cloud VM Instance (2 Core 1Gb) + Storage 50GB Apache2 + PHP 7.2 + Certbot (for https) Apache2 configuration: set up as described in the README

    Things I tried:

    • [x] Set post_max_size 500M (php.ini)
    • [x] Set upload_max_filesize 500M (php.ini)
    • [x] Set max_execution_time 300 (php.ini)
    • [x] Set max_input_time 300 (php.ini)
    • [x] chown -R www-data /var/www/Uguu

    If I upload a file smaller than 100MB, it works fine, but trying to upload a file larger than 100MB displays a link to the file and appears to have been uploaded normally, but it is not actually being saved. Is there any workaround for this problem?

    opened by parkkw472 8
  • api gives wrong link

    api gives wrong link

    when uploading via api, in sharex , it gives me /storage/files/img.png instead of /storage/public/files/img.png The file's uploaded properly, however it gives me the wrong url for it

    opened by seagullmania 7
  • Is there a posibility of adding accounts before people can upload?

    Is there a posibility of adding accounts before people can upload?

    Im looking for a solution to make my instance of Uguu have uploads identifiable to a user and so can be punnished for breaking rules of uploading, e.g. illeagl stuff.

    Is there a good solution to this or am I stuck?

    Thanks - @alfster2012

    enhancement 
    opened by bonzi 7
  • uguu.exe can run without python?

    uguu.exe can run without python?

    I'm trying to implement Uguu on a C# application but I can't find a way to use it from here, the problem is'nt making Uguu run into my program, but into a pc without python. I tried with the Exe that comes into "Scripts" and using cmd process, but the file doesn't upload, and the log doesn't show anything. Just sends:

    Fatal error in launcher: Unable to create process using '"'

    Sorry for asking such things, im totally new in python things and I don't understand it at all.

    In resume: How do I use Uguu from a C# application?

    opened by Lorhelei 6
  • Check.sh not working with 1440 minutes

    Check.sh not working with 1440 minutes

    The current check.sh: #! /bin/sh find $(grep -oP '"CONFIG_FILES_PATH", "\K(.*)(?=")' config.php) -mtime +$(grep -oP '"CONFIG_MAX_RETENTION_TIME", "\K(.*)(?=")' config.php) -exec rm -f {} \;

    Does not seem to delete files if you set it to 1440 minutes, it doesn't throw a error, it just doesn't for now uguu.se uses the old check.sh instead: find /home/neku/www/files/ -mmin +1440 -exec rm -f {} \;

    bug 
    opened by nokonoko 6
  • S3  && PostgreSQL

    S3 && PostgreSQL

    Hello. Unfortunately haven't found out any discussing topic, that's why posting questing as issue.

    1. Is it possible to use PostgreSQL instead of sqllite?
    2. Does php application support S3 bucket instead of direct access storage?

    We're going to deploy UGUU into K8S.

    opened by AlexeiKlimenko 1
  • Update ansible role

    Update ansible role

    :point_right: This ansible role deploys uguu author's latest release on Ubuntu 20.04. The newer releases had some structural changes, so I noticed. It will be worked on right alongside the below TO-DO's.

    What's Changed

    • Added some condition for validate the uguu install on normal user or root user. If normal user fine to install. if root user it will be create a new user called uguu then install the uguu application under this user for security propose.
    • Reduced the systemd service file. Now one systemd service and timer file for both actions "check db & file expire"
    • Update some task for install uguu latest release at all time

    Todo

    • [ ] Easier testing with molecule/KitchenCI
    • [ ] Add new task for automatically get the author's new release ~~[ ] Update local IP getting template~~

    In Progress

    • [x] Easier testing with molecule/KitchenCI
    • [ ] Add new task for automatically get the author's new release ~~[ ] Update local IP getting template~~

    Done ✓

    • [ ] Easier testing with molecule/KitchenCI
    • [x] Add new task for automatically get the author's new release ~~[x] Update local IP getting template~~
    opened by s3lva-kumar 1
Releases(v.1.6.5)
  • v.1.6.5(Dec 25, 2022)

  • v.1.6.4(Dec 25, 2022)

  • v.1.6.3(Dec 24, 2022)

  • v.1.6.2(Dec 16, 2022)

    • Minor bugfixes & improvements
    • Changes in how classes are loaded using autoload.
    • Changes to file structure.
    • Changes to installation.
    • More documentation added.
    Source code(tar.gz)
    Source code(zip)
  • v.1.6.1(Jul 22, 2022)

  • v.1.6.0(Jul 22, 2022)

  • v.1.5.4(Jul 16, 2022)

    • Ko-Fi donation button added.
    • Templating now uses ejs instead of swig.
    • clean-css/uglify-js replaced with minify-all.
    • Minor PHP changes.
    • Makefile reworked.
    • Preparations for major refactor.
    • Docs updated.

    If you want to use docker, stay on v1.5.3 until 1.6.0 is released.

    Source code(tar.gz)
    Source code(zip)
  • v.1.5.3(Jul 16, 2022)

  • v1.5.2(Jan 29, 2022)

  • v1.5.1(Jan 29, 2022)

    File extension fix also no more double dots since it's easy to abuse and not a lot of files actually use it... so lets put that on hold for now, also improved IP detection.

    Source code(tar.gz)
    Source code(zip)
  • v1.5.0(Jan 23, 2022)

  • v1.4.0(Jan 22, 2022)

    A lot of changes has been made in this version, pretty much all of the code has been reworked. Be sure you're on PHP 8.0 or higher before upgrading.

    • More error reporting.
    • Less bloat and easier to read.
    • Settings are handled by dist.json instead.
    • Changed to GPL-3.0 License.
    • Double dot array mess removed.
    • Now follows PHP PSR-12.

    TODO

    • Further documentation
    • More comments on code
    • probably more stuff
    Source code(tar.gz)
    Source code(zip)
  • v1.3.0(Jul 4, 2021)

  • v1.2.0(Jul 3, 2021)

  • v1.1.2(Jun 28, 2021)

  • v1.1.1(Jun 27, 2021)

  • v1.1.0(Jun 23, 2021)

    • Support for pasting files to upload
    • Fixes a bug where the hash isn't inserted into the DB
    • Option to enable anti-dupe
    • Option to enable IP logging
    • Invalid Nginx config fixed
    • Minor fixes to the installation instructions, some commands were wrong

    Can be patched to existing installation. (this is now outdated, pull the newest version instead)

    Replace upload.php with this version: https://github.com/nokonoko/Uguu/blob/d9744300eb582ae82273a739eabb3e484fb6666a/static/php/upload.php

    Replace uguu.min.js with this version: https://gist.githubusercontent.com/nokonoko/7864d7a3df265e77f506754a9db99001/raw/2c0038f491b2614a0f01c2920519290ff6b3e4c3/uguu.min.js

    And adding these values to settings.inc.php:

    /** Log IP of uploads */
    define('LOG_IP', 'false');
    
    /** Dont upload a file already in the DB */
    define('ANTI_DUPE', 'false');
    
    Source code(tar.gz)
    Source code(zip)
  • v1.0(Jun 21, 2021)

Owner
Eric Johansson (neku)
Certified lazy bum.
Eric Johansson (neku)
Basic anonymous and registered upload storage for temporary share file self hosted.

TMPShareX Basic anonymous and registered upload storage for temporary share file self hosted. Server Requirement PHP 7.4.8 [Support PHP 8] Nginx 1.19.

Sandy Hermansyah 1 Feb 3, 2022
Simple file uploading, Pomf like

Pomf-0x80 Simple file uploading, Pomf like. Features One click uploading, no registration required IPFS Upload + Pin A minimal, modern web interface D

Iqbal Rifai 4 Apr 28, 2022
A lightweight file manager with full ShareX, Screencloud support and more

XBackBone is a simple, self-hosted, lightweight PHP file manager that support the instant sharing tool ShareX and *NIX systems. It supports uploading

Sergio Brighenti 751 Jan 8, 2023
PictShare is an open source image, mp4, pastebin hosting service with a simple resizing and upload API that you can host yourself.

PictShare is an open source image, mp4, pastebin hosting service with a simple resizing and upload API that you can host yourself.

Haschek Solutions 709 Jan 3, 2023
FileNamingResolver - A lightweight library which helps to resolve a file/directory naming of uploaded files using various naming strategies

FileNamingResolver - A lightweight library which helps to resolve a file/directory naming of uploaded files using various naming strategies

Victor Bocharsky 111 May 19, 2022
FIle Uploader is a php package to aid fast , easy and safe file upload

FILE UPLOADER FIle Uploader is a php package to aid fast , easy and safe file upload installation composer require codad5/file-helper Features Fast an

Aniezeofor Chibueze Michael 2 Sep 3, 2022
Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.

Documents ・ Installation ・ Integration ・ Config ・ Customization ・ Events ・ Upgrade ・ Demo ・ FAQ Features File upload and management Uploading validati

UniSharp 1.9k Jan 1, 2023
Upload File Library For PHP ( Simple & Easy User )

Upload File Library For Backend/ServerSide PHP ( Simple & Easy For Use ), Support Multiple Upload

Lamhot Simamora 1 Oct 12, 2021
Private file storage and share with user build with laravel and vue inspired by google drive

LaravelDrive is a file storage system that allows store private file and share with users build wiht laravel and vue inspired by google drive. Laravel

Shahadat Hossain 70 Dec 22, 2022
Detects file type by filename or content and generates correct mimetype.

FileTypeDetector Files type detector based on file name extension or file content (binary content). Usage Installation Supported formats Usage File Ty

Sergey 31 Oct 6, 2022
kodbox is a file manager for web. It is a newly designed product based on kodexplorer.

kodbox is a file manager for web. It is a newly designed product based on kodexplorer. It is also a web code editor, which allows you to develop websites directly within the web browser.You can run kodbox either online or locally,on Linux, Windows or Mac based platforms

warlee 1.2k Jan 7, 2023
Watch changes in the file system using PHP

Watch changes in the file system using PHP This package allows you to react to all kinds of changes in the file system. Here's how you can run code wh

Spatie 170 Dec 25, 2022
File manager module for the Lumen PHP framework.

Lumen File Manager File manager module for the Lumen PHP framework. Please note that this module is still under active development. NOTE: Branch 5.1 i

Digia 40 Aug 20, 2022
A web based file manager,web IDE / browser based code editor

KodExplorer Update to kodbox: https://github.com/kalcaddle/kodbox Download | Demo It is recommended to use a new design upgrade product:kodbox 该项目处于维护

warlee 5.8k Jan 3, 2023
🛬🧾 A PHP8 TacView ACMI file format parser

A PHP8 TacView ACMI file format parser This package offers parsing support for TacView ACMI flight recordings version 2.1, it follows the standard des

Ignacio Muñoz Fernandez 1 Jan 18, 2022
Creating a file uploader with Laravel

File-Uploader File uploader is a simple group of restful APIs built in Laravel to upload file into a server and remove the file from that server. Tool

AmirH.Najafizadeh 4 Jul 31, 2022
Gotipath Storage is a file storage library for PHP. It provides one interface to interact with FTP/SFTP.

Gotipath Storage is a file storage library for PHP. It provides one interface to interact with FTP/SFTP. When you use this package, you're protected from vendor lock-in, That mean you can connect to any FTP/SFTP storage. Also it's comes with base URL option to connect Gotipath CDN.

Gotipath 2 Nov 3, 2021
PHPProject is a library written in pure PHP that provides a set of classes to write to different project management file formats

PHPProject PHPProject is a library written in pure PHP that provides a set of classes to write to different project management file formats, i.e. Micr

PHPOffice 192 Dec 17, 2022