[PR #510] [CLOSED] feat: Update default Gemini model to 2.0 Flash and enhance file naming #524

Closed
opened 2026-03-03 13:54:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jehna/humanify/pull/510
Author: @NoahTheGinger
Created: 7/1/2025
Status: Closed

Base: mainHead: feature/update-gemini-and-file-naming


📝 Commits (1)

  • 32c069a feat: Update default Gemini model to 2.0 Flash and enhance file naming

📊 Changes

2 files changed (+42 additions, -6 deletions)

View changed files

📝 src/commands/gemini.ts (+1 -1)
📝 src/plugins/webcrack.ts (+41 -5)

📄 Description

Summary

This PR introduces two improvements to enhance the humanify tool:

  1. Updated default Gemini model from gemini-1.5-flash to gemini-2.0-flash-001
  2. Enhanced file naming convention for webcrack output files

Changes

1. Gemini Model Update

  • Updated the default model to use the newer Gemini 2.0 Flash model
  • The new model provides better performance and accuracy for code deobfuscation

2. Enhanced File Naming

  • Previously: Output files were named generically (e.g., deobfuscated.js)
  • Now: Files are named with timestamps and original filename: [TIMESTAMP]_[ORIGINAL_FILENAME]_deobfuscated.js
  • Example: 2024-01-15T10-30-45-123Z_myapp.min_deobfuscated.js

Benefits

  • No file collisions: Multiple runs won't overwrite previous outputs
  • Better traceability: Easy to identify which output corresponds to which input file
  • Chronological ordering: Files naturally sort by creation time
  • Latest model: Users get the benefits of Gemini 2.0 Flash by default

Testing

  • Tested with various minified JavaScript files
  • Verified that timestamps are correctly formatted
  • Confirmed backward compatibility with existing workflows

Breaking Changes

None - The changes are backward compatible. Users can still override the model if needed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jehna/humanify/pull/510 **Author:** [@NoahTheGinger](https://github.com/NoahTheGinger) **Created:** 7/1/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/update-gemini-and-file-naming` --- ### 📝 Commits (1) - [`32c069a`](https://github.com/jehna/humanify/commit/32c069a4a705fd64a189722709779278fd171acf) feat: Update default Gemini model to 2.0 Flash and enhance file naming ### 📊 Changes **2 files changed** (+42 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/commands/gemini.ts` (+1 -1) 📝 `src/plugins/webcrack.ts` (+41 -5) </details> ### 📄 Description ## Summary This PR introduces two improvements to enhance the humanify tool: 1. **Updated default Gemini model** from `gemini-1.5-flash` to `gemini-2.0-flash-001` 2. **Enhanced file naming convention** for webcrack output files ## Changes ### 1. Gemini Model Update - Updated the default model to use the newer Gemini 2.0 Flash model - The new model provides better performance and accuracy for code deobfuscation ### 2. Enhanced File Naming - Previously: Output files were named generically (e.g., `deobfuscated.js`) - Now: Files are named with timestamps and original filename: `[TIMESTAMP]_[ORIGINAL_FILENAME]_deobfuscated.js` - Example: `2024-01-15T10-30-45-123Z_myapp.min_deobfuscated.js` ## Benefits - **No file collisions**: Multiple runs won't overwrite previous outputs - **Better traceability**: Easy to identify which output corresponds to which input file - **Chronological ordering**: Files naturally sort by creation time - **Latest model**: Users get the benefits of Gemini 2.0 Flash by default ## Testing - Tested with various minified JavaScript files - Verified that timestamps are correctly formatted - Confirmed backward compatibility with existing workflows ## Breaking Changes None - The changes are backward compatible. Users can still override the model if needed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 13:54:56 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/humanify#524
No description provided.