Skip to content

mydevelopingforai-star/just-obfuscate

Repository files navigation

Just Obfuscate logo

πŸ›‘οΈ Just Obfuscate

Drop a ZIP β†’ ship sealed, unreadable, unbreakable code.

Universal code obfuscator for JavaScript, TypeScript, Python, Java, C/C++, HTML, CSS, JSON and more. 100 % client-side in the browser Β· plus a pip install justob CLI Β· plus a public HTTP API.

License Built with PyPI PWA

Features β€’ QuickΒ Start β€’ CLI β€’ API β€’ Decoder β€’ Deploy


Just Obfuscate β€” drop a ZIP and obfuscate it in the browser

✨ Features

Capability What it means
⚑ 100 % in-browser Your code never leaves the device β€” zero servers, zero leaks.
🌐 Universal Mode Obfuscate raw code snippets in 20+ languages without a ZIP.
πŸ“¦ ZIP Mode Drop a project zip β†’ sealed zip out, original tree preserved.
🧠 Smart filtering Auto-skips node_modules, .git, binaries, lockfiles. Never mangles vendor code.
🎚️ 3 profiles light Β· standard Β· maximum β€” pick your paranoia level.
πŸš€ Parallel workers Every CPU core via Web Workers β€” huge projects in seconds.
πŸ”“ Universal Decoder Strips up to 24 layers (base64 / hex / rot13 / eval(atob)) and re-beautifies output.
🐍 CLI β€” justob pip install justob β†’ obfuscate & decode from the terminal.
🌍 Public HTTP API POST /api/public/obfuscate β€” wire into CI, GitHub Actions, anywhere.
πŸ“± PWA + Share Target Install on mobile Β· share zips from your OS straight into the app.
πŸ•’ History Last 20 jobs cached locally for re-download.
πŸ” SEO-first Per-route metadata, sitemap, JSON-LD, llms.txt. Built to rank.
Feature grid

πŸš€ Quick Start

git clone https://github.com/<your-username>/just-obfuscate.git
cd just-obfuscate
bun install        # or: npm install
bun dev            # β†’ http://localhost:8080

Build for production:

bun run build
bun run start

🐍 CLI β€” pip install justob

Same engine. In your terminal. Cross-platform (Linux Β· macOS Β· Windows Β· Termux Β· Android).

pip install justob
justob CLI

Subcommands

justob obfuscate ./my-project.zip --profile maximum -o sealed.zip
justob decode ./encoded.txt --pretty
justob examples         # show every command with usage examples
justob docs             # full inline documentation

Common flags

Flag Purpose
--profile light Β· standard Β· maximum
--super-safe Safest ZIP mode; preserves risky files instead of rewriting them
--strip-console Remove console.log / print() calls
--encrypt-strings Encode every string literal
--include-skipped Keep other non-obfuscated files; node_modules is always excluded
--stdin Pipe code directly: cat file.js | justob decode --stdin
--format Decoder beautifier (auto Β· js-like Β· py-like Β· …)
--pretty Pretty-print decoded output

Run justob examples for copy-paste recipes.


🌍 HTTP API

Two free, no-key, public endpoints. Wire into any pipeline.

POST /api/public/obfuscate

multipart/form-data in Β· application/zip out. Max 50 MB.

curl -X POST https://just-obfuscate.app/api/public/obfuscate \
  -F file=@./my-project.zip \
  -F profile=maximum \
  -F stripConsole=true \
  -o sealed.zip

POST /api/public/decode

JSON in, JSON out. Iteratively strips up to 24 obfuscation layers.

curl -X POST https://just-obfuscate.app/api/public/decode \
  -H "content-type: application/json" \
  -d '{"code":"ZXZhbCgnYWxlcnQoMSknKQ==","format":"auto"}'

Returns { decoded, beautified, layers, detectedLanguage, bytesIn, bytesOut }.

HTTP API docs

πŸ”“ Decoder

A universal, multi-language deobfuscator that auto-detects encoding chains and language.

  • Strips base64 / hex / rot13 / reverse / eval(atob(...)) shims iteratively (up to 24 layers).
  • Re-beautifies for 13 syntax families (JS-like, Python-like, shell, C-like, markup, CSS, SQL, config, lisp, ML, prose…).
  • Available in browser, CLI, and API.
Universal decoder

βš™οΈ How it works

   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚  .zip   β”‚ ─► β”‚  unpack +    β”‚ ─► β”‚  obfuscate per β”‚ ─► β”‚ sealed   β”‚
   β”‚  drop   β”‚    β”‚  classify    β”‚    β”‚  language (WW) β”‚    β”‚  .zip    β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  1. Unpack the ZIP entirely in memory (no disk writes).
  2. Classify each file by extension β€” vendor / lockfiles / binaries always skipped.
  3. Obfuscate in parallel Web Workers using language-specific engines.
  4. Repack with original directory tree β†’ one-click download.

🧱 Tech stack

  • TanStack Start v1 (React 19 + Vite 7) β€” SSR-ready, edge-deployable
  • Tailwind CSS v4 with semantic design tokens
  • shadcn/ui primitives + custom glass-morphism layer
  • Web Workers for parallel obfuscation
  • JSZip for in-browser archive handling
  • Service Worker for PWA + Web Share Target
  • Python 3.8+ CLI published to PyPI as justob

β–² Deploy

Vercel-ready out of the box (vercel.json included).

Deploy with Vercel

  1. Push to GitHub.
  2. Import the repo in Vercel.
  3. Click Deploy. No env vars required.

Also runs on Cloudflare Workers, Netlify, or any Node 20+ host.


πŸ“ Project structure

just-obfuscate/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ routes/              # File-based routing (TanStack)
β”‚   β”‚   β”œβ”€β”€ index.tsx        # Universal mode (homepage)
β”‚   β”‚   β”œβ”€β”€ zip.tsx          # ZIP project mode
β”‚   β”‚   β”œβ”€β”€ universal.tsx    # Snippet mode
β”‚   β”‚   β”œβ”€β”€ decoder.tsx      # Universal deobfuscator
β”‚   β”‚   β”œβ”€β”€ cli.tsx          # CLI docs
β”‚   β”‚   β”œβ”€β”€ api.tsx          # HTTP API docs
β”‚   β”‚   └── api/public/      # Public HTTP endpoints
β”‚   β”œβ”€β”€ components/          # UI components (glass, header, copy-block…)
β”‚   β”œβ”€β”€ lib/                 # Obfuscation + deobfuscation engines
β”‚   └── styles.css           # Tailwind v4 + theme tokens
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ pkg/justob/          # Python CLI source (PyPI package)
β”‚   β”œβ”€β”€ share-sw.js          # Share-target service worker
β”‚   └── llms.txt             # Machine-readable site summary
└── docs/screenshots/        # README & social previews

πŸ”’ Privacy

Nothing leaves your browser in the web app. No analytics on uploaded files. No telemetry on your code. The HTTP API processes ZIPs in-memory and immediately discards them β€” no storage, no logs of file contents.


πŸ“€ Publishing

CLI to PyPI

cd public/pkg/justob
python publish.py            # prompts for your PyPI token once and saves it

Site to your own GitHub repo (and Vercel)

A ready-to-run pusher is included β€” see scripts/push_to_github.py:

python scripts/push_to_github.py

It strips internal/build files, sets your identity (no bot author), and force-pushes a clean tree to your repo.


🀝 Contributing

PRs welcome β€” fork, branch, hack, open a PR. Keep commits atomic.


πŸ“œ License

MIT Β© Just Obfuscate


Built with πŸ›‘οΈ by the Just Obfuscate team

If this saved you time, drop a ⭐ on the repo.

About

πŸ›‘οΈ Just Obfuscate β€” universal code obfuscator + decoder. Web app, pip CLI (justob), and free HTTP API. JS/TS/Python/Java/C/HTML β€” 100% client-side, no signup, no servers.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors