Skip to content

abeliansoup/garbagefire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Garbage Disposal for X

Chrome extension for X/Twitter that intercepts overlong post attempts and detonates them with a WebGL disposal sequence.

What it does

  • Watches X/Twitter composers on x.com and twitter.com
  • Checks the composer text on the post button's pointer/click path and on form submit
  • Checks Cmd+Enter / Ctrl+Enter send shortcuts too
  • Triggers the full disposal effect manually with Shift+Enter while the composer is focused
  • Prevents the send when the composer text is longer than 280 characters
  • Plays a GPU-rendered presentation of a DOOM-style palette-fire simulation and explodes the draft into shader-driven text confetti
  • Clears the composer during the animation so the box is empty by the time the sequence finishes

Load it in Chrome

  1. Open chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select this folder

Notes

  • The extension counts the raw visible text in the composer, not X's full weighted tweet-length rules.
  • Character counting uses grapheme segmentation when the browser supports it, so emoji-heavy drafts count more naturally than raw string.length.
  • The render path is self-contained: one renderer.js WebGL content script plus the event-hooking logic in content.js.
  • The text particles now burst once and then fall under gravity with a lighter confetti-style drift instead of free-form ember noise.
  • If WebGL fails to initialize in the page context, the extension still shows the stamp/counter overlay, but the high-fidelity fire/particle pass will be missing.
  • Shift+Enter is reserved as a demo trigger in the composer and will not insert a newline.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors