Source & license
Upstream license: MIT
License TL;DR
You can use it, change it, self-host it and sell it. Keep the original copyright and license notice with copies of the code. You don’t have to publish your changes. The authors don’t promise it will work.
Explain MIT in plain English →Summary of the main license. Separate packages and assets can have different terms.
Inspect repository ↗Read this project’s actual license ↗Repository owner
See the upstream repository for the original creator and contributors.
Maintain this project? Maintainer verification →Cloudflare hosting
Free tier eligible within limits
A small Pages/D1 shortener can fit Free dynamic request/CPU and D1 read/write/storage allowances. Redirect logging and link creation consume database writes; static Pages traffic is different from dynamic redirect requests. An optional custom domain has its own registration cost.
Hosting requirements
- Initialize the documented D1 tables and bind DB before relying on redirects. Pages hosting alone does not supply the database.
- Keep dynamic invocations under 100k/day and 10ms CPU and D1 below daily row quotas/5GB. This review covers source/deployment eligibility, not link-abuse resistance or an executed service.
- Source and configuration review establishes a deployment path and conditional costs; this candidate was not executed or load-tested.
Sources checked 01/10/2026
Repository snapshot: a423cc3. Hosting eligibility reflects the deployment documentation and listed assumptions.
- bitly ↗
*Demo* : [https://short-3ud.pages.dev/](https://short-3ud.pages.dev/)
- rebrandly ↗
*Demo* : [https://short-3ud.pages.dev/](https://short-3ud.pages.dev/)
- short-io ↗
*Demo* : [https://short-3ud.pages.dev/](https://short-3ud.pages.dev/)
- pages ↗
## 介绍 一个使用 Cloudflare Pages 创建的 URL 缩短器 *Demo* : [https://short-3ud.pages.dev/](https://short-3ud.pages.dev/) ### 利用Tencent EdgeOne Pages 部署 > 未完成,Tencent EdgeOne的KV 存储还在申请中 一键部署: [ ### 利用Tencent EdgeOne Pages 部署 > 未完成,Tencent EdgeOne的KV 存储还在申请中 一键部署: [](https://edgeone.ai/pages/new?repository-url=https://github.com/x-dr/short) ### 利用Cloudflare pages部署 1. fork本项目 2. 登录到[Cloudflare](https://dash.cloudflare.com/)控制台. 3. 在帐户主页中,选择`pages`> ` Create a project` > `Connect to Git` 4. 选择你创建的项目存储库,在`Set up builds and deployments`部分中,全部默认即可。 5. 点击`Save and Deploy`,稍等片刻,你的网站就部署好了。 6. 创建D1数据库参考[这里](https://github.com/x-dr/telegraph-Image/blob/main/docs/manage.md) 7. 执行sql命令创建表(在控制台输入框粘贴下面语句执行即可) ```sql DROP TABLE IF EXISTS links; CREATE TABLE IF NOT EXISTS links ( `id` int
- free-tier-eligible ↗
| **Free** | 100,000 per day | No charge for duration | 10 milliseconds of CPU time per invocation |
- free-tier-eligible ↗
| Rows read | 5 million / day | First 25 billion / month included + $0.001 / million rows |
- free-tier-eligible ↗
| Rows written | 100,000 / day | First 50 million / month included + $1.00 / million rows |
- MIT ↗
MIT License Copyright (c) 2023 x-dr Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WIT
- architecture ↗
## 介绍 一个使用 Cloudflare Pages 创建的 URL 缩短器 *Demo* : [https://short-3ud.pages.dev/](https://short-3ud.pages.dev/) ### 利用Tencent EdgeOne Pages 部署 > 未完成,Tencent EdgeOne的KV 存储还在申请中 一键部署: [ ### 利用Tencent EdgeOne Pages 部署 > 未完成,Tencent EdgeOne的KV 存储还在申请中 一键部署: [](https://edgeone.ai/pages/new?repository-url=https://github.com/x-dr/short) ### 利用Cloudflare pages部署 1. fork本项目 2. 登录到[Cloudflare](https://dash.cloudflare.com/)控制台. 3. 在帐户主页中,选择`pages`> ` Create a project` > `Connect to Git` 4. 选择你创建的项目存储库,在`Set up builds and deployments`部分中,全部默认即可。 5. 点击`Save and Deploy`,稍等片刻,你的网站就部署好了。 6. 创建D1数据库参考[这里](https://github.com/x-dr/telegraph-Image/blob/main/docs/manage.md) 7. 执行sql命令创建表(在控制台输入框粘贴下面语句执行即可) ```sql DROP TABLE IF EXISTS links; CREATE TABLE IF NOT EXISTS links ( `id` integer PRIMARY KEY NOT NULL, `url` text, `slug` text, `ua` text, `ip` text, `status` int, `create_time` DATE ); DROP TABLE IF EXISTS logs; CREATE TABLE IF NOT EXISTS logs ( `id` integer PR
- architecture ↗
## 介绍 一个使用 Cloudflare Pages 创建的 URL 缩短器 *Demo* : [https://short-3ud.pages.dev/](https://short-3ud.pages.dev/) ### 利用Tencent EdgeOne Pages 部署 > 未完成,Tencent EdgeOne的KV 存储还在申请中 一键部署: [



Discussion · 0
sign in to comment →