Skip to content

⚡ Serverless mobile deployment engine. Drag, drop, and sync your workspace directly via the GitHub API.

License

Notifications You must be signed in to change notification settings

DemonZDevelopment/DemonZ-Deployer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DemonZ Development Banner

DemonZ Deployer

A serverless, zero-friction deployment engine engineered to synchronize mobile development workspaces directly to GitHub.

Build Status License: MIT Author Architecture


System Overview

Mobile development environments often generate thousands of individual files. Attempting to synchronize these local workspaces with remote version control via mobile web browsers introduces significant friction, payload limitations, and browser instability.

DemonZ Deployer resolves this bottleneck using a hybrid serverless architecture. Instead of uploading files individually, developers transmit a single compressed workspace binary (workspace.zip) via a secure, client-side interface. This action triggers an automated CI/CD pipeline that unpacks, verifies, and commits the structural changes directly to the target repository in the background.

DemonZ Deployer Icon

Repository Navigation & Access

DemonZ Deployer operates as a centralized, zero-installation tool. Access the core components and live application here:

Architectural Flow

This deployment sequence requires zero external backend infrastructure, operating entirely through the GitHub REST API and GitHub Actions runners.

DemonZ Deployer Architecture Flowchart

  1. Client Authentication: The static frontend authenticates with the GitHub API using a locally stored Personal Access Token (PAT).
  2. Payload Transmission: The compressed workspace binary is streamed directly to the repository via a PUT request.
  3. Pipeline Execution: The arrival of the payload triggers the automated extraction workflow on GitHub's servers.
  4. Structural Synchronization: The runner unpacks the payload, purges the initial archive, and executes a clean structural commit to the active branch.

Core Capabilities

Features: Mobile-First, Serverless, Security, Automation

  • Mobile-Optimized Interface: A responsive frontend engineered specifically for constrained mobile displays and touch interfaces.
  • Zero-Server Infrastructure: Operates without external databases, custom workers, or hosting fees.
  • Client-Side Cryptography: Authentication tokens are stored exclusively in browser local storage and never traverse third-party servers.
  • Failsafe Automation: The extraction pipeline includes payload integrity verification and bypasses execution if structural changes are identical to the current commit.

Implementation Guide

Deploying your workspace is completely frictionless. You do not need to install applications or host this interface yourself.

1. Configure the Target Repository:

  • Navigate to the GitHub repository you intend to synchronize files with.
  • Create the following directory path: .github/workflows/
  • Copy the official deployer-pipeline.yml from this repository into that folder.

2. Execute the Deployment:

  • Open the official DemonZ Deployer Interface.
  • Input your target repository identifier (e.g., DemonZDevelopment/my-app) and your Personal Access Token.
  • Upload your workspace.zip into the UI. The pipeline will automatically handle the extraction and synchronization.

Access Token Generation

DemonZ Deployer requires a GitHub Personal Access Token (PAT) with repository write access to transmit payloads securely via the API.

Generating a Fine-Grained Token (Recommended for Security):

  1. Navigate to your GitHub profile settings.
  2. Select Developer settings > Personal access tokens > Fine-grained tokens.
  3. Click Generate new token.
  4. Assign a strict naming convention (e.g., DemonZ-Deployer-Access) and set an expiration date.
  5. Under Repository access, select Only select repositories and choose your specific target workspace.
  6. Under Repository permissions, grant Read and write access to Contents.
  7. Generate the token and store it securely.

Generating a Classic Token: If utilizing a Classic Token instead of Fine-Grained, ensure the overarching repo scope is checked during generation.

Troubleshooting & Diagnostics

If the deployment sequence fails, consult the terminal logs in the UI and reference the solutions below.

HTTP 401 / Bad Credentials: The Personal Access Token provided is invalid, expired, or was copied incorrectly. Regenerate the token following the steps above and update your client-side credentials.

HTTP 404 / Repository Not Found: The target repository format is incorrect, or your token lacks permission to view the repository. Ensure the target format is exactly OwnerName/RepositoryName (e.g., DemonZDevelopment/my-app) and verify your token scopes.

Payload Transmitted but Pipeline Fails to Trigger: Ensure the deployer-pipeline.yml file is located exactly within the .github/workflows/ directory on the default branch of your target repository. GitHub Actions will not monitor for the workspace.zip push event if the workflow file is misplaced.

Workflow Fails During Commit Phase: If the GitHub Action successfully extracts the payload but fails to push the new commit, the repository's bot permissions are restricted. Navigate to the target repository Settings > Actions > General > Workflow permissions, and ensure Read and write permissions is actively selected.

Community & Contributions

DemonZ Development actively welcomes community collaboration. We have established standard guidelines to ensure a professional and organized development environment.

  • Contribution Guidelines: Review our architectural standards and commit messaging rules before submitting pull requests.
  • Issue Tracking: We utilize standardized templates for tracking bugs and feature requests. Please navigate to the Issues tab and select the appropriate template to report diagnostic data or suggest structural enhancements.

Security Notice

This application operates exclusively as a static, client-side interface. Personal Access Tokens provided to the application are utilized strictly for authorizing requests to the official GitHub API. DemonZ Development does not collect, proxy, transmit, or store user credentials or repository telemetry.


Engineered by DemonZ Development

About

⚡ Serverless mobile deployment engine. Drag, drop, and sync your workspace directly via the GitHub API.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages