An open API service indexing awesome lists of open source software.

https://github.com/wind-liang/link-to-image

链接转二维码,适合微信公众号文章等
https://github.com/wind-liang/link-to-image

Last synced: 3 months ago
JSON representation

链接转二维码,适合微信公众号文章等

Awesome Lists containing this project

README

          

# 链图

一个简单易用的链接转二维码图片生成器。输入链接后,会自动生成一张包含二维码、网站标题和简介的图片。

在线访问地址:[https://qr.windliang.wang/](https://qr.windliang.wang/)

如果觉得这个项目对你有帮助,欢迎给个 star ⭐️

> 本项目由 [Cursor](https://cursor.sh/) AI 辅助编码完成,[开发过程记录](https://mp.weixin.qq.com/s/IjOe7asSVSmyg42iY-tbkw)。

## 功能特点

- 🔗 输入链接自动生成二维码
- 📝 自动抓取网站标题和简介
- 🎨 生成精美的图片
- 📱 支持移动端访问
- 🚀 快速响应,即时生成

## 技术栈

本项目基于 [Next.js](https://nextjs.org) 构建,使用了以下技术:

- [Next.js](https://nextjs.org) - React 框架
- [Geist Font](https://vercel.com/font) - Vercel 设计的现代字体
- TailwindCSS - 样式处理
- Sharp - 图片处理
- QRCode - 二维码生成

## 本地开发

1. 克隆项目并安装依赖:

```bash
npm install
# or
yarn install
# or
pnpm install
```

2. 运行开发服务器:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```

3. 在浏览器中打开 [http://localhost:3000](http://localhost:3000) 查看效果

## 部署

项目可以轻松部署到 [Vercel 平台](https://vercel.com)。也可以根据 [Next.js 部署文档](https://nextjs.org/docs/app/building-your-application/deploying) 部署到其他平台。