Git Product home page Git Product logo

reddit-cli's People

Contributors

rjt5412 avatar

Watchers

 avatar  avatar

reddit-cli's Issues

Posts commands

Add post related commands to the CLI

  • post hot: List hot posts for a subreddit
  • post new: List new posts for a subreddit
  • post rising: List rising posts for a subreddit
  • post top: List top posts for a subreddit
  • post controversial: List top posts for a subreddit

Subreddit commands

Add subreddit related commands to the CLI app.

  • subreddit-subscribed: List all the subscribed subreddits for the user
  • subreddit-new: List new subreddits
  • subreddit-popular: List popular subreddits
  • subreddit-search: Search a subreddit by title or description

Profile Commands

Add Profile commands to the CLI app to do the following:

  • profile-prefs: View Profile preferences/settings
  • update-prefs: Update Profile preferences/settings

User Authentication

Create a login command that sends a request to reddit API for an access token(based on Reddit API docs). The login commands expects a local credentials json file and the user would be prompted for password.
The response token and associated metadata needs to be stored locally so that user doesnt have to login each time. The locally stored response token would be destroyed if any CLI command is invoked again and token is found to be expired. In this case, user would be prompted to login again.

TODO:

  • Add and implement login command
  • Prompt user to login again if any CLI command is invoked and token is expired.

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.