sink

Manage short links via REST API with CRUD, import, export, and analytics.

7.0k|5.0k|Updated May 5, 2024
One-click install
npx skills add https://github.com/miantiao-me/Sink --skill sink
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sink
Source: https://github.com/miantiao-me/Sink/tree/main/skills/sink
Command: npx skills add https://github.com/miantiao-me/Sink --skill sink

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate the management of short links via a centralized REST API, eliminating manual work and inconsistencies when creating, querying, updating, deleting, or exporting links.

Core Features & Use Cases

  • Create and shorten URLs via a REST API with optional slug and metadata.
  • Query, update, delete, and list existing short links, including batch import/export.
  • Utilize AI-generated slugs and access link analytics for insights.

Quick Start

Call the Create Link endpoint with a target URL to generate a new short link.

Frequently Asked Questions about sink

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate short link management via a REST API?

You can automate short link management by calling REST API endpoints to create, query, update, delete, list, import, and export links. This eliminates manual work and inconsistencies when managing URLs through a centralized interface.

What is AI slug generation for short URLs?

AI slug generation automatically creates readable, unique path identifiers for short URLs. This feature is integrated into the link creation process via the REST API, allowing you to generate optimized slugs without manual input.

Can I batch import and export short links using an API?

Yes, the REST API supports batch import and export of existing short links. You can programmatically list, update, and transfer link data in bulk, ensuring consistency across your link management system.

Do I need a Bearer token to access short link analytics endpoints?

Yes, Bearer token authentication is required to access the REST API endpoints under /api/link/*. You must provide this token along with your base URL, such as https://your-sink-domain, to retrieve analytics data.

What's the best way to track short URL analytics programmatically?

The best way to track short URL analytics programmatically is by querying the REST API endpoints. The API provides access to link analytics for insights, allowing you to fetch traffic data directly alongside managing your links.