尚未偵測到更新。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