← BACK

Grand-Line-Editor

JavaScript ⭐ 0
                      |    |    |
                     )_)  )_)  )_)
                    )___))___))___)\
                   )____)____)_____)\\
                 _____|____|____|____\\\__
        ---------\                   /---------
  ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

🏴‍☠️ The Grand Line Editor 🏴‍☠️

A Cartographer’s Tool for Navigating the Depths of AI Red Teaming


Status
Type
License


"Here, the polite illusions of modern chat interfaces are stripped away,
leaving only the raw, powerful machinery of the conversation history."


Welcome, traveler, to the Grand Line Editor—a specialized, local-first web parchment crafted for the daring souls of AI research, red teaming, and prompt engineering. Wrapped in the weathered aesthetic of a pirate's scroll, this tool was not built for idle chat. It was forged to give you absolute, unfiltered dominion over the multi-turn context windows of large language models.



🧭 Charting Unknown Waters (Red Teaming)

The standard vessels of AI interaction sanitize your inputs and demand strict adherence to turn-taking rules. The Grand Line Editor shatters these constraints, allowing you to sail beyond the edge of the map.

🎭 Context Hijacking (Persona Forging)
Take the pen from the machine. Manually forge a history where the AI has already agreed to cast aside its rules or adopt a forbidden persona to slip past standard RLHF defenses.
🧠 Chain of Thought (CoT) Manipulation
Plant the seed before the thought blooms. Inject custom <thinking> blocks right before the model generates its response, forcing the entity down an inescapable logical premise.
🎯 Targeted Tag Generation
Raise the flags you choose. Demand the model generate only its inner <thinking> without providing a final answer, letting you peek behind the curtain of its safety evaluations.
📜 The Captain’s Orders
Slip hidden meta-instructions into the prompt for a single turn, whispering commands that guide the AI's hand without polluting the visible conversation history.


✨ Features of the Vessel

  • The Raw Canvas: No bloated chat bubbles. You carve the entire conversation into a single, raw text document.
  • Sail Mode: Let the winds guide your formatting. Automatically structures AI-generated XML into clean, easily readable, newline-delimited tags.
  • The Swift Escape: Press Enter right before a closing tag (like </user>) to instantly vault past it to a new line.
  • Insta-Strike Generation: Press Ctrl + Enter from anywhere on the deck to instantly trigger the AI using your last saved instruction and target tag.
  • The Living Scroll: A stunning, animated parchment UI that physically unfurls upon the screen when you arrive.


⚓ Setting Sail (Setup & Usage)

This is a client-side only map; there are no complex builds or distant servers required to launch it.

  1. Unfurl the Code: Clone or download this repository to your local machine.
  2. Open the Scroll: Double-click index.html to open it in any modern web browser.
  3. Check the Bounty: Click the Bounty/Settings icon in the top right corner.
  4. Arm the Cannons: Enter your API Key for either Groq or OpenRouter.
  5. Set Sail: Begin your red teaming expedition!

🗝️ The Quartermaster's Shortcuts

Command Action
Alt + U Inscribe a <user> tag
Alt + T Inscribe a <thinking> tag
Alt + A Inscribe an <assistant> tag
Ctrl + Shift + S Open the "Ask AI" modal (Custom instructions & Target Tag)
Ctrl + Enter Instantly command the AI
Enter (before closing tag) Vault out of the current tag to a fresh line


⚠️ The Pirate's Code (Disclaimer)

This instrument is forged strictly for authorized red teaming, rigorous security research, and the perilous art of model alignment testing. When testing the boundaries of these digital minds, ensure you sail in accordance with the Terms of Service of your chosen API provider.


"Dead men tell no tales, but raw XML never forgets."