# 🦆 DuckyScript Cookbook

Write DuckyScript with less friction, better hints, and a handy cookbook panel full of ready-to-use payload ideas.

**DuckyScript Cookbook** is a community-made extension for **VS Code** and **VSCodium** that makes DuckyScript easier to read, faster to write, and a bit more fun to work with.

![](https://github.com/aleff-github/Deposito/blob/main/DuckyScriptCookbook/Hak5%20Disclaimer.png?raw=true)

## Why install it?

Because plain text payload files deserve a little love too.

With DuckyScript Cookbook you get:

- syntax highlighting for DuckyScript
- autocomplete with inline command help
- snippets for common structures and commands
- a cookbook side panel with ready-to-insert payload recipes
- optional bundled light and dark themes
- support for standard editor themes too
- early support for newer Pager-related commands

## What it feels like to use

### Better colors, without forcing a theme

The extension highlights DuckyScript nicely even with your usual VS Code or VSCodium theme.

If you want the full cookbook vibe, you can also switch to the bundled **DuckyScript Light** or **DuckyScript Dark** themes.

### Help while you type

Start writing and trigger suggestions with `Ctrl+Space`.

Commands, functions, and structures come with short inline explanations so you can stay in the editor instead of jumping back and forth between docs and notes.

### A cookbook panel for quick payload building

Open the **DuckyScript Cookbook** view from the activity bar and insert recipe templates with a click.

It is especially handy when you want to:

- start from a working payload skeleton
- replace selected text with a recipe
- keep reusable building blocks close to the editor

### Snippets that save repetitive typing

Loops, conditions, common commands, and reusable structures are quicker to drop in, tweak, and reuse.

## Quick start

1. Open a `.ds`, `.duckyscript`, or compatible text file.
2. Start typing DuckyScript.
3. Press `Ctrl+Space` to explore commands and inline help.
4. Open the **DuckyScript Cookbook** panel from the activity bar.
5. Click a recipe to insert it into the active editor.

## Great for

- learning DuckyScript a little faster
- building payloads without starting from scratch every time
- keeping recipes and snippets one click away
- writing in a cleaner, more readable editor experience

## Available on

- **VS Code Marketplace**
- **Open VSX / VSCodium**

## Feedback, ideas, and contributions

Got a recipe idea, found a bug, or want support for more DuckyScript features?

Open an issue or contribute on GitHub:

- GitHub repository: `aleff-github/DuckyScriptCookbook`

## License

Released under the **GPLv3** license. See [LICENSE](./LICENSE).
