Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bejker123/save_reddit_post


https://github.com/bejker123/save_reddit_post

reddit rust utility

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

![Build Badge](https://github.com/bejker123/save_reddit_post/actions/workflows/build_and_test.yml/badge.svg)

# SRP

**Save Reddit Post** is a program made to easily save any reddit post, without any authentication.

## Installation

First make sure you have [rust](https://www.rust-lang.org/tools/install) installed.
Then simply clone this repository:

```bash
git clone https://github.com/bejker123/save_reddit_post
```

## Usage
Use this as any other rust cli program.
```bash
#You can build it first:
cargo build
#Then run it:
target/debug/srp #arguments go here
#Or run it directly
cargo run -- #pass arguments after "--"
#for help use -h/--help argument
```

## Note
Please note that this repo is in its early stages.
It will go through many changes in the future!

## Roadmap/Goals

- [x] Add url validation
- [x] Add getting all comments on a post
- [x] Add formatting, ex. HTML, JSON
- [x] Add safe wrappers for static mut members
- [ ] Add more command line options
- [x] max comments count
- [x] sorting
- [x] filtering
- [x] cli verbosity options
- [x] an option to request 'more' elements or not
- [ ] an option for no color output
- [x] an option for printing timestamps
- [ ] Change first arg to url?
- [ ] Perform more tests
- [ ] Media saving (images, videos)

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)