]> jfr.im git - uguu.git/blame - README.md
Update README.md
[uguu.git] / README.md
CommitLineData
35bc7430 1# About
e8d1d3f5 2[Uguu.se](http://uguu.se) source code, stores files and deletes after 1 hour.
8805b1c1
GJ
3
4# Install
87451310 5Tested with Nginx+PHP5-FPM (PHP 5.4) on Debian 7 Wheezy and Apache (PHP 5.4) on Ubuntu 14.04 LTS
8805b1c1
GJ
6
7Modify core.php where to save the files, add check.sh to Cron, edit everything else to your likings.
8
35bc7430
GJ
9Change php.ini and nginx.conf settings to allow bigger uploads.
10
87451310
GJ
11Make the rain/cache/ directory writable to whatever webserver you use.
12
8805b1c1
GJ
13# Todo
14
15Proper design, commit new design and updated code (when finished, in preview phase).
67a54d5c
GJ
16
17
18# Using the API
19
67a54d5c 20 Leaving POST value 'name' empty will cause it to save using the original filename.
a7aa2c74 21 Leaving POST value 'randomname' empty will cause it to use original filename or custom name if 'name' is set to file.ext.
67a54d5c
GJ
22
23 Putting anything into POST value 'randomname' will cause it to return a random filename + ext (xxxxxx.ext).
24 Putting a custom name into POST value 'name' will cause it to return a custom filename (yourpick.ext).
92da2e3c
GJ
25
26
27This will probably get changed later since it's messy and unpractical.
3c2df123
GJ
28
29# Contact
30
31[neku@pomf.se](mailto:neku@pomf.se) or [@Nekunekus](https://twitter.com/nekunekus).