URL shortener
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Rel.ink is an incredibly useful and powerful URL Shortener API. With Rel.ink,
you can streamline URLs, improve web performance, and increase user engagement.
This makes Rel.ink a great choice for developers looking to craft unique,
feature-rich web apps.
The possibilities are practically endless. Here are a few examples of
applications you can create with Rel.ink's URL Shortener API:
Rel.ink offers an advanced URL Shortener API that you can use to implement a
variety of features and applications—from social media links to custom links,
QR codes to video previews. With Rel.ink, you can craft custom web apps that
streamline and optimize the user experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
relink_url_shortener: {
type: "app",
app: "relink_url_shortener",
}
},
async run({steps, $}) {
const data = {
"url": `https://yoururl.com`,
}
return await axios($, {
method: "post",
url: `https://rel.ink/api/links/`,
data,
})
},
})
// 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
},
})