ClipBox is an exquisite and efficient temporary file sharing station, similar to FileCodeBox, supporting file sharing, clipboard sharing, and short link functionality. Additionally, it integrates a unique Exam Clock feature, allowing users to set exam subjects and times based on a configuration document and supporting NTP time synchronization.
- Instant File Transfer: Achieves rapid file upload through dual hash verification on the frontend and backend, ensuring data security.
- Clipboard Sharing: Supports quick sharing of text content and cross-device access.
- Short Link Service: Can convert long URLs into easy-to-share short links.
- Exam Clock: A customizable exam countdown clock that supports NTP network time synchronization to ensure precise timing.
- Lightweight and Efficient: Built on Flask, it has low resource consumption and fast response times.
- Dark/Light Mode Toggle: Supports switching between dark and light modes to suit different environments.
| Home Page | File Upload | Text Sharing |
|---|---|---|
![]() |
![]() |
![]() |
| Retrieval Code | Exam Clock | Clock Config Doc |
|---|---|---|
![]() |
![]() |
![]() |
- Temporary File Transfer: Quickly transfer files between different devices without the need to log in or install heavy applications.
- Code Snippet Sharing: Share code snippets, configuration files, or logs with colleagues or friends.
- Online Exam Timing: Provide a precise, unified network countdown clock for online exams or simulated tests.
- Temporary Link Sharing: Convert complex long links into concise short links for easy sharing on social media or messaging apps.
- Backend: Flask, Flask-SQLAlchemy
- Database: MySQL (connected via PyMySQL)
- Frontend: Native HTML, CSS, JavaScript
- Others: NTP
- Python 3.x
- MySQL
-
Clone the Repository:
git clone https://github.com/MeTerminator/ClipBox.git cd clipbox -
Install Dependencies:
pip install -r requirements.txt
-
Configure the Application:
- Modify the database connection information and other configurations in
app/config.pyas prompted.
- Modify the database connection information and other configurations in
-
Run the Application:
python main.py
The application will be running at
http://127.0.0.1:5328.
For stable operation in a production environment, it is recommended to use a WSGI server for deployment.
-
Install Gunicorn:
pip install gunicorn
-
Run the Application:
gunicorn -w 4 -b 0.0.0.0:5328 'app:create_app()'-w 4: Starts 4 worker processes.-b 0.0.0.0:5328: Binds to port 5328 on all network interfaces.
-
Install Waitress:
pip install waitress
-
Create a
run.pyfile:from waitress import serve from app import create_app app = create_app() if __name__ == '__main__': serve(app, host='0.0.0.0', port=5328)
-
Run the Application:
python run.py
We welcome contributions in any form!
- Report Bugs: If you find a bug, please submit the details through GitHub Issues.
- Feature Suggestions: If you have ideas for new features, feel free to propose them via Issues.
- Code Contribution: Please follow these steps:
- Fork this repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
This project is open-sourced under the MIT License.
- MeT-Home - MeTerminator's Homepage.





