```
████████╗███████╗███╗ ███╗██████╗ ██████╗ ███████╗
╚══██╔══╝██╔════╝████╗ ████║██╔══██╗██╔══██╗██╔════╝
██║ █████╗ ██╔████╔██║██████╔╝██████╔╝███████╗
██║ ██╔══╝ ██║╚██╔╝██║██╔═══╝ ██╔══██╗╚════██║
██║ ███████╗██║ ╚═╝ ██║██║ ██║ ██║███████║
╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚══════╝
```
### `[TEMPORARY FILE STACK MANAGER // FULL SPECTRUM DATA CONTROL]`
┌──────────────────────────────────────────────────────────────┐
│ STATUS: ONLINE THREAT LEVEL: NEON SIGNAL: ████████░░ │
└──────────────────────────────────────────────────────────────┘
> *"The stack is vast and infinite."*
---
## [0x01] SYSTEM REQUIREMENTS
- Rust toolchain // `rustc` + `cargo`
## [0x02] INSTALLATION
#### DOWNLOADING PAYLOAD FROM CRATES.IO
```sh
cargo install temprs
```
#### COMPILING FROM SOURCE
```sh
git clone https://github.com/MenkeTechnologies/temprs
cd temprs
cargo build --release
```
[temprs on Crates.io](https://crates.io/crates/temprs)
---
## [0x03] USAGE
> Replace `CMD` with any command, `FILE` with any file, `INDEX` with any index
#### SCANNING DATA STREAMS // STDIN OPERATIONS
```sh
# jack data into a new tempfile on top of stack
# jack data in and echo contents to stdout
# read from top of stack to stdout
#### TARGETING INDEXED TEMPFILES // PRECISION I/O
```sh
# write stdin into tempfile at index 1
# write stdin into tempfile at index 1 and echo to stdout
# output tempfile at index 1 to stdout
#### LOADING FILE PAYLOADS // FILE OPERATIONS
```sh
# read FILE into new tempfile on top of stack
# read FILE into new tempfile and write contents to stdout
# write FILE contents to tempfile 1
# write FILE contents to tempfile 1 then to stdout
#### CHAINING DATA STREAMS // PIPELINE OPERATIONS
```sh
# read stdin to tempfile 1 then write to stdout
# choose input tempfile and write to tempfile at index 2 and stdout
#### ENUMERATING STACK CONTENTS // LISTING
```sh
# list all tempfiles on the stack
tp -l
# list all tempfiles with contents
tp -L
# list all tempfiles numbered
tp -n
# list all tempfiles numbered with contents
tp -N
```
#### STACK MANIPULATION // PUSH / POP / SHIFT
```sh
# purge all tempfiles
tp -c
# remove tempfile at INDEX
tp -r INDEX
# insert tempfile at INDEX
# insert FILE at INDEX
tp -a INDEX FILE
# pop from top of stack
tp -p
# push to bottom of stack
# push to bottom of stack (equivalent)
# shift from bottom of stack
tp -s
```
---
## [0x04] STACK ARCHITECTURE
```
┌─────────────────────────────────────┐
│ INDEX N ▓▓ TOP OF STACK (newest)│
│ INDEX N-1 ▓▓ ... │
│ INDEX 2 ▓▓ ... │
│ INDEX 1 ▓▓ BOTTOM OF STACK │
└─────────────────────────────────────┘
```
- Tempfiles are numbered in ascending order // highest index = top of stack
- Negative indices are valid at any `INDEX` position // range: `-stack_size .. -1`
- Positive indices range from `1 .. stack_size`
- Index `0` is always **invalid**
- Both `tp` and `temprs` binaries are installed
---
## [0xFF] LICENSE
┌──────────────────────────────────────────────────────────┐
│ MIT LICENSE // UNAUTHORIZED REPRODUCTION WILL BE MET │
│ WITH FULL ICE │
└──────────────────────────────────────────────────────────┘
---
```
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░ >>> JACK IN. PUSH YOUR DATA. OWN YOUR TEMP FILES. <<< ░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
```
##### created by [MenkeTechnologies](https://github.com/MenkeTechnologies)