https://github.com/watfaq/powersession-rs
Rust implementation of PowerSession, with new features and enhancements
https://github.com/watfaq/powersession-rs
asciinema conpty powersession powershell rust
Last synced: 24 days ago
JSON representation
Rust implementation of PowerSession, with new features and enhancements
- Host: GitHub
- URL: https://github.com/watfaq/powersession-rs
- Owner: Watfaq
- License: mit
- Created: 2022-06-03T05:14:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-28T00:13:37.000Z (about 1 month ago)
- Last Synced: 2025-04-01T04:52:03.283Z (about 1 month ago)
- Topics: asciinema, conpty, powersession, powershell, rust
- Language: Rust
- Homepage: https://github.com/Watfaq/PowerSession-rs
- Size: 201 KB
- Stars: 206
- Watchers: 2
- Forks: 8
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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
PowerSessionUSAGE:
PowerSession.exe [SUBCOMMAND]OPTIONS:
-h, --help Print help informationSUBCOMMANDS:
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