Epic Hub Complete DocumentEpic Hub Complete Document
A production-ready Python SaaS web application designed for automated enterprise document workflows and digital asset management. Recently UpdatedEpic Hub Complete Document
A production-ready Python SaaS web application designed for automated enterprise document workflo...
Overview
Epic Hub is a comprehensive digital asset management and production platform built on top of Python Flask and SQLite. Developed by Mohamed Zedan (Z TECH), it provides businesses and creators with a secure, cloud-ready ecosystem to streamline internal document lifecycles and advanced media processing tasks.
Key System Architecture:
- Complete User Workspace: Secured via Flask-Login infrastructure and encrypted data nodes.
- Advanced Document Hub: Server-side compilation, semantic 45-degree angle vector watermarking, multi-page layout scaling, and safe encryption parameters.
- Media Processing Sub-System: Universal image transformation algorithms with integrated neural segmentation networks for isolated background tracking and optical character characterization.
- Integrity Verification: Generates fixed cryptographic SHA-256 fingerprints to verify and prove document integrity.
- Administrative Workspace: Protected dashboard layout routing with active session validation layers for continuous platform oversight.
--- Project Directory Structure ---
The product bundle is cleanly decoupled into the following layout:
Epic-Hub-AI-Suite/
|--- Marketplace-Assets/Â Â Â Â Â Â Â # Marketing & store assets (banners, thumbnails, script screenshots)
--- Source-Code/Â Â Â Â Â Â Â Â Â Â Â # Main Production Bundle (Target ZIP for server deployment)
   |--- app.py           # Centralized routing backend engine (Flask Application)
   |--- database.db         # Embedded workspace data storage (SQLite)
   |--- requirements.txt      # Production environment cluster requirements
   |--- Documentaion of script.html # Master system deployment manual
   |--- reviewer-notes.txt     # Dedicated marketplace audit configuration logs
   |--- templates/         # Frontend HTML presentation nodes (index.html, admin.html)
   |--- static/           # Core assets (style.css, script.js, UI placeholders)
   |  --- outputs/        # Auto-generated destination folder for processed files
   --- uploads/          # Destination workspace for incoming file uploads
--- License Terms & Usage Guidelines ---
1. Regular License:
- Permitted Use: Allows installation and deployment of the application on a single (1) domain/project, either for personal use or on behalf of a single client.
- Restrictions: Strict prohibition on reselling the item, redistribution of the source files, or listing it as a standalone product. The code cannot be bundled into another template for public redistribution.
2. Extended License:
- Permitted Use: Allows deployment on unlimited domains/projects for personal or commercial use. You are permitted to distribute or sublicense the core source files as integrated modular assets of a larger, broader software application/ecosystem.
- Restrictions: The item cannot be offered for resale "as-is" or as a direct competitor to the original script.
Features
- User Registration & Authentication (Flask-Login & SQLite Database)
- Classic PDF Merger: Bind multiple PDF documents cleanly into a single unified book resource
- Universal Smart Converter: Batch transform multi-format images (.PNG, .JPG, .WEBP) into optimized output extensions
- Security Gateway: Protect sensitive legal nodes by encrypting PDFs with master access passwords
- Copyright Protection: Injection engine to draw custom text watermarks rotated dynamically at 45 degrees
- Compression Routine: Streamlines binary mesh maps to optimize net storage footprint
- AI Neural Vision: Automatic background separation using deep neural nodes (rembg)
- Blockchain Proof: Generates fixed cryptographic SHA-256 fingerprints to verify document integrity
- Isolated Administrative Dashboard with Authentication Guards
Requirements
- Python Version: 3.8 or higher
- Database: SQLite3 (Included out-of-the-box)
- Disk Permissions: Full read/write access to the application root directory (required for creating 'uploads/' and 'static/outputs/' folders).
[CRITICAL - REQUIRED LIBRARIES]
The application relies on the following core Python libraries which must be installed:
- flask & flask-login (Core web framework and session management)
- pypdf (Advanced PDF manipulation engine)
- rembg (AI neural network stack for image segmentation)
- pillow (PIL) (Advanced image rendering and asset processing)
- reportlab (Dynamic PDF canvas drawing and watermarking)
- easyocr (AI text extraction engine based on PyTorch)
- werkzeug (Security encryption utilities)
[FIRST-TIME EXECUTION WARNING]
- Outbound Internet Connection: On the very first execution of the application, an outbound internet connection is MANDATORY. The integrated AI modules (rembg / easyocr) will automatically attempt to fetch and initialize their pre-trained binary models (u2net ONNX models, approx. 40MB) directly from their official repositories.
- Hosting Resources: Ensure your hosting setup or server package has at least 1GB of available RAM and sufficient CPU metrics to prevent execution timeouts during this initial model setup sequence.
Instructions
Hello team, thank you for your feedback. Please note that Epic Hub is a fully dynamic, self-hosted SaaS application and digital asset management platform developed by Mohamed Zedan (Z TECH). It includes a complete backend user database, session authentication controllers, administrative routing architecture, and full framework pipelines designed to serve as a complete standalone business workspace.Â
[NOTE FOR DEMO TESTING]: To optimize live deployment performance and bypass cloud hosting resource ceilings, the AI modules—specifically the "Background Remover" and "AI OCR Text Extraction"—are actively running in a pre-configured SIMULATION MODE on this live link. The production source code bundle included in the target deployment ZIP file contains the full, uncapped offline neural network execution layer and all trained ONNX models.Â
Additionally, please ensure your staging network allows outbound connections during the initial local setup to download the ONNX model layer (~40MB) for the rembg framework. Thank you for your review!
--- Pre-Deployment Review ---
* IMPORTANT: Before initiating any installation, please review the following files included in the root directory:
 - 'reviewer-notes.txt': Contains dedicated marketplace audit configuration logs and essential environment notes.
 - 'Documentaion of script.html': Master system deployment layout manual for detailed architecture breakdowns.
--- Package Structure ---
Before deployment, note that the root directory contains 'Marketplace-Assets/' for store previews and 'Source-Code/' which contains the actual operational web app files. All execution steps below must be performed inside the 'Source-Code/' directory.
--- Local Deployment ---
1. Extract the main product ZIP file.
2. Open a terminal and navigate strictly into the project directory: cd Epic-Hub-AI-Suite/Source-Code
3. Install required library clusters: pip install -r requirements.txt
4. [CRITICAL INITIALIZATION]: Ensure your network infrastructure remains connected to the internet during your initial execution cycle. The engine must safely fetch the binary neural network model configuration layer (u2net / ONNX model, roughly 40MB) directly to your local workspace environment.
5. Initialize and fire up the engine by running: python app.py
6. Open your web browser and navigate to http://127.0.0 to access the application. All future queries will calculate instantly and operate entirely offline.
--- Production/cPanel Deployment ---
7. Setup a Python WSGI Application through your cPanel control interface.
8. Upload and extract the contents of the 'Source-Code/' directory directly into your assigned application root node.
9. Add the core dependencies from your requirements.txt file and click install via the cPanel Python app selector.
10. Ensure that the 'static/outputs/' and 'uploads/' directories inside the root structure have correct writing permissions (chmod 755) to allow dynamic file processing.
11. [Cloud Architecture Note]: Ensure your production hosting package provides outbound handshake permissions and a minimum of 1GB RAM to prevent initialization timeouts during the first model download.
Other items by this author
| Category | Scripts & Code / Python |
| First release | 22 July 2026 |
| Last update | 22 July 2026 |
| Files included | .py, .css, .html, .db, Javascript .js |
| Tags | python, web app, flask, watermark, image converter, SaaS, pdf merger, pdf encrypt, pdf compress, bg remover, easyocr, sqlite3, sha-256, document suite, cloud asset |








