Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bejker123/save_reddit_post
https://github.com/bejker123/save_reddit_post
reddit rust utility
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/bejker123/save_reddit_post
- Owner: bejker123
- License: mit
- Created: 2022-09-10T11:51:17.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T01:43:12.000Z (9 months ago)
- Last Synced: 2024-05-08T02:35:21.641Z (9 months ago)
- Topics: reddit, rust, utility
- Language: Rust
- Homepage:
- Size: 457 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE.MD
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/)