WriteupForge is a tool that converts your raw notes into professional, structured cybersecurity writeups using AI. Whether you're writing learning notes, CTF solutions, lab writeups, or research documentation, WriteupForge automatically detects the type and structures your content accordingly.
It works on Windows, Linux, and macOS, and generates outputs in Markdown, PDF, and includes GitHub-ready README files.
- π€ Automatic Type Detection - AI detects writeup type (CTF, Lab, Learning, Research, Exploitation, Tool Guide)
- π Adaptive Structuring - Content organized based on detected type
- π Auto Table Generation - Creates tables where appropriate
- π GitHub-Ready Output - Professional README and organized folder structure
- π One-Click Push to GitHub - All files organized and ready to commit
WriteupForge uses Groq's super-fast AI to write the reports. It is completely free!
- Go to console.groq.com/keys
- Click Create API Key
- Copy the key (it starts with
gsk_...) - Save it somewhere safeβyou'll need it during installation!
For all users (Linux, macOS, Windows with WSL):
# Clone from organization repository
git clone https://github.com/fsociety-pk/writeupforge.git
cd writeupforge
# Install with pip
pip install -e .Or install directly without cloning:
pip install git+https://github.com/fsociety-pk/writeupforge.git- Open your terminal.
- Clone this folder and go into it:
git clone https://github.com/fsociety-pk/writeupforge.git cd writeupforge - Run the installer script:
Note: During installation, it will ask you to paste the Groq API key you just copied.
sudo bash install.sh
- Done! Open a new terminal and just type:
fgwrite
- Download and extract this project folder.
- Search for PowerShell in the Start Menu, right-click it, and select Run as Administrator.
- Go to the extracted folder in PowerShell:
cd path\to\writeupforge
- Run the installer:
Note: Just like Linux, it will ask for your Groq API key.
powershell -ExecutionPolicy Bypass -File scripts\install-wizard.ps1
- Done! Check your Desktop for the new WriteupForge icon. Double-click it to start!
WriteupForge is actively maintained. Users can update to the latest version using:
pip install --upgrade git+https://github.com/fsociety-pk/writeupforge.gitcd writeupforge
git pull origin main
pip install -e .fgwrite --version- v1.2.1 - Fixed writeup structure preservation (preserves raw notes exactly)
- v1.2.0 - Automatic spell & grammar checking
- v1.1.0 - Automatic writeup type detection and GitHub-ready output
π View all releases
WriteupForge now intelligently detects what type of writeup you're creating:
- CTF Challenges - Challenge writeups from Capture The Flag competitions
- Lab/Machine Writeups - Writeups from platforms like HackTheBox, TryHackMe
- Learning Notes - Raw notes from learning videos, courses, or tutorials
- Research - Technical research and vulnerability analysis
- Exploitation - Exploitation techniques and proof of concepts
- Tool Guides - Tool usage guides and documentation
Every writeup now generates a complete, ready-to-push project:
output/
βββ Your_Project_Name/
βββ README.md β
GitHub documentation
βββ writeup.md β
Structured document
βββ writeup.pdf β
PDF format
Based on the detected type, the AI creates the perfect structure with appropriate sections like:
- Reconnaissance, Enumeration, Exploitation (for labs)
- Challenge Description, Solution (for CTFs)
- Core Concepts, Examples, Takeaways (for learning notes)
- And more tailored to your content!
- π Automatic table generation for data comparisons
- π§ Proper code block formatting with language tags
- πΈ Smart screenshot and diagram placeholders
- π Professional markdown throughout
Just type fgwrite in any terminal folder. It will ask you a few simple questions:
- Title (e.g., "Network Protocols Basics" or "HTB Nmap Writeup")
- Author (Your name)
- Platform (HackTheBox, TryHackMe, Personal Learning, etc.)
- Difficulty (Beginner, Intermediate, etc.)
- Your Notes (Paste your rough notes and type
DONEon an empty line)
The tool will:
- π€ Analyze your notes and detect the writeup type
- π Structure the content appropriately
- π¨ Format everything professionally
- π Create a folder with
README.md,writeup.md, andwriteup.pdf - β Display the organized output ready to push!
Open the app from your Desktop icon. You will see a clean, simple window where you can type your Title, Name, select options, and paste your notes. Click the Generate Professional Report button and your complete project will be created!
Your project is ready to go to GitHub:
cd output/Your_Project_Name
git init
git add .
git commit -m "Initial commit: Project writeup"
git push origin mainfgwrite --version
# or
fgwrite -vShows the installed WriteupForge version.
fgwrite --cliLaunch in terminal mode even on systems that default to GUI.
fgwrite --guiLaunch the graphical interface.
fgwriteStart the interactive writeup generation process.
If you ever want to remove it:
Linux:
Run sudo bash scripts/uninstall.sh inside the project folder.
Windows:
Run scripts\uninstall.bat from the project folder. This will safely remove the virtual environment, cache files, and the shortcuts it created.
This project is licensed under the MIT License.