keyload/README.md
2023-10-01 17:27:47 +02:00

38 lines
1.1 KiB
Markdown

# curload
curload is a simple file uploading site allowing users to upload files by
authenticating using a key.
## Dependencies
- php
- sqlite3
- Web server (optional, sort of)
- On Gentoo, you'll need to enable USE flag `sqlite` for package `dev-lang/php`
in case you're testing locally using `php -S`.
- On Debian, you'll need to install the appropriate Apache
plugin if you want to use Apache.
## Installation
1. Set up a web server with php and sqlite3
2. Point it to `index.php`
3. Create a admin primary key using `sqlite3`
## Hacking
To hack on curload, you can modify `config.ini`. This is a configuration file
that contains all the default options. You can also add pages. You can do this
by creating a PHP script (see `about.php` for an example) as well as a
`.name` file.
You can modify all of the PHP, but I've tried to keep it sort of user friendly.
It is possible to style curload by using CSS classes and IDs. It is also
possible to include JavaScript, although none is used by default.
## License
GNU Affero General Public License version 3.0. See `COPYING` for details.