2026-07-30 00:01:24 +00:00

JGA-2026 Logo

JGA-2026

Interactive Prague Tour Map, Public Transit Guide & Offline-Capable PWA Companion for the 2026 Bachelor Party

🇬🇧 English · 🇩🇪 Deutsch


Overview

JGA-2026 is a static, zero-backend Progressive Web App (PWA) built for a bachelor party trip to Prague (25–26 July 2026, 8 participants, based at Iris Hotel Eden). It bundles interactive Leaflet maps with activity locations and Prague public transit routes, weather planning, an offline-persistent packing checklist, a live countdown, travel games, a Czech phrasebook, and a shared memory book.


Features

  • Landing Hub (index.html): Quick-access cards to all maps and tools, trip summary pills, Light/Dark theme toggle, lunch recommendations near the hotel, and categorized venue cards.
  • Interactive Tour Map (tourenplan.html): Leaflet map displaying all Prague locations (1 base hotel + 11 attractions; originally 11 core venues expanded with FunArena Axe Throwing) with emoji markers, popups (address, price, website), nearby recommendations, and routing/distance estimates.
  • Public Transit Tour Map (tourenplan-mit-tram.html): Extended interactive map integrating Prague public transit (PID GTFS data with Metro lines A, B, C in official DPP colors, individually selectable Tram polylines 2, 4, 7, 13, 17, 18, 22, and 15 key transfer stops; also covering the 13 tram lines 3, 4, 5, 6, 9, 10, 13, 14, 16, 17, 18, 22, 24, 26 and major stops such as Slavia–Nádraží Eden, Kubánské náměstí, Muzeum, Staroměstská, Národní třída, Jiráskovo náměstí, Vyšehrad, Pražského povstání, Pankrác, Svatoplukova, and Náměstí Míru).
  • Weather Forecast (wetter.html): Prague weather outlook for 25–26 July with historical averages, live weather links, and packing tips.
  • Interactive Packing List (packliste.html): Checklist with progress bar persisted automatically in browser localStorage.
  • Live Countdown (countdown.html): Real-time countdown to the trip with social share action and preparation progress.
  • On-the-Go Games & Phrasebook:
    • trinkspiel.html: Card-free drinking games with rules for bars and tram rides.
    • strafen.html: Random penalty/punishment generator with editable entries.
    • tschechisch.html: Czech cheat sheet with 24 essential phrases, pronunciation guides, search bar, and one-tap copy buttons.
    • memory.html: Interactive JGA memory book for participant profiles and trip memories.
  • PWA & Offline Support (manifest.json & sw.js): Installable standalone mobile app experience with intelligent caching for pages and map tiles.

How It Works & Tech Stack

The project consists entirely of self-contained HTML/CSS/JavaScript pages—requiring no Node.js runtime, database, or build pipeline.

Component Technology / Source Details
Frontend Vanilla HTML5, CSS3, JavaScript 10 standalone interactive pages with localStorage persistence
Maps Leaflet 1.9.4 Interactive zoom/pan maps, custom emoji markers, popups, polylines
Map & Transit Data OpenStreetMap (Overpass API & Nominatim), Official PID GTFS Feed Geocoding, OSM/Carto base tiles, Metro A/B/C & Tram routes
Routing & Weather OSRM, Open-Meteo Distance/drive-time lookups and weather data (network-only)
PWA & Offline Web App Manifest (manifest.json) & Service Worker (sw.js) jga-2026-v4 cache lifecycle

Service Worker Caching Strategy (sw.js)

  • Local HTML/JS/CSS/JSON (jga-2026-pages-v4): Network-first — fetches fresh content when online and falls back to cached pages (or ./index.html) when offline.
  • Map Tiles (jga-2026-tiles-v4): Cache-first — caches OpenStreetMap and CartoDB tiles as you browse so viewed map areas remain available offline (returns HTTP 503 if uncached while offline).
  • External APIs (OSRM, Open-Meteo): Network-only — bypassed without caching.

Prerequisites & Installation

Prerequisites

  • Any modern web browser (desktop or mobile)
  • Optional: Python 3 or any static HTTP server if testing Service Worker / PWA installation locally (Service Workers require https:// or http://localhost)

Clone & Open Locally

git clone https://git.orfel.de/Orfel-HermesAI-Bot/JGA-2026.git
cd JGA-2026

Option A — Direct Browser Launch: Double-click index.html to open the landing page in your browser (maps and localStorage tools work directly).

Option B — Local Static Server (Recommended for PWA / Service Worker):

python -m http.server 8080

Then open http://localhost:8080/index.html.


Configuration

No environment variables or server configuration are required. Key client-side PWA settings are defined in manifest.json:

  • name: "JGA Prag 2026" (short_name: "JGA Prag")
  • start_url: "./index.html"
  • display: "standalone" (orientation: "portrait-primary")
  • background_color: "#1c1c1f", theme_color: "#3b82f6", lang: "de"

Interactive checklists (packliste.html), custom punishments (strafen.html), and participant entries (memory.html) store their state locally in the user's browser (localStorage).


Usage

Opening Maps & Tools

  1. Open index.html for the overview of all maps, tools, and locations.
  2. Click "Karte öffnen" on either Tourenplan (tourenplan.html) or Tourenplan + Tram (tourenplan-mit-tram.html).
  3. Zoom and pan as in Google Maps; click any marker for address, pricing, and website links.
  4. In tourenplan-mit-tram.html, Metro lines A, B, C are shown by default and individual tram lines can be toggled one at a time via radio buttons to keep routes clear.

Prague Locations

Emoji Location Address Price / Notes
🏨 Iris Hotel Eden Vladivostocká 1539/2, Praha 10 – Vršovice Base accommodation (3 min walk to Tram Slavia – Nádraží Eden)
🔐 Endorfin Escape Games Petrohradská 216/3, Praha 10 – Vršovice ~20 € p.P. / 1h (max. 5 pers/room -> 2 parallel teams)
🏎️ KartPlanet Praha Mezitraťová, Praha 9 – Hrdlořezy ~15 € p.P. / 10 min (indoor go-kart)
⛳ Level Prague Minigolf Národní 63/26, Praha 1 – Nové Město ~25 € p.P. / 1h (indoor neon minigolf inside Máj – House of Fun)
🎳 Bowling Ovčín Záběhlická 82/3, Praha 10 – Záběhlice ~6 € p.P. / 2h (12 lanes, billiards & restaurant)
👻 Mysterium Geister-Tour Cartier, Pařížská 6 / Old Town Square, Praha 1 ~20 € p.P. / 2h (evening ghost tour)
🎯 Prague Ranger (Shooting Range) Shuttle pickup: Lublaňská 1729/23, Praha 2 – Vyšehrad ~100–200 € p.P. / 3–4h (exact GPS sent after booking; pickup point marked)
⛵ Beer Boat Prague Štefánikův most (Dvořákovo nábřeží), Praha 1 ~45 € p.P. / 1h (pedal boat beer tour on the Vltava)
🎨 Paintball Game Praha Pod Císařkou, Praha 5 – Buďánka ~24 € p.P. / 1h (Reball indoor + outdoor)
🪓 FunArena Axtwerfen Bělehradská, Praha 4 – Nusle ~16 € p.P. / 1h (indoor axe throwing, 10 min walk from Metro C)
🔫 Mercuria Laser Game Pankrác Budějovická 409/1a, Praha 4 – Pankrác ~7 € p.P. / 20 min (multi-level laser tag near Metro C)
🔍 Enigma Outdoor Adventure Citywide (symbolic start: Old Town Square) ~5 € p.P. / 1–2h (GPS mobile app mystery game)

Important Field Notes

  • Prague Ranger: The outdoor range location is kept confidential by the operator—the official shuttle pickup at Lublaňská 1729/23 is marked on the map; request exact GPS coordinates after booking.
  • Enigma: Citywide app-based mystery without a fixed starting point—the Old Town Square (Staroměstské náměstí) is used as a symbolic marker.
  • Level Minigolf: Located indoors inside the Máj – House of Fun complex, not outdoors.

Project Structure

JGA-2026/
├── assets/
│   └── logo.png                  # Project logo
├── countdown.html                # Live countdown & preparation tracker
├── index.html                    # Main landing hub & quick-access overview
├── manifest.json                 # PWA Web App Manifest
├── memory.html                   # Shared JGA memory book
├── packliste.html                # Interactive packing checklist (localStorage)
├── README.md                     # English documentation
├── LIESMICH.md                   # German documentation
├── strafen.html                  # Random penalty generator
├── sw.js                         # Service Worker (offline pages & map tiles)
├── tourenplan.html               # Interactive Leaflet map of all venues
├── tourenplan-mit-tram.html      # Extended map with Metro, Tram lines & stops
├── trinkspiel.html               # Card-free drinking games guide
├── tschechisch.html              # 24-phrase Czech cheat sheet
└── wetter.html                   # July weather outlook & live links

License

This project's own code and configuration are dedicated to the public domain under CC0 1.0 Universal — see LICENSE.

External dependencies installed via package managers or Docker images retain their respective open-source licenses.

S
Description
Interaktive PWA für den Junggesellenabschied in Prag 2026 mit Tourenplan, Tram-Karte, Wetter, Packliste und Spielen.
Readme CC0-1.0
2.4 MiB
0 Stars 1 Watchers 0 Forks
Languages
HTML 99.2%
JavaScript 0.8%