ai-agent

Shawty

Smallest URL shortener in Go
309 stars30 forksGoUpdated 4/16/2018100% free · open source
What it does

Shawty is a tiny URL shortener written in Go that allows you to shorten long URLs into shorter, more manageable links.

When to use it
  • When you need to share a long URL in a character-limited space, such as a tweet or text message
  • When you want to track clicks on a specific link without using a full-featured analytics tool
  • When you need a simple, lightweight URL shortener for a small project or prototype
Ready-to-paste prompt
curl -X POST -H 'Content-Type: application/json' -d '{"url": "https://www.example.com/very/long/url"}' http://localhost:8080/api/shorten
Heads up: Make sure you have Go installed on your system and the `$GOPATH` environment variable is set, as Shawty uses the Go module system to install and run
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/shawty && curl -fsSL https://workflowstacks.com/api/skills/shawty/claude-skill -o ~/.claude/skills/shawty/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Shawty works
Codeflow
Free to inspect

Shawty is a tiny Go project (~80 lines across 5 code files). Setup is light: small project — see the README for how to run it. Last commit 102 months ago, MIT license, has a test suite.

Size
Tiny codebase
~80 lines · 5 code files · 2 min skim
Setup
Light setup
Small project — see the README for how to run it.
Runs on
Go
No API keys detected
Go 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    main.go
    Where the program starts running
What's in each folder
storages/Folder3 files
handlers/Folder1 files
READMEHas testsThin docsNo CIMIT licenseLast update 102 mo ago
Quick Actions
Details
Creator
didip
Language
Go
Category
ai-agent
Published
8/21/2014

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.