An open API service indexing awesome lists of open source software.

https://github.com/brizandrew/file-archive

Stores file references with ID's and admin-determined tags that are then retrieved by searching with those tags.
https://github.com/brizandrew/file-archive

Last synced: about 2 months ago
JSON representation

Stores file references with ID's and admin-determined tags that are then retrieved by searching with those tags.

Awesome Lists containing this project

README

        

# file-archive

#### Description
The file-archive is an SQL database dependent system that stores file references as IDs with relevant tags. These tags are predetermined by a system admin through the admin portal. In version 1.0, the system does not hold the actual files themselves. Those are to be stored somewhere else with just the ID number.

*Note: This system was originally built to be used with video files. For that reason some variable names or html IDs might reference this original design. I switched the front end names from "Video" to "File" when I realized this could be used for any file. The back end references will be removed in a future update.*

#### Setup
1. Install files on host server.
2. Update variables in database.php with your server information.
3. Update "password" variable inside admin.php to setup an admin password.

#### How It Works
##### Looking Up Files
Files are searched by tags. A searcher inserts tags by either typing in letters and using the autocomplete to select a tag or by clicking browse and choosing from a list (if they are typed, they must be separated by a comma).

##### Archiving Files
Files are stored on either another server or local folder. Tags can be applied to that file reference through the archive tab. Apply tags the same way you would to search for a file. If you wish to apply a tag that has not been added by a system administrator, you can request that a tag be added to your video by clicking the "Request Tag" button.

##### Managing Tags
A system administrator can log in by clicking the "Admin Login" link at the bottom of the page. After entering a password, the admin will be brought to the admin panel. Here the admin can manage requests by either approving or declining them. The admin can also add tags manually through the "Add Tag" form.