Code Monkey home page Code Monkey logo

curload's Introduction

img

curload

curload is a simple file uploading site allowing users to upload files.

Features

  • File uploading (with or without an account)
  • Account system, including administrators, temporary accounts and registering
  • Administration tools, useful for creating accounts, moderating files and more.
  • Modern user interface, customizable through CSS, PHP and JavaScript.
  • User pages, useful for terms of service, privacy policy, rules, etc.
  • GPL licensed (no proprietary software here)

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

When no admin key is set up, you'll be prompted to create a primary admin key. The primary admin key is able to do absolutely everything, while normal admin keys are able to do everything except view and modify other administrators.

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.

Examples

See examples/ for some useful PHP example scripts.

License

GNU Affero General Public License version 3.0. See COPYING for details. The font included is called Noto Sans, and is licensed under the SIL Open Font License. See OFL.txt for copyright details.

curload's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.