Giter Site home page Giter Site logo

rss_reader's Introduction

rss_reader

Small project and exercise with rust to make an RSS reader

usage

There are two ways to go about using the reader

Via cargo

Requires installation of Rust and Cargo

cargo build
cargo run -- [ARGS]

Via binary

You can also run the binary (provides the ability to use shortcuts as cargo needs 'long' version arguments)

cargo build //builds the binary, usually in target for most JetBrains IDEs
cd 'target'
./rss_reader [ARGS]

arguments

input

usage

./rss_reader [-i|--input| [FILE]

Uses FILE as the input to the reader. Clashes with url

url

./rss_reader [-u|--url] [URL]

Uses URL as the input, calls via HTTPS with Reqwest to get the returned Response and RSS to parse it. Clashes with input

trim

./rss_reader [-t|--trim]

Sets any values that are determined and managed by the reader to be a maximum of 10 chars long (UTF-8)

replace

./rss_reader [-r|--replace] "FROM|TO"

Takes a string that is separated by | and replaces the FROM to TO. Any additional values in the string are ignored

output

./rss_reader [-o|--output¥ [FILE]

Uses the provided FILE as output

rss_reader's People

Contributors

mercanuis avatar

Stargazers

Tim Kersey avatar Tim Oliver avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.