Skip to content

thezakman/DWARCE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🟥 DWARCE — Days Without An RCE

License Electron Platform Runtime deps i18n Days without an RCE

Ops

A parody of those industrial safety signs — "We've gone ___ days without a workplace accident, our record is ___ days" — but with the moral flipped: it counts the days without an RCE (Remote Code Execution).

On a factory sign, many days without an accident is good. Here it's the opposite: the longer you go without popping an RCE, the more rusty you are ("not a hacker anymore?" 💀). Sitting at 0 days means you just popped one = 🔥 sinister. Getting an RCE is a celebration (confetti + fanfare), not an alarm.

A desktop app (Electron) styled like a dark tactical HUD: an LED dot-matrix display with targeting-reticle overlays, framed by a yellow industrial hazard bezel, a chrome + glossy-red title, a live counter, a roast verdict, a "longest dry spell" record, an RCE log, two languages (EN / PT-BR) and local persistence.

Days Without An RCE — English

Dias Sem Um RCE — Português

Run

npm install   # pulls Electron
npm start

Already installed once? Just npm start.

Features

  • ⏱️ Rust meter — days since your last RCE, ticking up on its own in real time, plus a live HH:MM:SS clock.
  • 💀 Verdict that shifts as you rust: sinister (0 days) → still sharpgetting rustynot a hacker anymore? (100+), shown as a color-coded status pill.
  • 💥 Popped an RCE! — celebration (confetti + triumphant fanfare + flash), resets the meter and logs it (optional note: CVE / target / service).
  • 🏜️ Longest dry spell — the record (inverted!): the most days you ever went without an RCE.
  • 🏆 RCE log — every RCE you popped (date/time + the dry spell it broke + note).
  • ⚙️ Adjust — seed/fix the values by hand and switch language EN ↔ PT-BR.
  • 🔊 Toggleable sound (WebAudio, no asset files).
  • 🎨 Handcrafted visuals: dark carbon/circuit substrate, yellow hazard frame with hex bolts, true LED dot-matrix panel (digits are lit cells of the same grid), HUD tech-text, chrome and glossy-red 3D lettering, and a responsive layout that scales to fit any window size.

Persistence

State lives in rce-board.json inside Electron's per-user data folder (app.getPath('userData')), so it survives updates and is never committed. It's generated on first run, and every write is atomic (writes to .tmp, then renames). Use 📁 Data (inside Adjust) to reveal the file.

Security

contextIsolation: true, nodeIntegration: false, sandbox: true and a strict CSP — an app about RCE couldn't have an RCE. 😏

Structure

main.js            main process (window + IPC)
store.js           state logic + persistence (unit-testable in isolation)
preload.js         safe bridge (contextBridge)
renderer/
  index.html       board markup + modals
  styles.css       all the visuals (dark HUD + LED dot-matrix)
  segments.js      LED dot-matrix renderer (digits are lit cells of a shared grid)
  renderer.js      UI, per-second tick, animations, i18n, responsive scaling

License

MIT

About

Days Without And RCE

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors