Can embed any file in a PNG/WebM/GIF/JPEG and upload it to a third-party host through 4chan
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
coomdev e58343db34 Add Perceptual-hash filter option 2 years ago
.vscode Add Perceptual-hash filter option 2 years ago
src Add Perceptual-hash filter option 2 years ago
.eslintignore Tentative webm embedding support 2 years ago
.eslintrc.cjs streaming performance 2 years ago
.gitignore Add Perceptual-hash filter option 2 years ago
ACK.webp Version check 2 years ago
README.md Update readme 2 years ago
ack.png update readme and some config 2 years ago
build.js add resource 2 years ago
esbuild.inject.js build 2 years ago
extheader.js Added support for other FoolFuuka-based archives (tested only on archived.moe) 2 years ago
eye.png more illust 2 years ago
main.d.ts Add Perceptual-hash filter option 2 years ago
main.meta.js Add Perceptual-hash filter option 2 years ago
main.user.js Add Perceptual-hash filter option 2 years ago
package-lock.json Add Perceptual-hash filter option 2 years ago
package.json Add Perceptual-hash filter option 2 years ago
screen.png Add how to 2 years ago
settings.png Update readme 2 years ago
tsconfig.json update readme and some config 2 years ago

README.md

PNG Extra Embedder (PEE)

Subsequently 'lolipiss' (LOL I pWant iTo sKill sJannies)

Can embed any file in a PNG/WebM/GIF and upload it to a third-party host through 4chan. Requires a userscript manager, such as ViolentMonkey. It should work with 4chan's native extension but 4ChanX is highly recommended as it is much more tested. Also supports desuarchive.

How to Install

How to Build

(You only need to care about this section if you're auditing the code or contributing to development)

npm i and npm run build then install the generated main.user.js

How to use

Posts with an embedded image/video will have an colored dashed line on their right. Golden means the file is external (ie. a booru), and pink means it was a file embedded in the post file.

eye this screenshot is outdated, UI has changed a little but I'm too lazy.

In the quick reply form, a magnet icon will appear. Clicking it will allow you to add files to attach to the file that will be uploaded and shown on 4chan. Hovering on the magnet will reveal a pencil icon, that will attach the content of your message box to the file, use it as a way to hide messages. And finally a checkmark that will do the uploading, make sure to have selected the file you'll post on 4chan beforehand.

qr

By default, you can add up to 5 attachments to a file. This limit can be raised, but keep in mind others using the default settings will only see your 5 first files, unless they themselves raised that limit in the settings.

TroubleShooting

It doesn't work

I can't help if you don't give me any information, see below. As mods are banning any kind of discussion about this extension, please open an issue on this repository. Account creation is quick and requires no email verification.

"I am using [BROWSER] and [USERSCRIPT MANAGER] and when I do [X]..."

That's better. Officially, all developpment is made and tested on latest Chromium with VM. I'm willing to provide support and help for FF and other Chromium-based browsers as long as you use ViolentMonkey and provide as much information as you can: console logs, screenshots, versions...

Something else

Open an issue on this repository, you need an account but email verification is disabled.

It's slow

The slowest machine I have available is an 8GB 2011 Sandy Bridge i5 with a 1660Ti, the only way I can tell something is slow is if you post a performance profile for me to study. (DevTools > Performance > Reload and Start Profiler > Save Profiler).

There are parts where slowness is unavoidable, for example if you have a slow internet connection and enabled preloading (wtf are you doing?).

Even without preloading enabled, PEE still makes many requests at the start of a page as it fetches a small initial chunk of png/webm/gif files to know if something is embedded in there, only progressing further when something is detected. It also does boorus/catbox requests for the corresponding filenames.

Why is it so big

The file-type detection package is huge as it detect many file types, but also depends on node constructs that are also huge by themselves. There's also a webm parser that's relatively big that's used for embedding/extracting files in/from webms. There's also the svelte UI that compiles down to simple javascript.

How do I know it's not a botnet???

You're free to audit the code. You don't have to audit the 18000 loc file, you just need to audit the 2000-something lines of typescript code in the src folder, build it as instructed, and compare it to the one distributed. If you're incapable of doing that, chances are you're already using unauditable extensions with backdoors anyway? dumb schizoposter.

I heard about [Bad thing]

Disingenuous misinformation, probably a covert seething janny.

1 - Embedding files is not possible in a practical way anymore, so what is embedded are simply links, which are outside 4chan's juridiction (not my problem if they decide to make it theirs)

2 - No CP was ever posted, the worst it got were clothed children posing and a fatty pig-faced kid dancing. 4chan is an NCMEC partner, so even if you don't post CP directly to 4chan, you can (and will) still get reported to local authorities, as they have basically a direct communication line with them. That's why no one posted CP even when embedding was a thing, it's just a retarded thing to do. People telling you CP was posted are either purposefully lying, or are confusing drawn images (loli) with actual child porn. Guess which one is the most likely on 4chan of all places?

3 - The virus in a png thing happened once, it was created just to trigger antivirus alerts on windows, it can't do anything unless you explicitly saved the file and renamed it as a .exe and double-clicked on it. Good luck with that.

4 - It's not steganography, it's embedding in file metadata, it doesn't touch the original pixels. Older method appended data in critical pixel chunks that wasn't interpreted by decoders.

5 - PEE is not malicious, but don't take my word for it, you have the source code (2000loc) to build it yourself, and builds are binary-replicable.

But embedding is a bannable offense!!!11

Yeah, well use at your own risk, you dumb nigger cattle.

While it is true PEE used to allow you to embed complete files in your uploads, recent changes have made it much less practical (limited to really small files), so it's falling back to linking external content hosted on pomf-clones such as catbox.

Links are much smaller and as some PNG editing software injects their own metadata, 4chan is basically required to allow some little amount of it to go through, lest they inconvenience a lot of their users, so a link-embedding detection method cannot be generalized, meaning they rely on unpaid janny labor to moderate this kind of content.

Embedding is banned because it can be used to make 4chan host illegal content, but in its present form, this extension only LINKS external content, but it seems like jannies can't get this through their thick skulls and make the world's problems their own, truly worthy of an hero.

Just be discreet about it and you won't get into trouble.

Fuck jannies

/cumg/ threads are still banned despite being tolerated for over a year and the current ones being made not breaking any rule or even daring to thread on a grey line.

Their OPs are wrongfully being banned under the pretense of using proxies/VPNs, or evading bans that didn't exist in the first place.

Supports

Third Eye

Third eye filenames are supported. Filename just need to be made of 32 hex characters that correspond to a filename in any of the supported boorus.

Catbox

Supports:

  • Base64 filenames
  • [<host>=<file>] filenames
  • [<type>=<URL>] filenames (URL must be one of the supported hosts (catbox, pomf, zzzz...))
  • <6char file>(.<ext>) filenames