How hahwul/webhackersweapons works
WebHackersWeapons is a curated catalog of web-security tools, with entries organized by type, category, tags, language, and platform. Readers browse the generated README and tag/language indexes; the central generator reads YAML entries and writes those Markdown views. The repository also includes scripts for converting legacy data and enriching or checking catalog entries. The migration and maintenance scripts are shown as separate utilities; their relationship to one another is not established by the excerpts.
Main entry points: weapons Weapon records · erb.rb Markdown generator · README.md Main catalog · migration.rb Legacy migration
Components 9
Tool catalog
- Weapon records
weapons
Catalog views
- Markdown generator
scripts/erb.rb - Main catalog
README.md - Tag and language indexes
categorize
Catalog maintenance
- Legacy migration
scripts/for_migration/migration.rb - Language enrichment
scripts/for_migration/fetch_lang.rb - Platform updater
scripts/for_migration/apply_platform.rb - Entry validator
scripts/validate_weapons.rb
Other components
- Catalog reader
Connections 8
- Weapon records → Markdown generator: reads YAML
scripts/erb.rb - Markdown generator → Main catalog: writes Markdown
scripts/erb.rb - Markdown generator → Tag and language indexes: writes indexes
scripts/erb.rb - Catalog reader → Main catalog: browses catalog
README.md - Legacy migration → Weapon records: writes entries
scripts/for_migration/migration.rb - Language enrichment → Weapon records: updates languages
scripts/for_migration/fetch_lang.rb - Platform updater → Weapon records: updates platforms
scripts/for_migration/apply_platform.rb - Entry validator → Weapon records: checks entries
scripts/validate_weapons.rb