Skip to content

Commit b5236d6

Browse files
committed
initial commit
1 parent 79e76ac commit b5236d6

File tree

39,452 files changed

+1685658
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

39,452 files changed

+1685658
-1
lines changed

README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,41 @@
1-
# BadUSB Script into Arduino code convertor
1+
# Duckify+ — BadUSB Script → Arduino Code Converter
2+
3+
Convert DuckyScript/BadUSB scripts to ready-to-upload Arduino sketches with an enhanced, modern UI.
4+
5+
- **Tech**: React + TypeScript + Vite, Material UI
6+
- **Features**: Live preview, copy/download `.ino`, keyboard layout and board target selectors
7+
- **Inspired by**: Duckify by SpacehuhnTech [`https://github.com/SpacehuhnTech/duckify`](https://github.com/SpacehuhnTech/duckify)
8+
9+
## Quick start
10+
11+
```bash
12+
npm install
13+
npm run dev
14+
```
15+
16+
Open the app at the URL printed by Vite (usually `http://localhost:5173`).
17+
18+
## Build
19+
20+
```bash
21+
npm run build
22+
npm run preview
23+
```
24+
25+
## Usage
26+
27+
1. Paste your DuckyScript into the left editor.
28+
2. Adjust the keyboard layout and target board.
29+
3. Copy or download the generated `.ino` sketch from the right panel.
30+
31+
Supported commands include `STRING`, `DELAY`, `REPEAT`, modifier combos like `CTRL ALT DELETE`, simple keys like `ENTER`, `TAB`, arrow keys, etc. This project focuses on common subsets and may not cover every dialect.
32+
33+
## Notes
34+
35+
- Generated code uses `Keyboard.h` and simple helpers.
36+
- Upload to boards that support native USB HID (e.g., Arduino Leonardo, Pro Micro).
37+
38+
## License
39+
40+
MIT. Credits to SpacehuhnTech for Duckify inspiration: [`https://github.com/SpacehuhnTech/duckify`](https://github.com/SpacehuhnTech/duckify).
241

index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Duckify+ — BadUSB to Arduino</title>
7+
<meta name="description" content="Convert DuckyScript/BadUSB scripts into Arduino code with an enhanced UI." />
8+
<link rel="icon" href="/favicon.ico" />
9+
</head>
10+
<body>
11+
<div id="root"></div>
12+
<script type="module" src="/src/main.tsx"></script>
13+
</body>
14+
</html>
15+
16+

node_modules/.bin/browserslist

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/esbuild

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/jsesc

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/json5

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/loose-envify

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/nanoid

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/parser

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/resolve

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)