Skip to content

Highlighting the potentially hilarious flaws of modern computer translators

Notifications You must be signed in to change notification settings

albertnis/obfuscator-htmx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obfuscator

Highlighting the potentially hilarious flaws of modern computer translators

It follows the original PHP version and the SSR React rewrite which ran on Lambda. The focus of this version is simplicity: few dependencies, little custom frontend JS and a straightforward hosting setup.

It is hosted at obfuscator.albert.nz.

Running locally

This CloudFlare Pages site is statically served from src/web. The backend code is defined in src/web/_worker.js as per Pages convention. All bundling and transpilation for the backend abstracted by the wrangler dependency (CloudFlare's CLI).

Important

Ensure node is available in PATH before running. bun is used as a very streamlined test runner and package manager only; wrangler relies on Node and will fail in subtle ways if it's not available.

Run local dev server on port 8787:

bun run dev

Run unit tests:

bun test

About

Highlighting the potentially hilarious flaws of modern computer translators

Resources

Stars

Watchers

Forks