{"id":49250903,"url":"https://github.com/solomonneas/playbook-forge","last_synced_at":"2026-04-25T00:04:45.844Z","repository":{"id":336856152,"uuid":"1150751138","full_name":"solomonneas/playbook-forge","owner":"solomonneas","description":"SOC playbook parser with mermaid diagram generation","archived":false,"fork":false,"pushed_at":"2026-04-20T22:55:38.000Z","size":372,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-21T00:39:01.557Z","etag":null,"topics":["automation","blue-team","cybersecurity","incident-response","playbooks","security-operations","soar"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solomonneas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"solomonneas","ko_fi":"solomonneas","buy_me_a_coffee":"solomonneas"}},"created_at":"2026-02-05T16:41:47.000Z","updated_at":"2026-04-20T22:55:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/solomonneas/playbook-forge","commit_stats":null,"previous_names":["solomonneas/playbook-forge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/solomonneas/playbook-forge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonneas%2Fplaybook-forge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonneas%2Fplaybook-forge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonneas%2Fplaybook-forge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonneas%2Fplaybook-forge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solomonneas","download_url":"https://codeload.github.com/solomonneas/playbook-forge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonneas%2Fplaybook-forge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32245157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","blue-team","cybersecurity","incident-response","playbooks","security-operations","soar"],"created_at":"2026-04-25T00:04:45.038Z","updated_at":"2026-04-25T00:04:45.836Z","avatar_url":"https://github.com/solomonneas.png","language":"TypeScript","funding_links":["https://github.com/sponsors/solomonneas","https://ko-fi.com/solomonneas","https://buymeacoffee.com/solomonneas"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/React-18-61DAFB?style=flat-square\u0026logo=react\u0026logoColor=white\" alt=\"React\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/TypeScript-5-3178C6?style=flat-square\u0026logo=typescript\u0026logoColor=white\" alt=\"TypeScript\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-3.9+-3776AB?style=flat-square\u0026logo=python\u0026logoColor=white\" alt=\"Python\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/FastAPI-0.100+-009688?style=flat-square\u0026logo=fastapi\u0026logoColor=white\" alt=\"FastAPI\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Tailwind_CSS-3-06B6D4?style=flat-square\u0026logo=tailwindcss\u0026logoColor=white\" alt=\"Tailwind CSS\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/License-MIT-green?style=flat-square\" alt=\"MIT License\" /\u003e\n\n  \u003ca href=\"https://solomonneas.dev/projects/playbook-forge\"\u003e\u003cimg src=\"https://img.shields.io/badge/Portfolio-solomonneas.dev-22c55e?style=flat-square\" alt=\"Portfolio\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# ⚒️ Solomon's Playbook Forge\n\n**IR runbook builder with visual flowcharts, SOAR execution engine, and AI playbook generation.**\n\nPlaybook Forge transforms incident response playbooks from Markdown and Mermaid syntax into interactive flowchart visualizations with a full execution engine. SOC teams can build, execute, and track playbook runs step-by-step. AI generation creates playbooks from natural language prompts. SOAR integrations connect to real response platforms.\n\n![Playbook Forge](docs/screenshots/dashboard.png)\n\n---\n\n## Features\n\n- **Markdown to Flowchart** - Parse structured Markdown playbooks into node-edge graphs\n- **Mermaid Syntax** - Native support for Mermaid flowchart syntax\n- **Interactive Canvas** - Drag, pan, zoom with React Flow\n- **Custom Node Types** - Phase, Step, Decision, Execute, Merge with 5 variant styles\n- **Playbook Library** - Browse, categorize, and filter by type (Vulnerability, Incident Response, Threat Hunting)\n- **Execution Engine** - Run playbooks step-by-step with live status tracking, timestamps, and execution history\n- **AI Playbook Generation** - Generate complete playbooks from natural language incident descriptions\n- **SOAR Integration** - Built-in action library with connections to real response platforms\n- **MCP Integration** - Model Context Protocol hooks for AI-assisted execution\n- **MiniMap \u0026 Controls** - Bird's-eye view and viewport navigation\n- **Client-Side Parsing** - Zero-latency Markdown rendering in browser\n- **5 Visual Themes** - SOC, Analyst, Terminal, Command, Cyber variants\n- **Guided Tour** - Interactive walkthrough for first-time users\n- **Offline-First** - No backend required for visualization\n\n---\n\n## Quick Start\n\n```bash\n# Clone and install\ngit clone https://github.com/solomonneas/playbook-forge.git\ncd playbook-forge\n\n# Frontend\ncd web \u0026\u0026 npm install \u0026\u0026 npm run dev\n\n# Backend (optional, for playbook generation AI)\ncd ../api \u0026\u0026 pip install -r requirements.txt \u0026\u0026 python main.py\n```\n\nFrontend: **http://localhost:5177**\nBackend: **http://localhost:8000** (optional)\n\n---\n\n## Tech Stack\n\n| Layer | Technology | Purpose |\n|-------|-----------|---------|\n| **Frontend** | React 18 | Interactive dashboards |\n| **Language** | TypeScript 5 | Type safety |\n| **Styling** | Tailwind CSS 3 | Utility-first CSS |\n| **Canvas** | React Flow 11 | Node-edge graph visualization |\n| **State** | Zustand | Global state management |\n| **Bundler** | Vite 5 | Dev server and build |\n| **Backend** (Optional) | FastAPI | Playbook generation and storage |\n| **Parser** | Custom Markdown Parser | Inline playbook parsing |\n\n---\n\n## Playbook Syntax\n\n### Markdown Format\n\n```markdown\n# Incident Response: Ransomware Attack\n\n## Phase: Detection\n- Step: Identify affected systems\n  - Check EDR alerts\n  - Correlate with SIEM events\n  - Document initial indicators\n\n## Phase: Analysis\n- Decision: Is it a critical system?\n  - YES -\u003e Execute: Isolate from network\n  - NO -\u003e Execute: Begin forensic collection\n\n## Phase: Containment\n- Step: Isolate affected hosts\n  - Segment network access\n  - Disable user accounts\n  - Preserve evidence\n\n## Phase: Eradication\n- Step: Remove malware\n  - Scan with multiple AV engines\n  - Remove registry keys\n  - Patch vulnerabilities\n\n## Phase: Recovery\n- Step: Restore systems\n  - Restore from clean backups\n  - Apply security patches\n  - Re-enable user access\n```\n\n### Mermaid Format\n\n```mermaid\nflowchart TD\n    A[Detection] --\u003e B{Critical System?}\n    B --\u003e|Yes| C[Isolate Network]\n    B --\u003e|No| D[Preserve Evidence]\n    C --\u003e E[Begin Analysis]\n    D --\u003e E\n    E --\u003e F[Eradicate Threat]\n    F --\u003e G[Recover Systems]\n```\n\n---\n\n## Node Types\n\n| Type | Purpose | Example |\n|------|---------|---------|\n| **Phase** | Major incident response phase | Detection, Analysis, Containment |\n| **Step** | Procedural action | Execute EDR scan, Document findings |\n| **Decision** | Conditional branch (Yes/No) | Is it critical? Is malware present? |\n| **Execute** | SOAR action or tool integration | Isolate host, Disable account, Block IP |\n| **Merge** | Convergence point | Rejoining analysis paths |\n\n---\n\n## 5 Variants\n\n| Variant | Theme | Use Case |\n|---------|-------|----------|\n| **SOC** | Dark slate, red accents | Security operations center |\n| **Analyst** | Clean white, blue | Professional analysis |\n| **Terminal** | Black, matrix green | Technical incident response |\n| **Command** | OD green, amber | Military-style operations |\n| **Cyber** | Neon cyan/magenta | Cyberpunk aesthetic |\n\nAll variants use the same parsing engine and React Flow canvas. Switch themes instantly.\n\n---\n\n## Project Structure\n\n```text\nplaybook-forge/\n├── web/                      # React frontend\n│   ├── src/\n│   │   ├── components/\n│   │   │   ├── Canvas.tsx       # React Flow canvas\n│   │   │   ├── NodeEditor.tsx   # Custom node properties panel\n│   │   │   ├── PlaybookLibrary.tsx\n│   │   │   └── ...\n│   │   ├── pages/\n│   │   │   ├── Editor.tsx       # Main editing interface\n│   │   │   ├── Library.tsx      # Playbook browser\n│   │   │   └── Settings.tsx\n│   │   ├── parsers/\n│   │   │   ├── markdownParser.ts  # Markdown to graph converter\n│   │   │   ├── mermaidParser.ts   # Mermaid parser\n│   │   │   └── validator.ts\n│   │   ├── store/\n│   │   │   └── usePlaybookStore.ts # Zustand (persisted)\n│   │   └── variants/            # 5 theme layouts\n│   ├── package.json\n│   └── vite.config.ts\n├── api/                      # FastAPI backend (optional)\n│   ├── main.py               # Entry point\n│   ├── playbooks/            # Playbook storage\n│   ├── generator/            # AI-powered generation\n│   └── requirements.txt\n└── README.md\n```\n\n---\n\n## SOAR Actions\n\nBuilt-in action library for common SOAR platforms:\n\n**Incident Response Actions:**\n- `isolate_host` - Remove host from network\n- `disable_account` - Disable user account\n- `block_ioc` - Block IP/domain/hash\n- `snapshot_vm` - Create VM snapshot\n- `quarantine_email` - Isolate email message\n\n**Reconnaissance:**\n- `whois_lookup` - IP/domain registration info\n- `virustotal_check` - File hash reputation\n- `shodan_search` - Internet scan results\n\nAll actions are templates that teams can customize.\n\n---\n\n## License\n\nMIT - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolomonneas%2Fplaybook-forge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolomonneas%2Fplaybook-forge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolomonneas%2Fplaybook-forge/lists"}