No description
- TypeScript 87.1%
- Nix 12.9%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| bun.lock | ||
| flake.lock | ||
| flake.nix | ||
| package.json | ||
| readme.md | ||
| tsconfig.json | ||
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 theinputfileafter successful conversion.--overwrite-output: Overwrites theoutputfileif it already exists.--silent: Suppresses success output messages.--verbose: Prints detailed conversion progress for debugging.