What is Peekalink?
Peekalink is an API that allows developers to preview almost every link in the web.
How does it work?
When you send us a link, we fetch it in our servers, analyse it and optimise it, we will then send you back a preview of what’s behind the link.
You are viewing: What Is Peek Link
Although this might sound quite simple, we actually do a lot of magic 🪄 in order to deliver a fast, reliable and complete preview of the link.
Some of the things we do are:
- Following redirections and the web’s caching and invalidation mechanisms gracefuly
- Upgrading requests to HTTPs if available
- Using semantic text analysis to find missing titles and descriptions
- Downloading, optimising and storing icons and thumbnails in a global CDN
- Enriching platform links with platform specific details, such as Youtube links with view counts, channel, like ratios and more.
- Analysing links connection requests to provide information on trackers and ad networks in the website
- Monitoring links for changes in order to deliver up-to-date previews
Doing all of these and more result in the fastest and most advanced link preview service on the web 🚀.
Why is it useful?
Link previews is an incredibly common feature to have in social networks and messaging apps.
They add valuable context to what otherwise would just be a string of undecipherable characters like https://youtu.be/dQw4w9WgXcQ, in other words, it turns sharing links into sharing content.
This encoruages people to share more, be it Youtube videos, Soundcloud songs, Spotify playlists or just another article over how trickle-down-economics are a lie to enrich the rich and impoverish the poor.
Read more : What Can Faith Can Do
This in turn sparks users conversations and discussion, increasing your user engagement, usability and satisfaction.
Quick example
Let’s say you send the following request to us.
In this POST request, you added your API key on the header X-API-Key and in the request body you added the link https://bit.ly/3frD2OP which you want us to preview.
If you now print the result of the request print(response.json()) , you will see the following.
Congrats! 🎉 You have now previewed your first link.
The cherry on the top
After finding no other link previews solution up to our standards, we built Peekalink for our privacy-friendly and open-source social network Okuna.
While we were building the service, we realised most of the other social networks and messaging apps posed risks and costs unbeknown to their users.
How they usually preview links is by downloading and processing the links in your device, this means that your IP and potentially your identity is leaked, sometimes also running Javascript code of the previewed website in your device and without your consent, posing a potential security risk and draining your battery.
Read more : What Is Not A Filter Setting For Data In Views
To make things worse, the images on the link previews are loaded directly from the website, resulting in a huge bandwidth drain from the application which if on a mobile phone plan, can be costly for users.
If you are using Peekalink, you are already 97% done in mitigating these issues for your users.
- We employ sandboxed machines to generate the link previews, meaning there is no extra bandwith costs nor security risks.
- We optimise all media, resulting in significantly lower bandwith.
- Because we generate the preview in our servers, we do not reveal your users IP address nor any other identifiable information to the websites, mitigating the privacy risk.
We are also happy to see that in the time since then, researchers and media have catched up on this.
What about the remaining 3%?
Privacy-enthusiast can rightfully argue that by loading the link preview images from our CDN (https://cdn.peekalink.io) you are still leaking their IP to us.
While we ensure you that we do not collect any kind of information from your users as stated in our privacy policy, if you want to be extra paranoid, you can set up a reverse proxy to load the media images through it.
At the end, this would see your users loading images from
instead of
Get started
In order to get started, head to setup
Source: https://t-tees.com
Category: WHAT