Go to file
2025-06-06 07:18:49 +08:00
app fix 2025-06-02 10:30:22 +08:00
components update 2024-11-29 21:50:50 +08:00
img add img 2024-11-30 11:26:42 +08:00
lib fix 2024-11-30 08:19:57 +08:00
.env.example fix bug 2025-06-02 10:22:55 +08:00
.eslintrc.json update 2024-11-29 21:50:50 +08:00
.gitignore update 2024-12-02 12:39:48 +08:00
components.json update 2024-11-29 21:50:50 +08:00
docker-compose.yaml add auto install 2024-11-30 10:53:22 +08:00
Dockerfile update(env):more env 2025-06-02 09:54:40 +08:00
LICENSE 添加许可证 2025-06-06 07:18:49 +08:00
next.config.js fix 2024-11-30 08:19:57 +08:00
package-lock.json update 2024-12-02 12:39:48 +08:00
package.json fix 2025-06-02 10:26:33 +08:00
pnpm-lock.yaml update(env):more env 2025-06-02 09:54:40 +08:00
postcss.config.mjs update 2024-11-29 21:50:50 +08:00
README.md 更新 README.md 2025-06-06 07:17:40 +08:00
tailwind.config.ts update 2024-11-29 21:50:50 +08:00
tsconfig.json update 2024-11-29 21:50:50 +08:00

URL-Shortener

URL-Shortener 是一个基于 Next.js 的简易短链接应用

首页 传送

部署

支持部署环境:

  • Docker
  • Systemd
mkdir url-shortener
cd url-shortener
touch .env ## 参考 .env.example 填写
wget https://git.mei.lv/mei/short-url/raw/branch/main/docker-compose.yaml
docker compose up -d

部署成功后,服务会在 8567 端口上启动

迁移

替换 data/ 目录下的 shorturl.db 文件即可

开发

mkdir data

关于广告

您可以随意替换或删除本应用代码中的广告信息,我们非常鼓励你这么做(或许会成为你学习的动力?)