README.en.md

July 14, 2026 · View on GitHub

AI Shortlink logo

AI Shortlink

Keep every shared entry point controllable after it leaves your hands.
A self-hosted short link and live QR platform built for ownership, review, analytics, and responsible AI-assisted operations.

简体中文 · English

CI License Go Docker Production

Live product · Principles · Capabilities · Quick start · Roadmap · Contributing

Product preview

AI Shortlink modern admin console demo

The recording comes from a real instance and moves through the operations dashboard, compact short-link actions, live QR entry configuration, QR pools, and SVG / PNG / WEBP publishing. The current production build is available at s.flyfish.dev.

Once a link or QR code is printed, published, or forwarded, it is difficult to take back. Its destination, permissions, and operating policy still need to evolve. AI Shortlink treats links and QR codes as durable digital entry points rather than one-time conversion artifacts.

  • Stable entry, evolving destination. Keep the public address fixed while safely changing targets and distribution rules.
  • Control before automation. Automated changes should be reviewable, confirmable, reversible, and auditable.
  • Explicit ownership. Users manage only their own resources; administrators manage global settings and approvals.
  • Lightweight, not incomplete. A single Go service with an embedded admin UI and SQLite by default, plus MySQL/MariaDB for larger deployments.

What does “AI” mean?

Issue #1 asked whether AI only means that the project was built with AI. It does not, and it also does not imply that every current feature is AI-powered.

The name captures two directions:

  1. Engineering practice: human-led, AI-assisted development across design, implementation, testing, and documentation. Maintainers remain responsible for every decision.
  2. Product direction: optional model integrations for configuration drafts, review context, risk signals, and operational insights.

The current release focuses on dependable link infrastructure. It does not call an LLM by default and does not send link or user data to a third-party model provider. Future AI features must be opt-in, data-minimal, human-confirmed, explainable, and auditable. See ROADMAP.md for the staged plan.

Capabilities

AreaIncluded today
Short linksCustom codes, redirect types, schedules, visit limits, fallback URLs, QR codes, analytics
Live QR operationsStable entry, multi-code pools, ordering, weights, rotation strategies, transactional saves
Branded QR codesclassic / rounded / dots, colors, center logo, live preview, SVG / PNG / WEBP export
Team workflowMulti-user ownership, admin review, approval/rejection email, audit records
AuthenticationMagic Link, GitHub OAuth, trusted-browser login, recovery key, account status controls
Analytics30-day trends, unique IPs, device/browser breakdowns, display and long-press intent events
DeploymentDocker, Linux amd64 binary, Render, SQLite, MySQL / MariaDB
InternationalizationChinese and English product names, UI, and transactional email copy

Quick start

Docker with embedded SQLite is the smallest deployment:

git clone https://github.com/flyfish-dev/shortlink.git
cd shortlink
cp .env.example .env
docker compose up -d --build

Open http://localhost:8080/setup and complete the setup wizard. Runtime data is stored in a Docker volume.

For local builds, install Go 1.23+, a C compiler, and SQLite3 development headers:

make test
make build
./bin/ai-shortlink

See the deployment guide for MySQL/MariaDB, GitHub OAuth, SMTP, HTTPS reverse proxying, systemd, and Render.

AI evolution

StageGoalStatus
Trusted entry foundationLinks, live QR, ownership, review, analytics, authentication, deploymentDelivered; hardening continues
AI integration foundationOptional providers, explicit data scope, prompt versions, invocation audit, graceful fallbackPlanned
Configuration assistantTurn natural-language intent into a reviewable configuration draftPlanned
Review assistantSummarize destination context and risk signals without replacing admin judgmentPlanned
Operational insightsExplain trends, flag anomalies, and propose traceable optimizationsExploring

The roadmap is not a release-date commitment. Features should begin as discussable Issues before implementation. Share real use cases through a Feature request.

Documentation

License

AI Shortlink is licensed under GNU Affero General Public License v3.0 only, SPDX AGPL-3.0-only. If you modify, distribute, or provide this project as a network service, follow the corresponding source-availability and notice requirements. See NOTICE for attribution details.

Copyright (C) 2026 Flyfish Dev