WallpaperMachine
The wallpapers you love. A new home on your Mac.
Search Nagaoka bus routes, find stops and departure times
Translation pending
AI summary · website content
LifestyleJavaScript · CSSGitHub @tagutaku21-webOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗長岡市・越後交通、燕市コミュニティバス、新潟市区バス・住民バス、村上市、加茂市、上越市、糸魚川バスのGTFSを使い、「地域を選ぶ → 出発地・目的地を選ぶ → 直通・1回乗り換えを比較する」試作MVPです。
service_id の判定25:10:00、への対応長岡市公式ページでは公共交通GTFSデータがオープンデータとして案内されています。越後交通のGTFSは「ながおかバスi」側で公開されています。燕市・村上市・加茂市・上越市・糸魚川バスはGTFSデータリポジトリで公開されているデータを使います。新潟市は市公式ページで公開されている区バス・住民バスのみを対象にし、新潟交通の市内一般路線やときライナー系は含めていません。
取得から取り込みまでまとめて実行する場合は、以下を使います。
npm run update:gtfs
npm run serve
ブラウザで http://localhost:4173 を開きます。
data/ は作業用の取得・展開場所です。公開するアプリは public/data/feed-list.json と public/data/feeds/*.json を読み込みます。public/data/gtfs-index.json は既存チェック用に長岡データを残しています。
.github/workflows/update-gtfs.yml は毎日04:20(日本時間)ごろにGTFSを取得し直し、public/data に差分がある場合だけコミットします。GitHub Actionsのリポジトリ権限で GITHUB_TOKEN に書き込みが許可されている必要があります。
基準ルートが取り込めているかは、以下で確認できます。
npm run check:sample
まずは以下を確認します。
アプリ内では、まず 長岡駅大手口 を 長岡駅前、長岡赤十字病院 を 日赤病院前 として検索できるようにしています。同名の複数乗り場はまとめて直通便を探します。
public/index.html: 画面public/styles.css: 見た目public/app.js: 直通検索UIpublic/data/feed-list.json: 地域一覧と出典表示public/data/feeds/*.json: 地域別GTFSインデックスscripts/import-gtfs.mjs: GTFS取り込みscripts/serve.mjs: ローカル確認用サーバーdocs/data-sources.md: データ元・ライセンス確認メモnpm run check:sample / npm run check:transfer に加え、npm run check:ux は実際の app.js を読み込み、選択状態・乗換目的地候補・施設検索・便の詳細・日時・日本時間・乗換先の追い越しを検証する。DOMは最小アダプターのため、ブラウザの描画・スクロールや位置情報権限の実機試験ではない。