[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-82901":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":13,"stars90d":15,"forks30d":15,"starsTrendScore":14,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":10,"pushedAt":10,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":25,"discoverSource":26},82901,"kolkata-travel-router","Akash190104\u002Fkolkata-travel-router","Akash190104","Finding Bus Routes in Kolkata","https:\u002F\u002Fkolkata-travel-router.vercel.app\u002F",null,"HTML",113,8,2,0,4,2.86,false,"main",true,[],"2026-06-12 02:04:29","# Kolkata Travel Router\n\nA simple, static route finder for Kolkata buses and metro connections.\n\nKolkata moves by bus and metro, but route information is scattered across memory, local advice, and fragmented lists. This project turns that route data into a searchable graph so people can find direct, one-change, and two-change journeys between stops.\n\nLive site: https:\u002F\u002Fkolkata-travel-router.vercel.app\n\nOld link: https:\u002F\u002Fkolkata-bus-route.vercel.app redirects to the new site after the Vercel project\u002Fdomain change is deployed.\n\n## Features\n\n- Search by starting stop and destination stop\n- Autocomplete for known bus stops and familiar local aliases\n- Direct, one-change, and two-change route suggestions\n- Direction-aware bus routing using separate up\u002Fdown route records\n- Metro-first recommendations when a useful metro route is available\n- Route cards showing buses, metro legs, transfers, and stop counts\n- Map plotting for geocoded stops\n- Vercel Web Analytics support\n- Public visitor badge on the site\n\n## Project Structure\n\n- `kolkata-bus-router.html` - the static web app\n- `index.html` - redirects the root URL to the app page\n- `build.py` - parses and normalizes raw route data\n- `busdata.json` - generated route dataset\n- `raw_busrepo_routes1.js` - local Kolkata\u002FHowrah route source data from Bus Repository\n- `raw_busrepo_routes2.js` - NBSTC\u002Fintercity route source data from Bus Repository\n- `raw_busrepo_routes3.js` - SBSTC\u002Fintercity route source data from Bus Repository\n- `raw_busrepo_routes4.js` - additional regional route source data from Bus Repository\n- `route_intermediate_hints.json` - bounded A-B-C intermediate stop hints from older matched route data\n- `Kolkata_Metro_Bus_Connections.txt` - metro lines and nearest bus-stop connections\n- `vercel.json` - Vercel static hosting configuration\n\n## Recent Data Changes\n\n- Replaced the older `raw_private.txt` and `raw_govt.txt` inputs with Bus Repository route files.\n- Imported all four Bus Repository source files: `routes1.js`, `routes2.js`, `routes3.js`, and `routes4.js`.\n- Preserved bus direction instead of treating every bus route as reversible, so separate up\u002Fdown entries are respected.\n- Kept regional\u002Fintercity routes in the data, but ranked local city routes ahead of them for normal Kolkata searches.\n- Removed supplemental gap-fill routes so routing only uses stops present in the Bus Repository sources and metro file.\n- Added search-only aliases for well-known names that are absent from the source stop list, such as Bidhannagar Station resolving to Ultadanga.\n- Matched Bus Repository's own `replaceLocAlias()` search aliases, including Dharmatala, Sector V, Exide More, and Biswa Bangla Gate.\n- Restored bounded intermediate stops only when an older matching route proves an A-B-C gap in the current Bus Repository route.\n- Kept metro data from `Kolkata_Metro_Bus_Connections.txt` unchanged.\n\n## Run Locally\n\nBecause the app is static, you can open `kolkata-bus-router.html` directly in a browser.\n\nFor a local server:\n\n```bash\npython3 -m http.server 8080\n```\n\nThen visit:\n\n```text\nhttp:\u002F\u002Flocalhost:8080\u002Fkolkata-travel-router\n```\n\n## Rebuild Data\n\nAfter editing route sources:\n\n```bash\npython3 build.py\n```\n\nThis regenerates `busdata.json` and refreshes the embedded app data in\n`kolkata-bus-router.html`, `kolkata-travel-router.html`, and `index.html`.\n\n## Deploy\n\nThe site is deployed on Vercel as a static project. Use `kolkata-travel-router`\nas the new project name, and keep the old `kolkata-bus-route.vercel.app`\ndeployment configured with the redirect in `vercel.json`.\n\n```bash\nvercel deploy --prod\n```\n\n## Analytics\n\nThe app includes Vercel Web Analytics:\n\n```html\n\u003Cscript defer src=\"\u002F_vercel\u002Finsights\u002Fscript.js\">\u003C\u002Fscript>\n```\n\nEnable Web Analytics in the Vercel project dashboard to see detailed visitor data. The public visitor count shown on the page uses a lightweight external badge.\n\n## Contributing\n\nIf this helped you, please star the repo:\n\nhttps:\u002F\u002Fgithub.com\u002FAkash190104\u002Fkolkata-bus-route\n\nRoute corrections, stop-name fixes, and geocoding improvements are welcome.\n","Kolkata Travel Router 是一个帮助用户在加尔各答查找公交和地铁换乘路线的静态网页应用。其核心功能包括通过起始站和终点站搜索路线，支持自动补全已知站点及其别名，并提供直达、一次换乘及两次换乘建议。此外，该应用还具备方向感知的公交路线推荐功能，以及当有可用的地铁线路时优先推荐地铁方案。项目结构简洁，主要由HTML页面构成，数据处理部分使用Python脚本完成。适用于需要快速查询加尔各答公共交通信息的本地居民或游客，特别适合不熟悉城市交通网络的新手。","2026-06-11 04:09:36","CREATED_QUERY"]