Our 2019 plan:
MQL, a GraphQL endpoint, and hover previews
January 18, 2019
Our roadmap for 2019 has three projects: the Microlink Query Language (MQL), a GraphQL endpoint for Microlink API, and hover previews. Each one has a public RFC on GitHub where you can follow and shape the design.
TL;DR
- Our roadmap for 2019 has three projects, each with a public RFC on GitHub.
- The Microlink Query Language (MQL) is custom rules v2.0: built-in types, selectors declaration, and caching and batching support.
- A GraphQL endpoint for Microlink API returns only the fields you ask for.
- Hover previews render the same card only when the reader points at a link.
We launched the initial product release in March 2018, and months later the launch passed 1000 upvotes on Product Hunt. Since then we have watched how you use the API for link previews, metadata, and scraping, and collected feedback in our community. This plan comes from that feedback.
Custom rules need a query language
Microlink API returns generic metadata for any URL. Most users need specific values from the content instead, like a follower count, page hits, or a price variation.
We launched custom rules for that purpose, but in practice they only work if you have a tiny rules set. Next we are building a developer-friendly client API for scraping, called the Microlink Query Language (MQL). Think of it as custom rules v2.0. The MQL RFC covers the scope:
- Built-in types: each extracted value comes back with a declared type.
- Selectors declaration: declare the selectors for what you want to extract, in one place.
- Caching and batching support: built into the query layer, not left to the client.
A GraphQL endpoint returns only the fields you ask for
GraphQL is a query language Facebook introduced in 2015 as an alternative to REST APIs. A client names the fields it wants, and the server returns only those fields.
That matters once an API response grows and you only need a portion of the payload. Asking for
title and logo instead of the full response saves bandwidth on every call.The Microlink API response keeps growing, and MQL will make it grow faster, since every custom field lands in the payload. A GraphQL endpoint lets you fetch exactly those fields. The GraphQL RFC tracks the design.
Hover previews show context on demand
Hover previews are something we wanted to build from the beginning.
Today the Microlink SDK turns a link into a preview card that you embed in any online publication. When your target is every website on the internet, one presentation does not fit every page, so the SDK needs more than one way to show the same data.
A hover preview renders the same card only when the reader points at a link. The page stays clean, and the extra context appears on user interaction. The hover preview RFC describes the first design.
Comment on the RFCs
The three RFCs are open for comments: MQL, GraphQL endpoint, and hover preview. Reply there or in the community; we read every reply.
Join the community
All of these improvements or features are community driven: We listen to your feedback and act accordingly.
Whether you are building a product, an indie developer, or just interested in web technologies, come chat with us.