Judifly

Personal project · Juditech3D

A homemade mini-Netlify, on shared hosting.

Judifly creates a site (subdomain, database, certificate), deploys it on every git push and manages it from a secure dashboard. No Docker, no root access, no VPS.

See how it works Security and quality

  • Node.js
  • Laravel
  • Static sites
  • MySQL · PostgreSQL
  • GitHub Actions
  • MCP
Create a site from the terminal
$ judifly new blog --type laravel --db mysql
→ project folders and files
→ subdomain blog.example.com
→ mysql database
→ HTTPS deployment token (limited to this project)
✔ Project ready: https://blog.example.com
The Judifly dashboard: the list of sites with their deployment status.
  • 66automated tests
  • 24defects injected on purpose, all caught
  • 0dependency to install
  • 3site types: Node.js, Laravel, static

The challenge

Platforms like Netlify or Vercel assume a paid service or a server you control. Shared hosting is the opposite.

What it offers

  • Cheap and all-inclusive
  • Several sites, databases, mailboxes
  • Nothing to administer

What it lacks

  • No Docker, no root access
  • SSH filtered by IP address
  • Certificates and firewall to work around

What Judifly adds

  • One command to create a site
  • Automatic deployment from GitHub
  • Dashboard, 2FA, API for AI assistants

How it works

Five steps from git push to a live site. SSH is not one of them: the host filters it by IP address, while GitHub’s servers change address constantly.

  1. git push

    You send your code to GitHub, as usual.

  2. GitHub Actions

    Install, build and test, on GitHub’s servers.

  3. Upload over HTTPS

    The archive goes to the Judifly API with a token that belongs to this one project.

  4. Check and deploy

    The archive is verified, then deployed in the background. The log comes back to GitHub.

  5. Site is live

    The new version is served within seconds; rollback is available.

Under the hood: a shell command (judifly), the cPanel APIs and CloudLinux’s Node selector to create subdomains, databases and applications, and a dependency-free Node application that receives deployments.

What the tool does

Designed so that non-technical teammates can deploy on their own, without ever opening a terminal.

A site in a few clicks

Name, site type, database: a preview shows exactly what will be created before it is. Because a subdomain cannot be deleted from the command line, creation insists: the address shown large, a checkbox and the name to retype, all checked on the server.

“New site” page: a warning that the name is permanent, the permanent address shown large, a checkbox and a confirmation field.

A step-by-step guide for beginners

To connect GitHub: five steps with the links already filled in, a button to copy the deployment file, and the token revealed only after retyping your password. No SSH needed.

A site page: numbered steps to connect GitHub, with copy buttons and the deployment history.

Two-factor authentication

6-digit codes compatible with common authenticator apps, a QR code to scan, eight single-use recovery codes. Mandatory for administrators.

Two-factor setup: a QR code to scan and a field for the confirmation code.

An API for AI assistants, with guardrails

A documented REST API (OpenAPI) and an MCP server. One token per AI, read-only by default, shown once and revocable, with a detailed step-by-step for the chosen AI. An AI can never delete a site or read a key or a password.

API tokens page: a token shown once and a detailed step-by-step for the chosen AI.

Accounts, per-site access, audit log

Each member only sees their own sites. The administrator creates accounts, grants access, removes a lost two-factor setup, answers help requests and reads a log that never contains a secret.

“Accounts” page: accounts, roles, two-factor status and per-site access.

Also

  • Automatic deployment on every push
  • History and logs of every deployment
  • Rollback to the previous version (Laravel)
  • MySQL or PostgreSQL databases created with the site
  • Node.js, Laravel (PHP) and static sites
  • Deployment token renewable in one click

Security

A tool that creates sites and deploys code deserves to be treated as such. Every point below is covered by an automated test.

Passwords

Hashed with scrypt, a unique salt per account, never stored or logged.

Brute-force protection

15-minute lockout after 5 failures, per username, even a non-existent one: no way to guess which accounts exist.

Sessions

HttpOnly, Secure, SameSite=Strict cookie. The long random identifier is only kept as a fingerprint. Expires after 8 hours of inactivity.

Browser

CSRF protection, a strict content security policy (no inline script or style), automatic escaping of everything displayed.

Two-factor authentication

A code works only once, wrong codes count toward the same lockout, recovery codes are hashed. Mandatory for administrators.

Narrow-scope tokens

A deployment token deploys only its own project. AI tokens carry explicit rights, are hashed and revocable immediately.

Archives are checked

Path traversal, symbolic or hard links, excessive size: refused before any extraction.

What an AI cannot do

Delete a site, read a deployment key, an environment file or a password. This is not a politeness rule: those actions do not exist in the API.

Traceability

Every action is logged (who, what, outcome), without ever writing a secret.

Quality

Knowing it works takes more than passing tests.

Automated tests

API, dashboard, two-factor authentication and QR codes, replayed on the server’s own Node version.

Defects injected on purpose

Remove a validation, a permission check, a limit: a test must fail. Every one did.

Real-world runs

Creation, deployment from GitHub, deletion and a check that nothing is left behind, on the production server.

A real browser

It found a defect the tests could not see: every real login was refused.

QR codes read back

By a separately written decoder: error correction, format bits and zigzag reading.

Nothing to install

The application has no dependency to install; the single embedded library (QR code) is MIT-licensed and documented.

Field lessons

What really held up while building the tool on a real host. Each pitfall is documented so it is not repeated.

SSH from GitHub: impossible

Symptom : The host filters SSH by IP address, and GitHub has no fixed one.

Fix : Deployment over HTTPS with one token per project.

The firewall mistakes GitHub for a bot

Symptom : A 503 response and a browser check on the upload.

Fix : Rule disabled for that one domain; the API protects itself.

Self-signed certificate at first

Symptom : A new subdomain has no real certificate right away.

Fix : Free certificate issued from cPanel; verification is never switched off.

Every login refused

Symptom : A privacy header made browsers send “Origin: null”.

Fix : Policy adjusted and the check based on Sec-Fetch-Site. Only seen in a real browser.

Error 500 on Laravel

Symptom : Per-site PHP mode refuses group-writable folders.

Fix : Permissions removed on every deployment.

Unreadable configuration file

Symptom : A global permission mask made a .htaccess unreadable: a 403 error.

Fix : Permissions set file by file.

A process that ignores the stop signal

Symptom : The application manager rewrites its own process title.

Fix : A search pattern without an end anchor.

A test that tested nothing

Symptom : An environment variable never reached the program under test.

Fix : Defects injected on purpose revealed it.

Technology

  • Dependency-free Node.js 20
  • Shell (the judifly command)
  • cPanel and CloudLinux APIs
  • GitHub Actions
  • MCP (JSON-RPC)
  • TOTP (RFC 6238) and scrypt
  • MySQL and PostgreSQL
  • Laravel (PHP 8.3)

The QR code generator comes from another project by the same author: rather than rewriting one, a proven library is reused.

Acknowledged limits

  • A subdomain cannot be deleted from the command line: the administrator goes through the host.
  • On shared hosting everything runs as the same user: reserve it for trusted teammates.
  • No “forgot password” by e-mail: the administrator resets it.
  • Connectors that require OAuth do not work: the API uses tokens.
  • Accounts and sessions are stored in files: suited to a few dozen users.

Frequently asked questions

Do I need a VPS or Docker?

No. Judifly runs on ordinary shared hosting, with cPanel and CloudLinux, without root access.

Why not SSH from GitHub?

Because the host filters SSH by IP address. Deployment goes over HTTPS, with a token that can only deploy a single project.

Can an AI delete a site or read my secrets?

No: those actions do not exist in the API. An AI gets a token with explicit rights, read-only by default.

Which kinds of sites?

Node.js, Laravel (PHP) and static sites, with a MySQL or PostgreSQL database if needed.

What if I get a site name wrong?

The subdomain is permanent: only the administrator can remove it. That is why creation asks you to retype the name.