{"id":46534721,"url":"https://github.com/emanuelen5/vartarvipavag","last_synced_at":"2026-03-06T23:10:25.685Z","repository":{"id":304226723,"uuid":"1018141438","full_name":"emanuelen5/vartarvipavag","owner":"emanuelen5","description":"Vart är vi på väg? Interrail Journey tracker","archived":false,"fork":false,"pushed_at":"2026-01-29T12:12:10.000Z","size":281,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-30T02:29:25.930Z","etag":null,"topics":["interrail","react","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emanuelen5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-11T17:16:17.000Z","updated_at":"2026-01-29T12:12:14.000Z","dependencies_parsed_at":"2025-07-11T20:22:40.029Z","dependency_job_id":"4e8a1871-1783-4d11-9269-e4f5f87ef390","html_url":"https://github.com/emanuelen5/vartarvipavag","commit_stats":null,"previous_names":["emanuelen5/vartarvipavag"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emanuelen5/vartarvipavag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelen5%2Fvartarvipavag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelen5%2Fvartarvipavag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelen5%2Fvartarvipavag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelen5%2Fvartarvipavag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emanuelen5","download_url":"https://codeload.github.com/emanuelen5/vartarvipavag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelen5%2Fvartarvipavag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30202585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["interrail","react","typescript"],"created_at":"2026-03-06T23:10:25.237Z","updated_at":"2026-03-06T23:10:25.656Z","avatar_url":"https://github.com/emanuelen5.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚂 Journey Tracker\n\nA real-time web application for tracking and visualizing our traveling adventures. Built with React + TypeScript frontend and Node.js + Express backend.\n\n## 👫 About Us\n\nWe (Sara and Erasmus) are going interrailing 2025 and wanted to play around with different vibe coding tools for learning purposes, so created this not-too-useful app for our friends and families to follow our trip!\n\n## 🚀 Quick development setup\n\n1. **Clone and install**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd vartarvipavag\n   npm run install:all\n   ```\n\n2. **Start development**\n   ```bash\n   npm run dev\n   ```\n\n   **Build**\n   ```bash\n   npm run build\n   ```\n\n3. **Open in browser**\n   - Frontend: http://localhost:3000\n   - Backend: http://localhost:3001\n\n## Deployment\n\nConfigure NGINX and Homeassistant as described in [./config/README.md](./config/README.md), and then download the pre-built docker image (or build it yourself) for the server:\n\n```\ndocker pull ghcr.io/emanuelen5/vartarvipavag-server:main\ndocker run --rm -p 3001:3001 --volume $(pwd)/data:/data ghcr.io/emanuelen5/vartarvipavag-server:main\n```\n\nThen you need to also host the client / front-end somewhere (like through Github pages, as we do).\n\n\u003e [!NOTE]\n\u003e You'll need to set the Github repository secret `API_URL` to the URL of your backend if you build yourself for Github pages.\n\n## 🏗️ Architecture\n\n**Frontend (React + TypeScript)**\n- Interactive map with React-Leaflet\n- Real-time position updates\n- Journey statistics and visualization\n- Responsive design for mobile\n\n**Backend (Node.js + Express)**\n- RESTful API with TypeScript\n- SQLite database for position storage\n- Security middleware (write access restricted to localhost)\n\n## 🛠️ Tech Stack\n\n- **Frontend**: React 18, TypeScript, React-Leaflet, Vite\n- **Backend**: Node.js, Express, SQLite, TypeScript\n- **Map**: OpenStreetMap tiles via Leaflet\n- **Deployment**: Docker support included\n\n## 📱 Features\n\n- **Real-time Map**: Interactive visualization of the journey\n- **Position Classification**: Night stops vs daily positions\n- **Journey Stats**: Distance, duration, and position tracking\n- **Mobile-Friendly**: Responsive design for on-the-go updates\n\n## 🔐 Security\n\nRead operations (map viewing) are public, write operations (adding positions) are restricted to localhost for Home Assistant integration.\n\n## 📁 Project Structure\n\n```\nvartarvipavag/\n├── client/          # React frontend\n├── server/          # Express backend  \n├── config/          # Nginx \u0026 deployment configs\n└── *.md             # Documentation\n```\n\n---\n\n*Happy travels! 🚂✨* \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelen5%2Fvartarvipavag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femanuelen5%2Fvartarvipavag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelen5%2Fvartarvipavag/lists"}