Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ npx @antomanc/aginit
[![npm version](https://img.shields.io/npm/v/@antomanc/aginit)](https://www.npmjs.com/package/@antomanc/aginit)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

<p align="center"><img src="docs/assets/demo.gif" alt="aginit wizard creating a CLI project with AGENTS.md, skills and a Graft codebase graph" width="720"></p>

> **Beta.** Expect flags and defaults to change before 1.0.

## Why
Expand Down
Binary file added docs/assets/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions docs/assets/demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Hero GIF for the README. Regenerate with: vhs docs/assets/demo.tape
# Needs vhs, ttyd and ffmpeg, a built dist/ (pnpm build) and network access for skills.sh.

Output docs/assets/demo.gif

Set Shell bash
Set FontFamily "JetBrains Mono"
Set FontSize 15
Set LineHeight 1.15
Set Width 1000
Set Height 820
Set Padding 24
Set Theme "Catppuccin Mocha"
Set TypingSpeed 60ms
Set WindowBar Colorful

# Tidy prompt; run the local build from a scratch directory.
Hide
Type `export AGINIT="$PWD/bin/aginit.js" && rm -rf /tmp/demo && mkdir /tmp/demo && cd /tmp/demo`
Enter
# npx @antomanc/aginit -> the local build (same code as the published release).
Type `npx() { shift; node "$AGINIT" "$@"; }`
Enter
Type `export PS1='\[\e[32m\]antomanc@home-server\[\e[0m\]:\[\e[34m\]\w\[\e[0m\]$ '`
Enter
Type "clear"
Enter
Show

Sleep 800ms
Type "npx @antomanc/aginit"
Sleep 400ms
Enter
Sleep 1.5s

# What would you like to do? -> new project
Enter
Sleep 800ms
Type "my-app"
Sleep 500ms
Enter
Sleep 800ms
# Preset: Web -> CLI Tool
Down
Sleep 500ms
Enter
Sleep 800ms
# Package manager: pnpm
Enter

Sleep 20s
Type "ls -A my-app"
Enter
Sleep 3s
Loading