Skip to content

Yuiinars/short-link-tracker-remover

Repository files navigation

Short Link Tracker Remover

A high-performance, TypeScript-based API that swiftly intercepts and sanitizes short links, removing tracking parameters.

TypeScript 100% Latest Version

Powered by Fastify Bun.sh Runtime

Cloudflare Turnstile Supported

Table of Contents

Features

  • 🚀 High performance, scalability, and maintainability
  • 🧹 Efficient tracking parameter removal from URLs
  • 🌐 Multiple domain-specific cleaners
  • 🔌 RESTful API for seamless integration
  • 💻 100% TypeScript implementation
  • 🛡️ Comprehensive SSRF attack defense measures
  • 📦 Out-of-the-box, user-friendly setup and configuration

Supported Services

Service Supported domain-specific
Bilibili ✅ Yes bibili.com, b23.tv
Youtube ✅ Yes youtube.com, youtu.be
Weixin ✅ Yes mp.weixin.qq.com
NetEase Cloud Music ✅ Yes music.163.com, 163cn.tv
Xiaohongshu ✅ Yes xhs.link, xiaohongshu.com
JD.com ✅ Yes 3.cn
Taobao/GooFish (Xianyu) ✅ Yes m.tb.cn, tb.cn
Spotify ✅ Yes spotify.app.link, spotify.com

Welcome to contribute, thanks!

API Docs

See the API.md

Requirements

  • Bun runtime
  • Node.js 14+ (for development)

Installation

  1. Clone the repository:
git clone https://github.com/Yuiinars/short-link-tracker-remover.git
cd short-link-tracker-remover
  1. Install dependencies:
bun install

Usage

Configuration

modify src/config.example.ts to your needs:

cp src/config.example.ts src/config.ts

Development

bun run dev

Production

bun run start

LISENSE

GNU GPLv3

About

A fast API for cleaning links and removing trackers, built with TypeScript.

Topics

Resources

License

Stars

Watchers

Forks

Contributors