mirror of
https://github.com/jehna/humanify.git
synced 2026-05-09 06:55:55 +03:00
[GH-ISSUE #509] Feature Request: Add option to specify custom output filename (not just directory) #87
Labels
No labels
bug
enhancement
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/humanify#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NoahTheGinger on GitHub (Jun 30, 2025).
Original GitHub issue: https://github.com/jehna/humanify/issues/509
Current Behavior
Currently, humanify only allows specifying an output directory with
-o, and the output file is always nameddeobfuscated.js:Problem
This makes it difficult to:
Proposed Solution
Add a new option (e.g.,
--output-fileor enhance-o) to specify the complete output path including filename:Use Case Examples
Alternative
If changing the CLI is not preferred, even just preserving the input filename would help:
Would love to hear your thoughts on this! Happy to help implement if you think it's a good addition.
@0xdevalias commented on GitHub (Jun 30, 2025):
I haven't looked at this for a while, but off the top of my head I believe it's done this way because if you're unpacking a webpack chunk/similar it creates multiple files.
The main part that handles the unpacking/etc comes from
webcrack; and I think it might be it that sets that filename even (though can't remember for sure off the top of my head)@0xdevalias commented on GitHub (Jul 1, 2025):
See also:
Edit: I left a number of review comments on that PR, including:
In particular, that last review comment has a bit more of a deep dive and some of my thinking on how this could be implemented, and what might make sense to do with it.