Fix a static or animated image to match Discord's widget corner and strip style
Batch process images from the command line with automatic sizing
Preview and adjust an image visually using the desktop app before saving
| ajaxfnc-yt/d.w.i.f | alanhuang168/ai-project-workflow | exportanything/comfyui-ltx-director-motion-brush | |
|---|---|---|---|
| Stars | 17 | 17 | 17 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 2/5 | 3/5 | 3/5 |
| Audience | developer | developer | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
The desktop app needs the Rust toolchain, and Windows needs Visual Studio Build Tools with C++ support.
D.W.I.F., short for Discord Widget Image Fixer, is a small tool that fixes up images meant for Discord widgets. It adds a transparent strip along the top and rounds the top right corner of an image, matching the shape Discord expects for that kind of widget. The tool works both as a command line program and as a small desktop app built with Tauri, and it supports PNG, WEBP, and GIF files, including animated ones. The command line version is the simplest way to use it. Running it with an image file automatically figures out the right strip size and corner rounding based on the image's dimensions, then saves the fixed version into an output folder. If you run it with no arguments, it asks you which file to use and what to name the result. You can also set the strip size and corner radius yourself instead of relying on the automatic calculation, and there is a help command that lists all the options. The desktop app adds a file picker for PNG, JPG, WEBP, and GIF images, a live preview of the result, a progress bar for processing, adjustable strip and radius controls, and a download button to save the finished image anywhere. Large GIF and animated WEBP files can take longer to process, and the app reports progress frame by frame while working on them. Generated files are saved into a local output folder first, matching the command line tool's behavior. To use the tool you need Node.js version 18 or newer. The desktop app additionally needs the Rust toolchain, and on Windows it needs Visual Studio Build Tools with C++ desktop development support installed.
A small CLI and desktop tool that reshapes images to fit Discord's widget style by adding a transparent top strip and rounded corner.
Mainly JavaScript. The stack also includes JavaScript, Node.js, Tauri.
The explanation does not state a license for this project.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.