My IP and Network Information, Using the GeoLite2 Free GeoCN and qqwry database.
- GeoLite2 Free - MaxMind GeoLite2 Free IP geolocation data.
- GeoCN - China IP geolocation data.
- qqwry.ipdb - China IP geolocation data.
First, run the development server:
pnpm install
pnpm dev
Open http://localhost:3000 with your browser to see the result.
Add MAXMIND_LICENSE_KEY
to the .env file.
pnpm update-db
Implement Redis caching for Baidu and Meituan IP lookup services, and add REDIS_URL
to the .env file.
You can deploy your MyIP to Vercel with one click:
Check out our Next.js deployment documentation for more details.