# PowerSession
> Asciinema-compatible terminal session recorder for Windows
[](https://crates.io/crates/PowerSession)
[](https://crates.io/crates/PowerSession)
[](./LICENSE)
[](https://github.com/Watfaq/PowerSession-rs/actions/workflows/ci.yml?query=branch%3Amain)
[](https://github.com/Watfaq/PowerSession-rs/graphs/contributors)
A port of [asciinema](https://github.com/asciinema/asciinema) for Windows, based on [Windows Pseudo Console(ConPTY)](https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/)
*This is a new Rust implemented version.*
*if you are looking for the C# implementation, please go to the [C# version](https://github.com/Watfaq/PowerSession)*
## Checkout A Demo
[](https://asciinema.org/a/499120)
## Installation
### Cargo
```console
cargo install PowerSession
```
### Winget
```console
winget install Watfaq.PowerSession
```
### Scoop
```console
scoop install powersession-rs
```
## Usage
### Get Help
```console
PS D:\projects\PowerSession> PowerSession.exe -h
PowerSession
USAGE:
PowerSession.exe [SUBCOMMAND]
OPTIONS:
-h, --help Print help information
SUBCOMMANDS:
rec Record and save a session
play
auth Authentication with asciinema.org
upload Upload a session to ascinema.org
help Print this message or the help of the given subcommand(s)
```
## Credits
- [windows-rs](https://github.com/microsoft/windows-rs)
## Supporters
- [GitBook](https://www.gitbook.com/) Community License