GTSuya Studio
253d14643e
improve code quality and error handling across all nodes
...
Replace os.path with pathlib.Path for modern path handling
Add type hints for better code clarity and IDE support
Remove unused imports (nodes, shutil, glob, time)
Add NODE_CLASS_MAPPINGS required by ComfyUI
Error handling improvements:
Add network timeouts and retry limits to Danbooru nodes
Add directory validation to SimpleWildcardsDir and RandomFileFromPath
Add try-catch blocks for file operations
Improve error messages throughout
Node-specific optimizations:
SimpleWildcardsDir: Better wildcard loop logic, handle empty files
WildcardsNodes: Simplify replacement logic with dictionary
DanbooruRandom/ID: Add max retry limit (10), validate inputs
ReplaceStrings: Validate replacement format, handle edge cases
RandomFileFromPath: Verify directory contains files, proper seed usage
All existing functionality preserved and tested.
2025-11-09 15:11:26 -05:00
GTSuya Studio
4a818ca21b
Update README.md
...
update description
2025-11-09 14:58:25 -05:00
GTSuya Studio
c72ff728ae
Merge branch 'main' of https://github.com/GTSuya-Studio/ComfyUI-Gtsuya-Nodes
2025-11-09 14:55:00 -05:00
GTSuya Studio
438e5fc2a1
Update gtsuya_nodes.py
...
Wildcards that are not found remain in the text. (This makes it easier to find errors later on).
2025-11-09 14:54:58 -05:00
GTSuya Studio
6673462d88
update images
2025-11-09 13:14:43 -05:00
GTSuya Studio
1173c3b2af
Update README.md
...
Update descriptions
2025-11-09 13:07:29 -05:00
GTSuya Studio
721cb99c55
Update gtsuya_nodes.py
...
feat(wildcards)!: refonte majeure avec support récursif et amélioration de la reproductibilité
BREAKING CHANGES:
- SimpleWildcardsDir retourne maintenant (text,) au lieu de (text, seed,)
Features:
- wildcard_depth parameter pour contrôle de la récursion (défaut: 50)
- Support des wildcards imbriqués avec protection contre boucles infinies
- Filtrage automatique des commentaires (#) dans fichiers wildcards
- Suppression automatique des wildcards non trouvés
Fixes:
- random.seed() maintenant correctement appliqué
- Remplacement sécurisé une occurrence à la fois
- Encodage UTF-8 et fermeture automatique des fichiers
Refactoring:
- SimpleWildcards utilise SimpleWildcardsDir en interne (DRY)
- Code plus maintenable et architecture améliorée
Version: 1.1.0 → 1.2.0
2025-11-09 12:57:11 -05:00
GTSuya Studio
591309213e
Update README.md
2023-12-09 20:20:36 -05:00
GTSuya Studio
b247d3bfa9
Merge branch 'main' of https://github.com/GTSuya-Studio/ComfyUI-Gtsuya-Nodes
2023-12-09 20:16:12 -05:00
GTSuya Studio
1aec7667a0
Add RandomFileFromPath node
2023-12-09 20:16:10 -05:00
GTSuya Studio
bf5b0b0869
Update README.md
2023-12-01 21:12:20 -05:00
GTSuya Studio
75c089145d
fix duplicated node name
2023-12-01 21:11:11 -05:00
GTSuya Studio
331bfdda1e
update description
2023-12-01 21:04:36 -05:00
GTSuya Studio
ba2f4a756b
Merge branch 'main' of https://github.com/GTSuya-Studio/ComfyUI-Gtsuya-Nodes
2023-12-01 20:34:08 -05:00
GTSuya Studio
1ee8bb6f0f
add Replace Strings node
2023-12-01 20:34:06 -05:00
GTSuya Studio
17275e9009
Update README.md
2023-12-01 20:31:33 -05:00
GTSuya Studio
3fad15097a
Update README.md
2023-12-01 20:31:03 -05:00
GTSuya Studio
5f0fea47f9
Update README.md
2023-11-26 17:08:05 -05:00
GTSuya Studio
efedc4daa2
Update README.md
2023-11-26 17:04:51 -05:00
GTSuya Studio
5239619359
Merge branch 'main' of https://github.com/GTSuya-Studio/ComfyUI-Gtsuya-Nodes
2023-11-26 17:00:25 -05:00
GTSuya Studio
5e485dd19b
add Danbooru ID node
2023-11-26 17:00:19 -05:00
GTSuya Studio
147273e9b2
Update README.md
2023-11-26 16:41:53 -05:00
GTSuya Studio
2ed5867007
Update README.md
2023-11-26 16:40:28 -05:00
GTSuya Studio
edb41fb920
Merge branch 'main' of https://github.com/GTSuya-Studio/ComfyUI-Gtsuya-Nodes
2023-11-26 16:38:52 -05:00
GTSuya Studio
534c7f2a83
Simplify nodes names
2023-11-26 16:38:45 -05:00
GTSuya Studio
1f57c0d6f9
Update README.md
2023-11-26 15:55:13 -05:00
GTSuya Studio
b3af8020a1
Update README.md
2023-11-26 15:41:30 -05:00
GTSuya Studio
ab6a3c49ab
add custom api support
2023-11-26 15:40:12 -05:00
GTSuya Studio
f7b45f60b1
fix empty ulr and empty tags error
2023-11-25 22:46:04 -05:00
GTSuya Studio
879f800a0f
Update README.md
2023-11-21 21:35:37 -05:00
GTSuya Studio
b1959442eb
Update README.md
2023-11-21 21:29:42 -05:00
GTSuya Studio
33c08aa91d
Update README.md
2023-11-21 21:26:16 -05:00
GTSuya Studio
1e5f818df6
Update README.md
2023-11-21 21:22:05 -05:00
GTSuya Studio
95954fcdc2
Update README.md
2023-11-21 21:14:26 -05:00
GTSuya Studio
23f0dc510d
Merge branch 'main' of https://github.com/GTSuya-Studio/ComfyUI-Gtsuya-Nodes
2023-11-21 21:12:44 -05:00
GTSuya Studio
a7ff08c5a9
add new node
2023-11-21 21:12:33 -05:00
GTSuya Studio
999892aa68
Update README.md
2023-11-21 20:51:45 -05:00
GTSuya Studio
3ab5525371
Update README.md
2023-11-20 21:01:22 -05:00
GTSuya Studio
5b5f9fe1d1
Update README.md
...
replace images
2023-11-20 21:00:49 -05:00
GTSuya Studio
ab609e9181
Update README.md
2023-11-20 00:09:11 -05:00
GTSuya Studio
b7e9b89880
Merge branch 'main' of https://github.com/GTSuya-Studio/ComfyUI-Gtsuya-Nodes
2023-11-19 23:25:42 -05:00
GTSuya Studio
d3f3708a0d
add wildcards node
2023-11-19 23:25:39 -05:00
GTSuya Studio
0bfa2a885c
Update README.md
...
update readme
2023-11-19 23:24:43 -05:00
GTSuya Studio
43a3bbee63
Update README.md
2023-11-19 21:46:14 -05:00
GTSuya Studio
23ebafda44
Add Simple Wildcards (Dir.) node
2023-11-19 21:44:48 -05:00
GTSuya Studio
870faf60fa
Update README.md
2023-11-19 21:42:40 -05:00
GTSuya Studio
ab610fc9e9
Update README.md
2023-11-19 20:51:42 -05:00
GTSuya Studio
9c7497e537
Update README.md
2023-11-19 20:46:09 -05:00
GTSuya Studio
e2779f94aa
Update README.md
...
add installation informations
2023-11-19 20:28:59 -05:00
GTSuya Studio
f8d625348e
Add files via upload
2023-11-19 20:19:50 -05:00
GTSuya Studio
0520317ae1
Initial commit
2023-11-19 20:11:04 -05:00