Skip to content
Open
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
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,27 @@ jobs:
- name: Generate checksums
run: |
sha256sum cpudirect.ps1 > checksums.txt
sha256sum cpudirect.bash > checksums_bash.txt
echo "## SHA256 Checksums" > release_notes.md
echo '```' >> release_notes.md
cat checksums.txt >> release_notes.md
cat checksums_bash.txt >> release_notes.md
echo '```' >> release_notes.md
echo "" >> release_notes.md
echo "## Verify" >> release_notes.md
echo '```powershell' >> release_notes.md
echo '(Get-FileHash cpudirect.ps1 -Algorithm SHA256).Hash' >> release_notes.md
echo '```' >> release_notes.md
echo '```bash' >> release_notes.md
echo 'sha256sum cpudirect.bash' >> release_notes.md
echo '```' >> release_notes.md

- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
cpudirect.ps1
cpudirect.bash
checksums.txt
checksums_bash.txt
body_path: release_notes.md
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2025 Marius Heier
Copyright (c) 2025 Marius Heier, Caius Ehmke

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,22 @@ USB latency analyzer that counts chips between your input devices and the CPU. F

## Quick Start

Run in PowerShell:
### Run in PowerShell:

```powershell
irm https://tools.mariusheier.com/cpudirect.ps1 | iex
```

### Run in bash:

```bash
curl -fsSL https://tools.mariusheier.com/cpudirect.bash | bash
```
or
```bash
wget -qO- https://tools.mariusheier.com/cpudirect.bash | bash
```

## What It Shows

- **CHIP 0**: Device connects directly to CPU (lowest latency)
Expand All @@ -28,10 +38,17 @@ irm https://tools.mariusheier.com/cpudirect.ps1 | iex

All releases include SHA256 checksums. To verify:

Powershell:
```powershell
(Get-FileHash cpudirect.ps1 -Algorithm SHA256).Hash
```

bash:
```bash
sha256sum cpudirect.bash
```


Compare with the checksum in the [release notes](https://github.com/MariusHeier/cpu-direct-usb/releases).

## License
Expand Down
Loading