Skip to content

Commit

Permalink
Adds demos for photos and prepares for v0.0.5 release. (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
thushan authored Nov 29, 2023
1 parent 428acfb commit d41cce2
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 2 deletions.
Binary file added docs/artefacts/smash-v0.0.5-demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/artefacts/smash-v0.0.5-hdd-photos-demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion docs/demos.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

Pre-recorded demos of `smash` in action.

## Versions
# Examples
* [v0.0.5-hdd-photos](https://vhs.charm.sh/vhs-7B6XHxXq8VPvZ6AY9FpGIc.gif) - `smash`ing an old portable USB HDD of photos with excluded directories.

# Versions

* [v0.0.5](https://vhs.charm.sh/vhs-1zSMi9vYpmh0DivoB4E6g4.gif) - powered by [VHS](https://vhs.charm.sh)
* [v0.0.4](https://vhs.charm.sh/vhs-tgMXNRqo7UovLRd5iSlgF.gif) - powered by [VHS](https://vhs.charm.sh)
* [v0.0.3](https://vhs.charm.sh/vhs-1T6pqQivwvPAmudnDpwVQP.gif) - powered by [VHS](https://vhs.charm.sh)
* [v0.0.2](https://asciinema.org/a/620513) - powered by [Asciinema](https://asciinema.org/)
19 changes: 19 additions & 0 deletions docs/vhs/demo-photos-hdd.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
###
# VHS Tape for recording smash
# https://github.com/charmbracelet/vhs
###

Output docs/artefacts/smash-v0.0.x-hdd-photos-demo.gif

# Setup
Set FontSize 24
Set Width 1500
Set Height 1200
Set WindowBar Colorful
Set Theme "TokyoNight"

# smash Linux/drivers
Type "./smash /media/thushan/smash/photos/ --exclude-dir=_uploaded,sort,tmp,events"
Sleep 500ms
Enter
Sleep 30s
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Tool to `smash` through to find duplicate files efficiently by slicing a file (o
and computing a hash using a fast non-cryptographic algorithm such as [xxhash](https://xxhash.com/) or [murmur3](https://en.wikipedia.org/wiki/MurmurHash).

<p align="center">
<img src="https://vhs.charm.sh/vhs-tgMXNRqo7UovLRd5iSlgF.gif" alt="Made with VHS"><br/>
<img src="https://vhs.charm.sh/vhs-1zSMi9vYpmh0DivoB4E6g4.gif" alt="Made with VHS"><br/>
<sub>
<sup>Find duplicates in the <a href="https://github.com/torvalds/linux">linux/drivers</a> source tree with <code>smash</code> (see our <a href="docs/demos.md">🍿 other demos</a>). Made with <a href="https://vhs.charm.sh" target="_blank">vhs</a>!</sup>
</sub>
Expand Down

0 comments on commit d41cce2

Please sign in to comment.