Code Monkey home page Code Monkey logo

producthunt-shell's Introduction

product hunt shell

product hunt shell is a web based linux shell emulator written in JavaScript that lets you browse and interact with product hunt via command line https://producthuntshell.com/

Features

  • Browse products, collections, and users.
  • Browse post threads/comments and user activity data.
  • Scope-based tabbed auto-completion of commands and usernames (double tab for list view)
  • Login authentication via OAuth 2
  • Retrieve your notifications and account settings
  • Display inline thumbnails for products # set img on
  • Change limit on number of retrieved posts, comments # set limit [auto|1-100]
  • Command format exceptions that cover most preferences

Future TO-DO

  • more logged in user actions, voting, commenting
  • searching for things

Example Commands

  • # list - list today's featured products
  • # list older - list yesterday's featured products
  • # view comments 1 - view the comment thread for the specified index
  • # user rrhoover votes - view posts rrhoover has voted on

Commands

  • list
    • Aliases: ls, cd
    • Options:
      • [older|newer] - navigate results, can only be used on result set
      • [..|-|~/] - common directory nav commands - can only be used with the "cd" alias
  • Description: list today's featured posts
  • list all
    • Aliases: ls, cd
    • Options:
      • [older|newer] - navigate results, can only be used on result set
    • Description: list all posts including ones that didn't get featured
  • collections
    • Options:
      • [older|newer] - navigate results, can only be used on result set
    • Description: list most recent featured collections
  • collections all
    • Options:
      • [older|newer] - navigate results, can only be used on result set
    • Description: list most recent collections from all users
  • view content [index]
    • Description: opens the link of the specified post index in a new window.
  • view comments [index]
    • Options:
      • [older|newer] - can only be used on result set
    • Description: loads the comments from the specified post index.
  • user
    • Options:
      • [username]
    • Description: gets user information for the specified username
  • user [username] votes
    • Options:
      • [older|newer] - can only be used on result set
    • Description: gets most recent posts the specified user has voted on
  • user [username] posts
    • Options:
      • [older|newer] - can only be used on result set
    • Description: gets most recent posts the specified user has submitted
  • user [username] products
    • Options:
      • [older|newer] - can only be used on result set
    • Description: gets most recent products the specified user has made
  • login
    • Description: redirects your browser to producthunt.com and requests permission for product hunt shell to load and use user data
  • logout
    • Description: De-authenticates the currently logged in user
  • notifications
    • Options:
      • [older|newer] - can only be used on result set
    • Description: gets most recent notifications for the currently logged in user
  • settings
    • Description: list the settings for the current user
  • set
    • Options:
      • [images] [on|off]
        • Aliases: img
      • [limit] [auto|1-100]
    • Description: Changes settings for user preference. Turning images on will show the inline thumbnail for all products. Limit decides how many results to return for posts and comments. "auto" picks the best limit for your screen resolution without having to scroll (unless viewing a nested comment tree or all featured posts for a day)
  • pwd
    • Description: Prints working directory
  • clear
    • Description: Clears the screen
  • about
    • Description: Displays project info and credits
  • help
    • Aliases: cat readme
    • Description: Displays more detailed instructions

Libraries

producthunt-shell's People

Contributors

jasonbio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.