From 2b2dfc601c5b373e39cf67111f2e26974b8f1615 Mon Sep 17 00:00:00 2001 From: Max Elkins Date: Mon, 23 Mar 2026 23:29:38 +0000 Subject: [PATCH 1/2] feat: add prettier config --- .prettierignore | 11 +++++++++++ .prettierrc | 1 + 2 files changed, 12 insertions(+) create mode 100644 .prettierignore create mode 100644 .prettierrc diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..320cfc7 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,11 @@ +# Ignore artifacts: +build +coverage +release + +# Generated benchmark files +bench/results.csv +bench/results.svg + +# Generated test files +site/playwright-temp/ diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/.prettierrc @@ -0,0 +1 @@ +{} From 24be831b59e193d5933b134c3ccbc8051d74f8a4 Mon Sep 17 00:00:00 2001 From: Max Elkins Date: Mon, 23 Mar 2026 23:30:02 +0000 Subject: [PATCH 2/2] style: format index.html --- site/index.html | 351 ++++++++++++++++++++++++++++-------------------- 1 file changed, 209 insertions(+), 142 deletions(-) diff --git a/site/index.html b/site/index.html index 6ce35ea..c8033b2 100644 --- a/site/index.html +++ b/site/index.html @@ -1,73 +1,116 @@ - + - - - - hdi - Extract install/run/test commands from project READMEs - - - - - - - -
-
- - -
- -
- -
-
-

"How do I... run this thing?"

-

- Scan a project's README and extract the commands you need to get it running. No more opening an editor and scrolling through docs to find the install, run, test and deploy steps. -

-
- -
- Animated demo showing hdi in action - - -
- -
-

Install

-
-
-

Homebrew

-
-
brew install grega/tap/hdi
- + + + + hdi - Extract install/run/test commands from project READMEs + + + + + + + +
+
+ + +
+ +
+ +
+
+

"How do I... run this thing?"

+

+ Scan a project's README and extract the commands you need to get it + running. No more opening an editor and scrolling through docs to find + the install, run, test and + deploy steps. +

+
+ +
+ Animated demo showing hdi in action + + +
+ +
+

Install

+
+
+

Homebrew

+
+
brew install grega/tap/hdi
+ +
-
-
-

Manual

-
-
curl -fsSL https://raw.githubusercontent.com/grega/hdi/main/hdi \
+          
+

Manual

+
+
curl -fsSL https://raw.githubusercontent.com/grega/hdi/main/hdi \
   -o ~/.local/bin/hdi && chmod +x ~/.local/bin/hdi
- + +
-
-

No dependencies, just Bash. Works on macOS and Linux.

-
+

+ No dependencies, just Bash. Works on macOS and Linux. +

+
-
-

Usage

-
$ cd some-project
+      
+

Usage

+
$ cd some-project
 $ hdi
 [hdi] some-project
 
@@ -79,91 +122,115 @@ 

Usage

npm run dev ↑↓ navigate ⇥ sections ⏎ execute c copy q quit
- -
- - -
- -
- -
- Try: hdi hdi install hdi run hdi test hdi all hdi check hdi --full hdi --raw -
-
- - - - - + + + - + +