尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
A modern, mobile-first React web app that converts any what3words address to precise coordinates and provides instant access to interactive maps.
Built with React + Vite for lightning-fast development and Vercel serverless functions for seamless deployment.查看完整 README ↗A modern, mobile-first React web app that converts any what3words address to precise coordinates and provides instant access to interactive maps.
Built with React + Vite for lightning-fast development and Vercel serverless functions for seamless deployment.
• Smart Input Processing - Accepts what3words addresses in any format (dots, spaces, commas, leading slashes)
• Real-time Conversion - Instant conversion to latitude/longitude coordinates
• Multiple Map Integrations - Direct links to Google Maps and Apple Maps
• Responsive Design - Beautiful UI with Material Tailwind components
• Copy to Clipboard - One-click copying of coordinates and map links
• Embedded Preview - Live Google Maps preview (desktop)
• No API Key Required - Uses intelligent web scraping approach
# Install dependencies
pnpm install
# Start frontend with hot reloading
pnpm run dev
# → http://localhost:5173 (API calls will fail, but great for UI work)
# Run both frontend and backend
pnpm run dev:full
# → Frontend: http://localhost:5173 (with hot reloading)
# → API: http://localhost:3000 (serverless functions)
# Just the serverless functions
pnpm run dev:api
# → http://localhost:3000
src/
├── main.jsx # React entry point
├── App.jsx # Main React component
├── index.css # Tailwind styles
api/
├── convert.js # Serverless function for w3w conversion
public/
├── index.html # HTML template
├── vite.config.js # Vite configuration
├── vercel.json # Vercel deployment config
└── package.json # Dependencies & scripts
Frontend:
Backend:
Deployment:
POST /convertConvert a what3words address to coordinates.
Request:
curl -X POST http://localhost:3000/convert \
-H "Content-Type: application/json" \
-d '{"w3w": "index.home.raft"}'
Response:
{
"latitude": 51.520847,
"longitude": -0.195521
}
Supported Formats:
index.home.raft///index.home.raftindex home raftindex, home, raftThis project uses two servers for optimal development experience:
Why two servers?
| Command | Description |
|---|---|
pnpm run dev | Frontend only (hot reloading) |
pnpm run dev:full | Frontend + API (recommended) |
pnpm run dev:api | API only |
pnpm run build | Production build |
# Deploy to Vercel
vercel --prod
The app automatically deploys:
Build the static frontend:
pnpm run build
# Files in dist/ folder
Deploy the api/ folder as serverless functions on your platform of choice.
React + Vite: Lightning-fast development with instant hot reloading
Serverless Functions: Scalable backend without server management
Web Scraping: No API keys or rate limits
Vercel: Seamless deployment with global CDN
This JAMstack approach provides excellent performance, developer experience, and scalability.
MIT License - feel free to use this project for your own what3words conversion needs!
The project includes a custom favicon set based on the map pin icon:
public/favicon.svg - Vector favicon (main)public/favicon-16x16.png - 16x16 PNGpublic/favicon-32x32.png - 32x32 PNGpublic/apple-touch-icon.png - 180x180 Apple touch iconpublic/android-chrome-192x192.png - 192x192 Android iconpublic/site.webmanifest - Web app manifest