0.3.3 • Published 2 years ago

@andrewcturing/hacker_news v0.3.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

pipedream

"Google Alerts" for Hacker News

Google Alerts let you "monitor the web for interesting new content" and many of our users like to do the same for Hacker News.

The Hacker News components turn the Hacker News API into an event stream based on your given keyword(s).

Components can emit events, which can be retrieved programmatically via CLI, API or SSE. They can also trigger Pipedream workflows on every event. For example, you can process items from an RSS feed and access the items via REST API, or trigger code to run on every new item using the SSE interface or a workflow.

Usage

or:

Install the Pipedream CLI, then deploy the Hacker News "new stories by keyword" component from the registry:

pd deploy hacker_news-new-stories-by-keyword

Or, deploy the "new comments by keyword" component from the registry:

pd deploy hacker_news-new-stories-by-keyword

Submit your keyword and deploy your component.

You have turned the Hacker News API into a real time event stream!

Docs

Why use components?

Components are similar to serverless functions, like those offered by AWS Lambda. You don't have to manage the server that runs the code — components are hosted on Pipedream infrastructure — and they run on specific events like HTTP requests and timers.

But we believe components are simpler to learn, write, and maintain for many use cases. They let you focus more on the code, and less on the configuration of the function and its associated services:

  • You can configure an HTTP server via props, and can use a built-in key-value store to manage state. Components creates the HTTP interface for you on deploy, and the key-value store comes for free: there's no need to create these resources manually.
  • Components are meant to be reusable. They can accept input via props, which a user sets on deploy.
  • Components are self-contained. Their name, version, props, and code are all defined in one file. This makes components easy to understand at a glance, and easy to fork and modify.

This is also an early release. The component API will improve over time. Right now, we're looking for any and all feedback. Tell us what you're building, what works and what doesn't, and anything you think would improve the product.

Pricing

Pipedream is currently free, subject to the limits noted below. Paid tiers for higher volumes are coming soon.

If you exceed any of these limits, please reach out.

Limits

Components are subject to the limits of the Pipedream platform.

Found a Bug? Have a Feature to suggest?

Any bugs or feature requests for specific components can be raised in this repo as new Github issues or pull requests.

Pipedream also operates a roadmap to solicit feature requests for the Pipedream platform at large (the pipedream.com UI, workflows, the CLI, etc).

You can always reach out to our team - we're happy to discuss feedback or help fix a bug.