Skip to content

Cyruss-11/DC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 File Collection System

English | 中文

A simple and efficient file collection system for homework submission and file gathering.

PHP Version License Status

✨ Features

🔧 Admin Dashboard

  • Create Collection Page
    • Set title, collector, and deadline
    • Customize announcement content and title
    • Restrict file formats (customizable)
    • Auto-generate 4-digit random short links
  • Management Functions
    • View all collection pages
    • One-click copy/open collection links
    • View submission details
    • Download all files
    • Delete collection pages
    • Modify collection information

📝 Collection Page

  • Information Display
    • Clear title and collector information
    • Deadline countdown
    • Formatted announcement content
    • Supported file format tips
  • File Submission
    • Name validation
    • File format validation
    • Real-time upload feedback
    • Support for same-name file replacement
  • User Experience
    • Modal window prompts
    • Elegant animations
    • Friendly error messages
    • Complete mobile adaptation

🛠️ Tech Stack

  • Frontend

    • HTML5
    • CSS3
    • JavaScript (Vanilla)
    • Noto Sans SC Font
  • Backend

    • PHP 7.0+
    • JSON Data Storage
    • File System Management

📁 Directory Structure

├── admin.php          # Admin dashboard
├── index.php          # File collection page
├── upload.php         # File upload handler
├── details.php        # Submission details page
├── style.css          # Global styles
├── data.json          # Data storage
└── uploads/           # Upload directory
    └── {collection_id}/  # Files for each collection

🚀 Quick Start

  1. Ensure server supports PHP 7.0+
  2. Upload all files to web directory
  3. Make sure uploads directory is writable
  4. Access admin.php to start using

📌 Notes

  • This project is still in demo stage
  • Security assessment recommended before production use
  • Can be modified and extended according to needs
  • Currently uses JSON file storage, database recommended for large-scale use
  • User authentication system not yet implemented

🔮 Future Plans

  • Add user authentication system
  • Support database storage
  • Batch download functionality
  • File preview feature
  • More customization options

📝 License

This project is for learning and research purposes only.

🤝 Contributing

Suggestions and improvements are welcome!


🌟 If you're interested in this project, feel free to explore and improve it!

About

Document collection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published