Computing-focused community centered around link aggregation and discussion.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The lobste.rs API provides access to a wealth of information from the lobste.rs community, a computing-focused curated link aggregation site. It offers endpoints to fetch stories, comments, and user details, which can be integrated into various workflows on Pipedream. This integration allows you to monitor new content, track topics or user activity, and even collate data for analysis. With Pipedream, you can seamlessly connect lobste.rs with hundreds of other apps to create tailored automations without managing servers or writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lobste_rs: {
type: "app",
app: "lobste_rs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://lobste.rs/s/lc58pw/what_are_you_doing_this_week.json`,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})