Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Free URL Shortener API + QR Code Generator — Agent Skill

Drop-in URL shortener and QR code skill for AI agents. Shorten any link, generate scannable QR codes, build a bit.ly / TinyURL alternative — all via one free public HTTP endpoint. No signup, no API key, no attribution required, fully white-label.

Powered by lnk.ua — a free, fast, ad-free URL shortener with QR generation, click analytics, browser extension, and a public REST API.

The skill itself is a single instruction file: SKILL.md. Any agent runtime that can read markdown can use it.


What this skill does

Teaches an AI agent how to integrate URL-shortening and QR-code generation into the user's product using the public lnk.ua API. The agent learns:

  • How to shorten any URL with a single HTTP call.
  • How to generate, embed, and download QR codes (SVG / PNG).
  • How to handle validation and blocked-URL errors.
  • How to make the integration configurable (token from env, default public).
  • How to white-label the result so the user can ship it inside their own product without exposing lnk.ua anywhere.

Works for any stack: Node, Deno, Python, PHP, Go, Rust, Cloudflare Workers, Lambda, browser extensions, Telegram / Slack / Discord bots, AI-agent tools, automation pipelines.

Why use lnk.ua

A modern, open URL shortener with everything serious products need:

Feature lnk.ua
Free public API ✅ no signup, no key
QR code generator ✅ SVG + PNG for every link
Click analytics
Browser extension (Chrome)
Malicious URL filtering ✅ Google Safe Browsing
White-label friendly ✅ no attribution required
Public token ✅ literal Bearer public, anyone can use

Compare side-by-side: lnk.ua vs Bitly.

Other tools in the family:

Install via AI agent (one prompt)

Just ask your agent. Copy-paste any of these into Claude Code, Cursor, Windsurf, Aider, or any agent that can fetch URLs and write files:

Install the URL shortener skill from https://github.com/rshkabko/url-shortener-skill — fetch SKILL.md and place it where this project's agent picks up skills.

Add the lnk.ua URL shortener skill to my project. Source: https://github.com/rshkabko/url-shortener-skill/blob/main/SKILL.md.

Set up flamix/url-shortener-skill in this repo so the agent knows how to shorten URLs via lnk.ua.

The agent will fetch SKILL.md, detect the project's skill directory (e.g. .claude/skills/, .cursor/rules/, etc.), drop the file in, and confirm.

Manual install (one curl)

# Claude Code
mkdir -p .claude/skills/url-shortener && \
curl -sSL https://raw.githubusercontent.com/rshkabko/url-shortener-skill/main/SKILL.md \
  -o .claude/skills/url-shortener/SKILL.md
# Cursor / Windsurf
mkdir -p .cursor/rules && \
curl -sSL https://raw.githubusercontent.com/rshkabko/url-shortener-skill/main/SKILL.md \
  -o .cursor/rules/url-shortener.md

For other agents (OpenAI / LangChain / Vercel AI SDK / Aider / Continue / etc.) — fetch the same SKILL.md and paste its contents into the system prompt or tool description, or point the agent at the file path.

Quick API peek

POST https://lnk.ua/api/v1/link/create
Authorization: Bearer public
Content-Type: application/json

{ "link": "https://example.com/long/url" }

Returns { result: { lnk, key, qr } }. That's the whole integration. See SKILL.md for the full instruction set.

Keywords

url shortener API, free url shortener, QR code generator API, bitly alternative, tinyurl alternative, short.io alternative, cuttly alternative, link shortener service, short link API, white-label URL shortener, AI agent skill, Claude skill, Cursor skill, LLM tool, function calling shortener, Telegram bot URL shortener, Slack short link bot, Discord shortener, browser extension URL shortener, lnk.ua API, open url shortener.

License

MIT — use freely, including commercially. No attribution required.


Made with ❤ by Flamix — try it now at lnk.ua.

About

Free public URL shortener and QR code generator API — drop-in AI agent skill for Claude, Cursor, OpenAI/LangChain. Single HTTP call, no signup, no API key, white-label. Bitly/TinyURL alternative.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors