Go to file
2024-11-30 09:40:50 +08:00
app update 2024-11-29 21:50:50 +08:00
components update 2024-11-29 21:50:50 +08:00
lib fix 2024-11-30 08:19:57 +08:00
.env.example fix 2024-11-30 08:19:57 +08:00
.eslintrc.json update 2024-11-29 21:50:50 +08:00
.gitignore update 2024-11-29 21:50:50 +08:00
components.json update 2024-11-29 21:50:50 +08:00
docker-compose.yaml fix 2024-11-30 08:19:57 +08:00
Dockerfile fix 2024-11-30 08:19:57 +08:00
next.config.js fix 2024-11-30 08:19:57 +08:00
package-lock.json fix 2024-11-30 08:19:57 +08:00
package.json update 2024-11-30 09:31:54 +08:00
postcss.config.mjs update 2024-11-29 21:50:50 +08:00
README.md update 2024-11-30 09:40:50 +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

部署方式:

git clone https://git.mei.lv/mei/short-url.git
docker build -t url-shortener:v0.1.0 .
mkdir /opt/url-shortener
cd /opt/url-shortener
wget https://git.mei.lv/mei/short-url/raw/branch/main/docker-compose.yaml
docker compose up -d

迁移

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