Url shortener, collect visit info, project link is https://dlj.sh/nqYXaOL \n 短链接生成, 访客信息收集,项目链接: https://dlj.sh/nqYXaOL
URL Shorter is a simple URL shortening tool built with Next.js, Postgres, and Redis. It provides a convenient way to shorten long URLs to make them easier to share. The tool includes features such as tracking visits, a responsive user interface, support for multiple languages, dark mode, and the ability to view visit information on a dashboard.
To install URL Shorter, follow the steps below:
npm install
DATABASE_URL: The URL of your Postgres database.REDIS_URL: The URL of your Redis server.NEXTAUTH_URL: The base URL of your website.GITHUB_ID and GITHUB_SECRET: GitHub OAuth credentials for authentication.npm run build
npm run start
NEXTAUTH_URL.URL Shorter is a useful tool for creating and managing shortened URLs. It offers essential features such as tracking visits, a responsive interface, and a dashboard for monitoring visit statistics. With support for different languages and dark mode, it provides a customizable experience for users. The installation process is straightforward, and developers can easily set up the application with the provided guide.