No description
  • TypeScript 87.1%
  • Nix 12.9%
Find a file
dedestem 7c84c08a2f
All checks were successful
Test / validate (push) Successful in 59s
Chore: Fix workflow
2026-10-16 12:35:00 +02:00
.forgejo/workflows Chore: Fix workflow 2026-10-16 12:35:00 +02:00
src Chore: Fix workflow 2026-10-16 12:35:00 +02:00
.envrc Chore: Setup bun 2026-10-16 00:54:40 +02:00
.gitignore Chore: Add nix release 2026-10-16 12:21:04 +02:00
bun.lock Chore: Add nix release 2026-10-16 12:21:04 +02:00
flake.lock Chore: Setup bun 2026-10-16 00:54:40 +02:00
flake.nix Chore: Add nix release 2026-10-16 12:21:04 +02:00
package.json Chore: Add nix release 2026-10-16 12:21:04 +02:00
readme.md Chore: Fix typo 2026-10-16 12:23:13 +02:00
tsconfig.json Chore: Setup bun 2026-10-16 00:54:40 +02:00

Easy convert

Makes converting files easy.

easyconvert inputfile.jpeg outputfile.png

Auto detects the wanted format from the outputfile file extension!

Installation (Nix)

Run directly via Flake

nix run git+https://git.davidnet.net/david/easyconvert -- inputfile.jpeg outputfile.png

Temporary shell environment

nix shell git+https://git.davidnet.net/david/easyconvert
easyconvert inputfile.jpeg outputfile.png

Include in Flake outputs

Add easyconvert to your inputs in flake.nix:

{
  inputs = {
    easyconvert.url = "git+https://git.davidnet.net/david/easyconvert";
  };

  outputs = { self, nixpkgs, easyconvert, ... }: {
    # In your NixOS or Home Manager configuration:
    # environment.systemPackages = [ easyconvert.packages.${system}.default ];
  };
}

Flags

  • -h, --help: Displays usage information and available flags.
  • --remove-original: Deletes the inputfile after successful conversion.
  • --overwrite-output: Overwrites the outputfile if it already exists.
  • --silent: Suppresses success output messages.
  • --verbose: Prints detailed conversion progress for debugging.